Skip to content

Commit

Permalink
Changed cmake files for release
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Dec 21, 2017
1 parent af0b425 commit e273315
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SET(CMAKE_WARN_DEPRECATED 1)
PROJECT(Stellarium)
# Use integer versions instead of strings for easier handling if required
SET(STELLARIUM_MAJOR 0)
SET(STELLARIUM_MINOR 90)
SET(STELLARIUM_MINOR 17)
SET(STELLARIUM_PATCH 0)
ADD_DEFINITIONS(
-DSTELLARIUM_MAJOR=${STELLARIUM_MAJOR}
Expand Down Expand Up @@ -51,10 +51,10 @@ MESSAGE(STATUS "Platform: ${CMAKE_SYSTEM}")

########### Main global variables ###########
IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: None Debug GProf Valgrind Release RelWithDebInfo MinSizeRel." FORCE)
SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug GProf Valgrind Release RelWithDebInfo MinSizeRel." FORCE)
ENDIF()

SET(STELLARIUM_RELEASE_BUILD 0 CACHE BOOL "Set 1 to build as an official release (0 for development snapshots).")
SET(STELLARIUM_RELEASE_BUILD 1 CACHE BOOL "Set 1 to build as an official release (0 for development snapshots).")
IF(STELLARIUM_RELEASE_BUILD)
ADD_DEFINITIONS(-DSTELLARIUM_RELEASE_BUILD)
ENDIF()
Expand Down Expand Up @@ -552,7 +552,7 @@ IF(WIN32)
#######################################################

IF(STELLARIUM_RELEASE_BUILD)
SET(PACKAGE_VERSION_RC "${PACKAGE_VERSION},0")
SET(PACKAGE_VERSION_RC "${PACKAGE_VERSION},0")
ELSE()
SET(PACKAGE_VERSION_RC "${PACKAGE_VERSION}")
ENDIF()
Expand Down Expand Up @@ -734,7 +734,7 @@ IF(GENERATE_PACKAGE_TARGET)
SET(CPACK_GENERATOR "TGZ")
SET(CPACK_STRIP_FILES "bin/stellarium")
SET(CPACK_PACKAGE_EXECUTABLES "stellarium" "Stellarium")
SET(CPACK_SOURCE_IGNORE_FILES "/.tx/" "/CVS/" "/.svn/" "/.git/" "/.bzr/" "builds/" "installers/" "util/spout2" "util/DSSToStellarium/toastForShape$" "Stellarium.tag$" "Stellarium.kdevelop.pcs$" "/CMakeLists.txt.user$" "\\\\.bzrignore$" "\\\\.yml$" "~$" "\\\\.swp$" "\\\\.#" "/#")
SET(CPACK_SOURCE_IGNORE_FILES "/.tx/" "/CVS/" "/.svn/" "/.git/" "/.bzr/" "builds/" "installers/" "util/spout2" "util/DSSToStellarium/toastForShape$" "Stellarium.tag$" "Stellarium.kdevelop.pcs$" "/CMakeLists.txt.user$" "\\\\.bzrignore$" "\\\\.gitignore$" "\\\\.clang-format$" "\\\\.yml$" "~$" "\\\\.swp$" "\\\\.#" "/#")
SET(CPACK_RPM_PACKAGE_LICENSE "GPLv2+")
SET(CPACK_RPM_PACKAGE_GROUP "Amusements/Graphics")
SET(CPACK_RPM_PACKAGE_URL "http://stellarium.org/")
Expand Down
2 changes: 1 addition & 1 deletion guide/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ else
ifeq ($(findstring CYGWIN, $(shell uname)),CYGWIN)
@echo INFO: We are on Cygwin, right?
else
@echo I assume $(shell uname) is a valid environment. Please enhance this line.
@echo I assume $(shell uname) is a valid environment. Please enhance this line.
endif
endif
endif
Expand Down
2 changes: 1 addition & 1 deletion guide/version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\StelVersion}{0.90.0}
\newcommand{\StelVersion}{0.17.0}

0 comments on commit e273315

Please sign in to comment.