Added support for VS versioning of OpenThreads

This commit is contained in:
Robert Osfield
2009-02-06 08:46:02 +00:00
parent 3fdc0b4cfd
commit 75f0e64cc7
5 changed files with 132 additions and 3 deletions

View File

@@ -27,6 +27,17 @@ SET(OPENTHREADS_CONFIG_HEADER "${PROJECT_BINARY_DIR}/include/OpenThreads/Config"
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/common/Config.in"
"${OPENTHREADS_CONFIG_HEADER}")
################################################################################
# Set Version Info resource file
IF(MSVC)
SET(OPENTHREADS_VERSIONINFO_RC "${PROJECT_BINARY_DIR}/PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc")
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in"
"${OPENTHREADS_VERSIONINFO_RC}")
ENDIF(MSVC)
# INSTALL_FILES(/include/OpenThreads/ FILES "${OPENTHREADS_CONFIG_HEADER}")
################################################################################

View File

@@ -21,6 +21,7 @@ ADD_LIBRARY(${LIB_NAME}
Win32ThreadPrivateData.h
../common/Version.cpp
../common/Atomic.cpp
${OPENTHREADS_VERSIONINFO_RC}
)