mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
d8dcfa7776
Add three tests in Tests/RunCMake/PrintHelpers, meant to verify basic functionality of the module. Tests are: * Variables: Test the results of a cmake_print_variables() call on two variables set within the test script. * Properties: Test cmake_print_properties() calls on a pair of SOURCES and a pair of TARGETS, printing some basic properties. * PropertiesSources: Specifically verify the results of a cmake_print_properties() call for the SOURCES property of a TARGET. Prior to the fix introduced alongside these tests, it was a known bug that such a request caused a FATAL_ERROR.
15 lines
476 B
Plaintext
15 lines
476 B
Plaintext
.*Properties for TARGET nothing:.*
|
|
.*nothing.LINKER_LANGUAGE = <NOTFOUND>.*
|
|
.*nothing.TYPE = \"STATIC_LIBRARY\".*
|
|
.*Properties for TARGET something:.*
|
|
.*something.LINKER_LANGUAGE = <NOTFOUND>.*
|
|
.*something.TYPE = \"EXECUTABLE\".*
|
|
+
|
|
.*
|
|
.*Properties for SOURCE nothing.c:.*
|
|
.*nothing.c.COMPILE_DEFINITIONS = <NOTFOUND>.*
|
|
.*nothing.c.LANGUAGE = \"C\".*
|
|
.*Properties for SOURCE something.c:.*
|
|
.*something.c.COMPILE_DEFINITIONS = \"SOMETHING=1\".*
|
|
.*something.c.LANGUAGE = \"C\".*
|