Upload daily build packages 4.
This commit is contained in:
parent
b0a4622df5
commit
8e840eb20d
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,7 @@ set(VER_MAJ 9)
|
||||||
set(VER_MIN 0)
|
set(VER_MIN 0)
|
||||||
set(VER_PAT 0)
|
set(VER_PAT 0)
|
||||||
set(VERSION ${VER_MAJ}.${VER_MIN}.${VER_PAT})
|
set(VERSION ${VER_MAJ}.${VER_MIN}.${VER_PAT})
|
||||||
|
set(DAILY_BUILD OFF CACHE BOOL "Mark this as a daily build")
|
||||||
|
|
||||||
add_definitions(-DCOMMONS_APPNAME="${COMMONS_APPNAME}"
|
add_definitions(-DCOMMONS_APPNAME="${COMMONS_APPNAME}"
|
||||||
-DCOMMONS_TARGET="${COMMONS_TARGET}"
|
-DCOMMONS_TARGET="${COMMONS_TARGET}"
|
||||||
|
@ -71,3 +72,7 @@ endif()
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (DAILY_BUILD)
|
||||||
|
add_definitions(-DDAILY_BUILD)
|
||||||
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue