mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
10 lines
246 B
CMake
10 lines
246 B
CMake
|
|
enable_language(C)
|
|
|
|
add_custom_rule(simple OUTPUT <CURRENT_BINARY_DIR>/<FILE_NAME>
|
|
COMMAND "${CMAKE_COMMAND}" -E copy <SOURCE> <CURRENT_BINARY_DIR>)
|
|
|
|
add_custom_target(foo ALL)
|
|
|
|
target_sources(foo PRIVATE FILE_SET fs TYPE simple FILES file.i)
|