Refactoring more.

This commit is contained in:
2025-05-31 01:35:33 -05:00
parent 933d988cf6
commit fdda938352
9 changed files with 205 additions and 145 deletions

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.18...3.28)
project(jjx
project(json
VERSION 1.0
LANGUAGES CXX)
@@ -21,13 +21,13 @@ include_directories("include")
if (UNIX)
add_library(jjx SHARED ${SOURCES})
add_library(json SHARED ${SOURCES})
endif()
if (WIN32)
add_library(jjx STATIC ${SOURCES})
add_library(json STATIC ${SOURCES})
endif()
add_executable(jjx_demo main.cpp)
add_executable(json_demo main.cpp)
target_link_libraries(jjx_demo PUBLIC jjx)
target_link_libraries(json_demo PUBLIC json)