diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-20 16:09:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-21 08:05:03 (GMT) |
commit | 830246e841d24cc9513c857859a4327ffb1d3da5 (patch) | |
tree | 7af58ecf6a34cc50036af30669cb7207c04a9760 /Tests/ExportImport/Import | |
parent | bd82bb4787410a0bdd6120b8c449f5d31ecc4c28 (diff) | |
download | CMake-830246e841d24cc9513c857859a4327ffb1d3da5.zip CMake-830246e841d24cc9513c857859a4327ffb1d3da5.tar.gz CMake-830246e841d24cc9513c857859a4327ffb1d3da5.tar.bz2 |
Export the COMPATIBLE_INTERFACE_BOOL content properties
Diffstat (limited to 'Tests/ExportImport/Import')
-rw-r--r-- | Tests/ExportImport/Import/A/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/ExportImport/Import/A/deps_shared_iface.cpp | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/ExportImport/Import/A/CMakeLists.txt b/Tests/ExportImport/Import/A/CMakeLists.txt index 83331cf..4df5771 100644 --- a/Tests/ExportImport/Import/A/CMakeLists.txt +++ b/Tests/ExportImport/Import/A/CMakeLists.txt @@ -169,6 +169,7 @@ target_compile_definitions(deps_shared_iface PRIVATE testSharedLibDepends $<$<BOOL:$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>>:PIC_PROPERTY_IS_ON> + $<$<BOOL:$<TARGET_PROPERTY:CUSTOM_PROP>>:CUSTOM_PROPERTY_IS_ON> ) if (APPLE OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") @@ -199,4 +200,5 @@ target_include_directories(deps_shared_iface2 PRIVATE bld_testSharedLibDepends b target_compile_definitions(deps_shared_iface2 PRIVATE bld_testSharedLibDepends TEST_SUBDIR_LIB $<$<BOOL:$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>>:PIC_PROPERTY_IS_ON> + $<$<BOOL:$<TARGET_PROPERTY:CUSTOM_PROP>>:CUSTOM_PROPERTY_IS_ON> ) diff --git a/Tests/ExportImport/Import/A/deps_shared_iface.cpp b/Tests/ExportImport/Import/A/deps_shared_iface.cpp index 8ed032e..a33f200 100644 --- a/Tests/ExportImport/Import/A/deps_shared_iface.cpp +++ b/Tests/ExportImport/Import/A/deps_shared_iface.cpp @@ -12,6 +12,10 @@ #error Expected PIC_PROPERTY_IS_ON #endif +#ifndef CUSTOM_PROPERTY_IS_ON +#error Expected CUSTOM_PROPERTY_IS_ON +#endif + #ifdef TEST_SUBDIR_LIB #include "subdir.h" #endif |