axmol/extensions/JSONDefault/CMakeLists.txt

13 lines
331 B
CMake
Raw Normal View History

2023-10-19 15:30:39 +08:00
set(target_name JSONDefault)
FILE(GLOB JSON_DEFAULT_HEADER src/JSONDefault/*.h)
FILE(GLOB JSON_DEFAULT_SOURCE src/JSONDefault/*.cpp)
2023-10-19 15:30:39 +08:00
add_library(${target_name} STATIC
2023-10-19 15:30:39 +08:00
${JSON_DEFAULT_HEADER}
${JSON_DEFAULT_SOURCE})
target_include_directories(${target_name} PUBLIC src)
setup_ax_extension_config(${target_name})