setting the exe name and git hash
This commit is contained in:
parent
6df9ca1d0a
commit
f5600cef71
|
@ -195,7 +195,7 @@ SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
|
|||
|
||||
if (WIN32)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static -I./dependencies/include")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++ -static -I../dependencies/include")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++ -static -I./dependencies/include")
|
||||
endif (WIN32)
|
||||
|
||||
|
||||
|
@ -405,5 +405,5 @@ ENDIF( UNIX )
|
|||
SET(CPACK_GENERATOR "ZIP")
|
||||
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
|
||||
SET(CPACK_PACKAGE_VERSION_MINOR "0")
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH "0-SVN")
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH "0-Git:" ${COMMITHASH})
|
||||
INCLUDE(CPack)
|
||||
|
|
|
@ -180,4 +180,4 @@ if(APPLE)
|
|||
SET_SOURCE_FILES_PROPERTIES(${VBAM_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
endif(APPLE)
|
||||
|
||||
SET(WX_EXE_NAME wxvbam${CMAKE_EXECUTABLE_SUFFIX})
|
||||
SET(WX_EXE_NAME visualboyadvance-m${CMAKE_EXECUTABLE_SUFFIX})
|
||||
|
|
Loading…
Reference in New Issue