tests/abi/inline_ns/CMakeLists.txt
raw| 1 | # test linking an old library version without an inline namespace |
| 2 | # with the current library using an inline namespace into the same executable |
| 3 | |
| 4 | # build test executable and add test |
| 5 | add_executable(abi_compat_inline_ns |
| 6 | use_v3_10_5.cpp |
| 7 | use_current.cpp) |
| 8 | target_link_libraries(abi_compat_inline_ns PRIVATE abi_compat_main) |
| 9 | |
| 10 | add_test( |
| 11 | NAME test-abi_compat_inline_ns |
| 12 | COMMAND abi_compat_inline_ns ${DOCTEST_TEST_FILTER}) |