mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
Tests: Add RunCMake.try_compile case covering list arguments with no values
This commit is contained in:
8
Tests/RunCMake/try_compile/EmptyListArgs.cmake
Normal file
8
Tests/RunCMake/try_compile/EmptyListArgs.cmake
Normal file
@@ -0,0 +1,8 @@
|
||||
enable_language(C)
|
||||
|
||||
try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
|
||||
CMAKE_FLAGS # no values
|
||||
COMPILE_DEFINITIONS # no values
|
||||
LINK_LIBRARIES # no values
|
||||
LINK_OPTIONS # no values
|
||||
)
|
||||
@@ -17,6 +17,7 @@ run_cmake(NonSourceCopyFile)
|
||||
run_cmake(NonSourceCompileDefinitions)
|
||||
run_cmake(BinDirEmpty)
|
||||
run_cmake(BinDirRelative)
|
||||
run_cmake(EmptyListArgs)
|
||||
|
||||
run_cmake(EnvConfig)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user