| 1 |
# test the different options to change the namespace |
| 2 |
|
| 3 |
# test default namespace |
| 4 |
add_executable(abi_config_default default.cpp) |
| 5 |
target_link_libraries(abi_config_default PRIVATE abi_compat_main) |
| 6 |
add_test( |
| 7 |
NAME test-abi_config_default |
| 8 |
COMMAND abi_config_default ${DOCTEST_TEST_FILTER}) |
| 9 |
|
| 10 |
# test no version namespace |
| 11 |
add_executable(abi_config_noversion noversion.cpp) |
| 12 |
target_link_libraries(abi_config_noversion PRIVATE abi_compat_main) |
| 13 |
add_test( |
| 14 |
NAME test-abi_config_noversion |
| 15 |
COMMAND abi_config_noversion ${DOCTEST_TEST_FILTER}) |
| 16 |
|
| 17 |
# test custom namespace |
| 18 |
add_executable(abi_config_custom custom.cpp) |
| 19 |
target_link_libraries(abi_config_custom PRIVATE abi_compat_main) |
| 20 |
add_test( |
| 21 |
NAME test-abi_config_custom |
| 22 |
COMMAND abi_config_custom ${DOCTEST_TEST_FILTER}) |