summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0171/CMP0171-NEW.cmake
blob: 547f6c0afa550957a3ba371987d321d677eb4855 (plain)
1
2
3
4
5
6
# codegen is now a reserved name and this will cause an error since the policy is new.
add_custom_target(codegen
  COMMAND ${CMAKE_COMMAND} -E copy
    ${CMAKE_CURRENT_SOURCE_DIR}/generated.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/generated.h
)