flightgear/CMakeModules/GenerateBuildInfo.cmake
2022-10-20 20:29:11 +08:00

9 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
)