mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
add version resources to executables
This commit is contained in:
parent
7d6406091c
commit
51adf4c986
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user