cmake/Tests/RunCMake/add_library/RunCMakeTest.cmake

27 lines
861 B
CMake
Raw Normal View History

2018-01-26 17:06:56 +01:00
include(RunCMake)
2018-08-09 18:06:22 +02:00
run_cmake(CMP0073)
2018-01-26 17:06:56 +01:00
run_cmake(INTERFACEwithNoSources)
run_cmake(OBJECTwithNoSources)
run_cmake(STATICwithNoSources)
run_cmake(SHAREDwithNoSources)
run_cmake(MODULEwithNoSources)
run_cmake(UNKNOWNwithNoSources)
run_cmake(INTERFACEwithOnlyObjectSources)
run_cmake(OBJECTwithOnlyObjectSources)
run_cmake(STATICwithOnlyObjectSources)
run_cmake(SHAREDwithOnlyObjectSources)
run_cmake(MODULEwithOnlyObjectSources)
run_cmake(UNKNOWNwithOnlyObjectSources)
if(NOT RunCMake_GENERATOR STREQUAL "Xcode" OR NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" MATCHES "[;$]")
run_cmake(INTERFACEwithNoSourcesButLinkObjects)
run_cmake(OBJECTwithNoSourcesButLinkObjects)
run_cmake(STATICwithNoSourcesButLinkObjects)
run_cmake(SHAREDwithNoSourcesButLinkObjects)
run_cmake(MODULEwithNoSourcesButLinkObjects)
run_cmake(UNKNOWNwithNoSourcesButLinkObjects)
endif()