diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-17 23:34:46 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-09-18 18:49:00 (GMT) |
commit | 2514e4265c1914f53f9445f331ddb7183f0d9501 (patch) | |
tree | ed9cad8c9f072e2fa769fed2b89f37fc260bd078 /Tests/RunCMake/CMP0026/clear-cached-information-dir | |
parent | b98f7712eab7fd928e7e332124b2a6fdcdfec7e6 (diff) | |
download | CMake-2514e4265c1914f53f9445f331ddb7183f0d9501.zip CMake-2514e4265c1914f53f9445f331ddb7183f0d9501.tar.gz CMake-2514e4265c1914f53f9445f331ddb7183f0d9501.tar.bz2 |
CMP0026: Use compatibility codepath until configure is finished (#15748)
Use it instead of the similar cmMakefile API. It is necessary to
know that the Configure step is completely done, not just that one
particular cmMakefile is finished configuring.
Prior to commit 611220f7 (cmTarget: Use reliable test for CMP0024 and CMP0026
OLD., 2015-07-25), this was determined by checking whether cmGeneratorTargets
exist yet, which happens after the Configure step.
Diffstat (limited to 'Tests/RunCMake/CMP0026/clear-cached-information-dir')
-rw-r--r-- | Tests/RunCMake/CMP0026/clear-cached-information-dir/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0026/clear-cached-information-dir/CMakeLists.txt b/Tests/RunCMake/CMP0026/clear-cached-information-dir/CMakeLists.txt new file mode 100644 index 0000000..c51e883 --- /dev/null +++ b/Tests/RunCMake/CMP0026/clear-cached-information-dir/CMakeLists.txt @@ -0,0 +1,2 @@ + +add_executable(Hello ${CMAKE_CURRENT_BINARY_DIR}/main.c) |