mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 11:40:23 +00:00
f2eee72fac
Add CMP0050 to control this behavior.
14 lines
351 B
CMake
14 lines
351 B
CMake
|
|
cmake_policy(SET CMP0050 NEW)
|
|
|
|
add_library(empty empty.cpp)
|
|
add_custom_command(
|
|
TARGET empty
|
|
SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
|
|
COMMAND ${CMAKE_COMMAND}
|
|
ARGS -E copy ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/input.h
|
|
OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/input.h
|
|
DEPENDS ${CMAKE_COMMAND}
|
|
)
|