Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / try_run / old_and_new_signature_tests.cmake
1 # These tests are performed using both the historic and the newer SOURCES
2 # signatures of try_run. It is critical that they behave the same and produce
3 # comparable output for both signatures. Tests that cannot do this belong in
4 # RunCMakeTests.txt, not here.
5 #
6 # Tests here MUST include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS}) and
7 # use the variables defined therein appropriately. Refer to existing tests for
8 # examples.
9
10 run_cmake(BadLinkLibraries)
11 run_cmake(BinDirEmpty)
12 run_cmake(BinDirRelative)
13
14 run_cmake(WorkingDirArg)
15
16 run_cmake(NoCompileOutputVariable)
17 run_cmake(NoRunOutputVariable)
18 run_cmake(NoRunStdOutVariable)
19 run_cmake(NoRunStdErrVariable)
20 run_cmake(NoWorkingDirectory)