add version resources to executables

This commit is contained in:
Günter Obiltschnig 2021-06-26 10:12:20 +02:00
parent 7d6406091c
commit 51adf4c986
3 changed files with 18 additions and 0 deletions

View File

@ -2,6 +2,12 @@
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO(SRCS ${SRCS_G})
# Version Resource
if(MSVC)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
add_executable(ActiveRecordCompiler ${SRCS})
set_target_properties(ActiveRecordCompiler
PROPERTIES

View File

@ -4,6 +4,12 @@ set(POCO_EXENAME "PageCompiler")
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO(SRCS ${SRCS_G})
# Version Resource
if(MSVC)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
add_executable(PageCompiler ${SRCS})
set_target_properties(PageCompiler
PROPERTIES

View File

@ -2,6 +2,12 @@
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO(SRCS ${SRCS_G})
# Version Resource
if(MSVC)
source_group("Resources" FILES ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
list(APPEND SRCS ${PROJECT_SOURCE_DIR}/DLLVersion.rc)
endif()
add_executable(File2Page ${SRCS})
set_target_properties(File2Page
PROPERTIES