mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'add-try_compile-test-documentation'
e933fccc7e Tests: document try_{compile,run} old/new signature testing
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7681
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
# These tests are performed using both the historic and the newer SOURCES
|
||||
# signatures of try_compile. It is critical that they behave the same and
|
||||
# produce comparable output for both signatures. Tests that cannot do this
|
||||
# belong in RunCMakeTests.txt, not here.
|
||||
#
|
||||
# Tests here MUST include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS}) and
|
||||
# use the variables defined therein appropriately. Refer to existing tests for
|
||||
# examples.
|
||||
|
||||
run_cmake(CopyFileErrorNoCopyFile)
|
||||
run_cmake(NoCopyFile)
|
||||
run_cmake(NoCopyFile2)
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
# These tests are performed using both the historic and the newer SOURCES
|
||||
# signatures of try_run. It is critical that they behave the same and produce
|
||||
# comparable output for both signatures. Tests that cannot do this belong in
|
||||
# RunCMakeTests.txt, not here.
|
||||
#
|
||||
# Tests here MUST include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS}) and
|
||||
# use the variables defined therein appropriately. Refer to existing tests for
|
||||
# examples.
|
||||
|
||||
run_cmake(BadLinkLibraries)
|
||||
run_cmake(BinDirEmpty)
|
||||
run_cmake(BinDirRelative)
|
||||
|
||||
Reference in New Issue
Block a user