From 7addd2ab434d85b00b5f557e97e11b305ba1f68f Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Mon, 9 Aug 2021 22:28:26 +0200 Subject: [PATCH] configure the build files --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a38f57b..8aeb183 100644 --- a/CMakeLists.txt +++ b/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