1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-19 02:17:27 +08:00

Mark CustomCommand test perconfig.out as SYMBOLIC

The custom command with this output does not actually create the file,
so mark it as SYMBOLIC.
This commit is contained in:
Brad King
2010-12-20 12:09:23 -05:00
parent f0cdb6001b
commit 4499d50ad2

View File

@@ -432,6 +432,7 @@ ADD_CUSTOM_COMMAND(
DEPENDS ${PerConfig_DEPENDS}
VERBATIM
)
SET_PROPERTY(SOURCE perconfig.out PROPERTY SYMBOLIC 1)
ADD_CUSTOM_TARGET(perconfig_target ALL
COMMAND ${CMAKE_COMMAND} -E echo "perconfig=$<TARGET_FILE:perconfig>" "config=$<CONFIGURATION>"
DEPENDS perconfig.out)