added win32 or win64 to package name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6307 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: ad480d1a0721016dede2a267deece42ddcbff6b0 Former-commit-id: a14bdaaf7effcf66d36617202ccedf14e644648e
This commit is contained in:
parent
81070f6d72
commit
06774fd743
1 changed files with 10 additions and 1 deletions
|
@ -419,7 +419,16 @@ install(FILES ${DOCSOURCES} DESTINATION 3rdParty)
|
|||
|
||||
|
||||
# ========== Packaging =============
|
||||
set(SD_PACKAGE_FILE_NAME ${CMAKE_PROJECT_NAME}-${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}-${CMAKE_BUILD_TYPE})
|
||||
if(MSVC)
|
||||
if(CMAKE_CL_64)
|
||||
set(SD_PACKAGE_FILE_NAME ${CMAKE_PROJECT_NAME}-win64-${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}-${CMAKE_BUILD_TYPE})
|
||||
else(CMAKE_CL_64)
|
||||
set(SD_PACKAGE_FILE_NAME ${CMAKE_PROJECT_NAME}-win32-${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}-${CMAKE_BUILD_TYPE})
|
||||
endif(CMAKE_CL_64)
|
||||
else(MSVC)
|
||||
set(SD_PACKAGE_FILE_NAME ${CMAKE_PROJECT_NAME}-${CMAKE_C_COMPILER_ID}-${CMAKE_C_COMPILER_VERSION}-${CMAKE_BUILD_TYPE})
|
||||
endif(MSVC)
|
||||
|
||||
set(CPACK_PACKAGE_FILE_NAME ${SD_PACKAGE_FILE_NAME} CACHE STRING "")
|
||||
|
||||
set(CPACK_GENERATOR "ZIP")
|
||||
|
|
Loading…
Reference in a new issue