mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
Before this, it was not possible to see what the source or build directories were set to on the command line. Fixes: #19619
7 lines
401 B
Plaintext
7 lines
401 B
Plaintext
# Used to verify that the values match what is passed via -S and -B, and are retained in cache.
|
|
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}")
|