Skip to content

Commit 094ca84

Browse files
committed
Merge branch 'QPR-9587' into 'master'
QPR-9587 add precompiled headers Closes QPR-9587 See merge request qs/quantlib!62
2 parents cf4d0c8 + 163b9f6 commit 094ca84

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

ql/CMakeLists.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,6 +2357,22 @@ set_target_properties(ql_library PROPERTIES
23572357
VERSION ${QUANTLIB_VERSION}
23582358
SOVERSION ${QUANTLIB_VERSION_MAJOR})
23592359

2360+
target_precompile_headers(ql_library
2361+
PUBLIC
2362+
<ql/any.hpp>
2363+
<ql/errors.hpp>
2364+
<ql/index.hpp>
2365+
<ql/indexes/indexmanager.hpp>
2366+
<ql/instrument.hpp>
2367+
<ql/indexes/interestrateindex.hpp>
2368+
<ql/math/array.hpp>
2369+
<ql/math/interpolations/cubicinterpolation.hpp>
2370+
<ql/math/matrix.hpp>
2371+
<ql/methods/finitedifferences/operators/fdmlinearop.hpp>
2372+
<ql/patterns/observable.hpp>
2373+
<ql/qldefines.hpp>
2374+
<ql/termstructure.hpp>)
2375+
23602376
target_compile_definitions(ql_library PRIVATE
23612377
QL_COMPILATION)
23622378

0 commit comments

Comments
 (0)