File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.16)
22project (cppcon2025)
33
4- add_compile_options (-freflection -fexpansion-statements
5- $<$<COMPILE_LANGUAGE:CXX>:-stdlib=libc++>
6- $<$<COMPILE_LANGUAGE:CXX>:-std=c++26>)
7- add_definitions (-DSIMDJSON_STATIC_REFLECTION=1)
8-
94add_executable (player_demo main.cpp)
105
116
@@ -21,7 +16,7 @@ CPMAddPackage(
2116 NAME simdjson
2217 GITHUB_REPOSITORY simdjson/simdjson
2318 GIT_TAG 015daad6a95a4f67c08ed5980d24b57be221c38f
24- OPTIONS "SIMDJSON_STATIC_REFLECTION= ON"
19+ OPTIONS "SIMDJSON_STATIC_REFLECTION ON"
2520)
2621
2722CPMAddPackage(
@@ -50,4 +45,7 @@ add_executable(webservice webservice.cpp)
5045target_link_libraries (webservice PRIVATE libcurl)
5146target_link_libraries (webservice PRIVATE fmt::fmt)
5247target_link_libraries (webservice PRIVATE simdjson::simdjson)
53- #target_compile_definitions(webservice PRIVATE SIMDJSON_STATIC_REFLECTION=1)
48+
49+
50+ get_target_property (all_properties simdjson::simdjson PROPERTIES)
51+ message ("Propriétés définies pour simdjson::simdjson : ${all_properties} " )
You can’t perform that action at this time.
0 commit comments