mirror of
https://github.com/reactos/CMake.git
synced 2025-01-19 01:42:18 +00:00
048d1adb4e
Provide a way for custom commands to inform the ninja build tool about their implicit dependencies. For now simply make use of the option an error on other generators. Closes: #15479
6 lines
261 B
CMake
6 lines
261 B
CMake
set(log "${RunCMake_BINARY_DIR}/CustomCommandDepfile-build/build.ninja")
|
|
file(READ "${log}" build_file)
|
|
if(NOT "${build_file}" MATCHES "depfile = test\\.d")
|
|
set(RunCMake_TEST_FAILED "Log file:\n ${log}\ndoes not have expected line: depfile = test.d")
|
|
endif()
|