Ver Fonte

configure the build files

Sven Czarnian há 2 anos atrás
pai
commit
7addd2ab43
1 ficheiros alterados com 9 adições e 0 exclusões
  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