File tree 4 files changed +24783
-0
lines changed
4 files changed +24783
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set(SOURCES
11
11
)
12
12
13
13
add_subdirectory (${PROJECT_SOURCE_DIR} /modules/minitrace)
14
+ add_subdirectory (${PROJECT_SOURCE_DIR} /modules/nlohmann)
14
15
add_subdirectory (${PROJECT_SOURCE_DIR} /modules/vkmGL)
15
16
16
17
add_executable (${PROJECT_NAME} ${SOURCES} )
@@ -21,6 +22,7 @@ add_subdirectory(${PROJECT_SOURCE_DIR}/src)
21
22
# Link the main target with external libraries
22
23
target_link_libraries (${PROJECT_NAME}
23
24
minitrace
25
+ nlohmannjson
24
26
vkmGL
25
27
glfw
26
28
imgui
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.21.2)
2
+ project (nlohmannjson VERSION 0.1.0 LANGUAGES CXX)
3
+
4
+ # Set the C++ standard to 17
5
+ set (CMAKE_CXX_STANDARD 17)
6
+ set (CMAKE_CXX_STANDARD_REQUIRED ON )
7
+ set (CMAKE_CXX_EXTENSIONS OFF )
8
+
9
+ message ("[BUILDING:NLOHMANN-JSON] Nlohmann-JSON" )
10
+
11
+ add_library (${PROJECT_NAME} STATIC json.cpp)
12
+
13
+ target_include_directories (${PROJECT_NAME} PUBLIC
14
+ ${PROJECT_SOURCE_DIR} /
15
+ )
Original file line number Diff line number Diff line change
1
+ #include " json.hpp"
You can’t perform that action at this time.
0 commit comments