File tree 2 files changed +4
-13
lines changed
2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## New Features
4
4
5
+ - Update ` CMakeLists.txt ` to require setup of SDK in a super-project
5
6
- Add an iterator for ` JsonArray ` to support range-for loops
6
7
- Add an iterator for ` JsonObject ` to support range-for loops
7
8
- Add ` find() ` to ` JsonValue ` to find a sub-value based on a path e.g "top/[ 4] /next"
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.12)
2
2
3
- if (NOT SOS_SDK_PATH)
4
- set (SOS_SDK_PATH $ENV{SOS_SDK_PATH} )
5
- endif ()
6
-
7
- set (CMAKE_MODULE_PATH ${SOS_SDK_PATH} /cmake)
8
- set (CMAKE_TOOLCHAIN_FILE ${CMAKE_MODULE_PATH} /sos-toolchain.cmake)
9
- include (sos-sdk)
10
-
11
- if (NOT DEFINED API_IS_SDK)
12
- include (API)
13
- endif ()
14
-
15
3
project (JsonAPI CXX)
16
4
include (CTest)
17
5
18
6
add_subdirectory (jansson jansson)
19
7
add_subdirectory (library library)
20
- if (SOS_IS_TEST)
8
+
9
+ option (JSON_API_IS_TEST "Enable test builds for JsonAPI" OFF )
10
+ if (JSON_API_IS_TEST)
21
11
add_subdirectory (tests tests)
22
12
endif ()
23
13
You can’t perform that action at this time.
0 commit comments