Skip to content

Commit

Permalink
Update version to 2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
csete committed Jan 21, 2018
1 parent 7246556 commit 84a663f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ cmake_minimum_required(VERSION 2.8.0)
# Project name
project(gqrx)
set(${PROJECT_NAME}_MAJOR "2")
set(${PROJECT_NAME}_MINOR "9")
set(${PROJECT_NAME}_MINOR "10")
set(${PROJECT_NAME}_PATCH "0")
##set(VERSION "${${PROJECT_NAME}_MAJOR}.${${PROJECT_NAME}_MINOR}.${${PROJECT_NAME}_PATCH}")
##set(VERSION "${${PROJECT_NAME}_MAJOR}.${${PROJECT_NAME}_MINOR}")
##add_definitions(-DVERSION="${VERSION}")
set(VERSION "${${PROJECT_NAME}_MAJOR}.${${PROJECT_NAME}_MINOR}")
add_definitions(-DVERSION="${VERSION}")

# development version
execute_process(
COMMAND git describe --long --dirty
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GITVERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
add_definitions(-DVERSION="${GITVERSION}")
#execute_process(
# COMMAND git describe --long --dirty
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
# OUTPUT_VARIABLE GITVERSION
# OUTPUT_STRIP_TRAILING_WHITESPACE
#)
#add_definitions(-DVERSION="${GITVERSION}")

set(PACKAGE ${PROJECT_NAME})

Expand Down
8 changes: 4 additions & 4 deletions gqrx.pro
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ CONFIG(debug, debug|release) {
#QMAKE_CFLAGS_DEBUG += '-g -O0'

# Define version string (see below for releases)
VER = $$system(git describe --abbrev=8)
##VER = 2.9
##VER = $$system(git describe --abbrev=8)
VER = 2.10

} else {
DEFINES += QT_NO_DEBUG
DEFINES += QT_NO_DEBUG_OUTPUT
VER = $$system(git describe --abbrev=1)
##VER = 2.9
##VER = $$system(git describe --abbrev=1)
VER = 2.10

# Release binaries with gr bundled
# QMAKE_RPATH & co won't work with origin
Expand Down

0 comments on commit 84a663f

Please sign in to comment.