Skip to content

Commit 9716b8d

Browse files
[SDK 885] C++ targer vesion in creased to 14 (#75)
* change log added c++ target version updated to 14 * readme.md updated Co-authored-by: ArtursKadikis <[email protected]>
1 parent f296459 commit 9716b8d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
22.06.0
22
* !! Major breaking change !! We are adding the 'cly' namespace on 'Countly' class which will change how that class can be referenced. 'Countly::' will not work, you will have to use 'cly::Countly::' instead.
33
* !! Major breaking change !! We are extracting the 'Event' class out of the 'Countly' class which will change how that class can be referenced. 'Countly::Event' will not work, you will have to use 'cly::Event' instead.
4+
* !! Major breaking change !! Increased the compiler version required to compile the SDK. It's increased from version C++11 to C++14.
45

56
22.02.0
67
* Added 10-second time-outs for all windows HTTP transactions.

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ target_include_directories(countly
2929
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
3030

3131
set_target_properties(countly PROPERTIES
32-
CXX_STANDARD 11
32+
CXX_STANDARD 14
3333
CXX_STANDARD_REQUIRED YES
3434
CXX_EXTENSIONS NO)
3535

@@ -81,7 +81,7 @@ if(COUNTLY_BUILD_TESTS)
8181
target_include_directories(countly-tests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/vendor/json/include)
8282
target_link_libraries(countly-tests countly)
8383
set_target_properties(countly-tests PROPERTIES
84-
CXX_STANDARD 11
84+
CXX_STANDARD 14
8585
CXX_STANDARD_REQUIRED YES
8686
CXX_EXTENSIONS NO)
8787
endif()
@@ -97,7 +97,7 @@ if(COUNTLY_BUILD_SAMPLE)
9797
target_include_directories(countly-sample PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/vendor/json/include)
9898
target_link_libraries(countly-sample countly)
9999
set_target_properties(countly-sample PROPERTIES
100-
CXX_STANDARD 11
100+
CXX_STANDARD 14
101101
CXX_STANDARD_REQUIRED YES
102102
CXX_EXTENSIONS NO)
103103
endif()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Security is very important to us. If you discover any issue regarding security,
2626
Countly C++ SDK has been designed to work with very few dependencies in order to be available on most platforms.
2727
In order to build this SDK, you need:
2828

29-
- a C++ compiler with C++11 support
29+
- a C++ compiler with C++14 support
3030
- libcurl (with openssl) and its headers if you are on *nix
3131
- cmake >= 3.13
3232

0 commit comments

Comments
 (0)