cf424e4344
Avoid the very common name ‘build.h’ in favour of something clearer and FlightGear specific.
8 lines
226 B
CMake
8 lines
226 B
CMake
|
|
add_custom_target(
|
|
buildId
|
|
${CMAKE_COMMAND} -D SRC=${CMAKE_SOURCE_DIR}
|
|
-D DST=${CMAKE_BINARY_DIR}/src/Include/flightgearBuildId.h
|
|
-P ${CMAKE_SOURCE_DIR}/CMakeModules/buildId.cmake
|
|
)
|
|
|