mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-06 15:19:56 -06:00
Run each case as a `cmake -P` script instead of a full project. The caller handles build directory removal and creation.
4 lines
167 B
CMake
4 lines
167 B
CMake
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/a "CONTENT")
|
|
file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/a PERMISSIONS OWNER_WRITE)
|
|
file(READ ${CMAKE_CURRENT_BINARY_DIR}/a content)
|