Sven Czarnian 3 лет назад
Родитель
Сommit
7addd2ab43
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      CMakeLists.txt

+ 9 - 0
CMakeLists.txt

@@ -35,6 +35,15 @@ IF (MSVC)
     ADD_DEFINITIONS(/D_USRDLL /D_CRT_SECURE_NO_WARNINGS)
 ENDIF ()
 
+CONFIGURE_FILE(
+    ${CMAKE_SOURCE_DIR}/version.h.in
+    ${CMAKE_BINARY_DIR}/include/version.h
+)
+CONFIGURE_FILE(
+    ${CMAKE_SOURCE_DIR}/res/ArrivalMANager.rc.in
+    ${CMAKE_BINARY_DIR}/ArrivalMANager.rc
+)
+
 # define include directories
 INCLUDE_DIRECTORIES(
     ${CMAKE_SOURCE_DIR}/include