File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ all: build test-amalgamate
2
2
3
3
build :
4
4
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" ../..
6
6
make -C build/debug
7
7
8
8
# Currently, this depends on include/json/version.h generated
Original file line number Diff line number Diff line change 2
2
// and "version.h.in" files.
3
3
// Run CMake configure step to update it.
4
4
#ifndef JSON_VERSION_H_INCLUDED
5
- #define JSON_VERSION_H_INCLUDED
5
+ # define JSON_VERSION_H_INCLUDED
6
6
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))
15
13
16
14
#endif // JSON_VERSION_H_INCLUDED
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ADD_LIBRARY( jsoncpp_lib ${JSONCPP_LIB_TYPE}
37
37
version .h.in
38
38
)
39
39
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 } )
41
41
42
42
# Install instructions for this target
43
43
INSTALL ( TARGETS jsoncpp_lib
Original file line number Diff line number Diff line change 1
- 0.6.0-dev
1
+ 0.7.0
You can’t perform that action at this time.
0 commit comments