Refactoring more.
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user