summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/C_basic_initial-cache.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CommandLine/C_basic_initial-cache.txt')
-rw-r--r--Tests/RunCMake/CommandLine/C_basic_initial-cache.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/C_basic_initial-cache.txt b/Tests/RunCMake/CommandLine/C_basic_initial-cache.txt
new file mode 100644
index 0000000..e7a8ac9
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/C_basic_initial-cache.txt
@@ -0,0 +1,5 @@
+set(INITIAL_SOURCE_DIR "${CMAKE_SOURCE_DIR}" CACHE PATH "defined in initial.cmake")
+set(INITIAL_BINARY_DIR "${CMAKE_BINARY_DIR}" CACHE PATH "defined in initial.cmake")
+
+message("initial-cache.txt: CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")
+message("initial-cache.txt: CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}")