Bläddra i källkod

configure the build files

Sven Czarnian 3 år sedan
förälder
incheckning
7addd2ab43
1 ändrade filer med 9 tillägg och 0 borttagningar
  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