Skip to content

Commit f0d3312

Browse files
committed
QPR-9587 add precompiled headers
1 parent 1d4bec4 commit f0d3312

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

ql/CMakeLists.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,6 +2357,24 @@ 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+
<boost/test/unit_test.hpp>
2376+
)
2377+
23602378
target_compile_definitions(ql_library PRIVATE
23612379
QL_COMPILATION)
23622380

0 commit comments

Comments
 (0)