flightgear/CMakeModules/GenerateBuildInfo.cmake

9 lines
226 B
CMake
Raw Normal View History

2022-10-20 20:29:11 +08:00
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
)