Skip to content

Commit 263a470

Browse files
committed
Merge pull request #44 from cdunn2001/version
0.7.0
2 parents 9aa4681 + 4bceabf commit 263a470

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

dev.makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ all: build test-amalgamate
22

33
build:
44
mkdir -p build/debug
5-
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles" ../..
5+
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G "Unix Makefiles" ../..
66
make -C build/debug
77

88
# Currently, this depends on include/json/version.h generated

include/json/version.h

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
// and "version.h.in" files.
33
// Run CMake configure step to update it.
44
#ifndef JSON_VERSION_H_INCLUDED
5-
#define JSON_VERSION_H_INCLUDED
5+
# define JSON_VERSION_H_INCLUDED
66

7-
#define JSONCPP_VERSION_STRING "0.6.0-dev"
8-
#define JSONCPP_VERSION_MAJOR 0
9-
#define JSONCPP_VERSION_MINOR 6
10-
#define JSONCPP_VERSION_PATCH 0
11-
#define JSONCPP_VERSION_QUALIFIER -dev
12-
#define JSONCPP_VERSION_HEXA \
13-
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
14-
(JSONCPP_VERSION_PATCH << 8))
7+
# define JSONCPP_VERSION_STRING "0.7.0"
8+
# define JSONCPP_VERSION_MAJOR 0
9+
# define JSONCPP_VERSION_MINOR 7
10+
# define JSONCPP_VERSION_PATCH 0
11+
# define JSONCPP_VERSION_QUALIFIER
12+
# define JSONCPP_VERSION_HEXA ((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | (JSONCPP_VERSION_PATCH << 8))
1513

1614
#endif // JSON_VERSION_H_INCLUDED

src/lib_json/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ADD_LIBRARY( jsoncpp_lib ${JSONCPP_LIB_TYPE}
3737
version.h.in
3838
)
3939
SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES OUTPUT_NAME jsoncpp )
40-
SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES VERSION ${JSON_CPP_VERSION} SOVERSION ${JSON_CPP_VERSION} )
40+
SET_TARGET_PROPERTIES( jsoncpp_lib PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_VERSION_MAJOR} )
4141

4242
# Install instructions for this target
4343
INSTALL( TARGETS jsoncpp_lib

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.0-dev
1+
0.7.0

0 commit comments

Comments
 (0)