23 lines
582 B
CMake
23 lines
582 B
CMake
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Test.cmake.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/Test.cmake @ONLY)
|
|
|
|
macro(add_CMakeOnly_test test)
|
|
add_test(CMakeOnly.${test} ${CMAKE_CMAKE_COMMAND}
|
|
-DTEST=${test}
|
|
-P ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake
|
|
)
|
|
endmacro()
|
|
|
|
add_CMakeOnly_test(LinkInterfaceLoop)
|
|
set_property(TEST CMakeOnly.LinkInterfaceLoop PROPERTY TIMEOUT 90)
|
|
|
|
add_CMakeOnly_test(CheckSymbolExists)
|
|
|
|
add_CMakeOnly_test(CheckCXXSymbolExists)
|
|
|
|
add_CMakeOnly_test(CheckCXXCompilerFlag)
|
|
|
|
add_CMakeOnly_test(AllFindModules)
|
|
|
|
add_CMakeOnly_test(TargetScope)
|