axmol/extensions/cocostudio/CMakeLists.txt

14 lines
356 B
CMake
Raw Normal View History

set(target_name cocostudio)
2020-10-17 16:32:16 +08:00
FILE(GLOB_RECURSE CCS_SOURCES *.h;*.cpp;./**/*.h;./**/*.cpp)
2020-10-17 16:32:16 +08:00
add_library(${target_name} ${CCS_SOURCES})
2020-10-17 16:32:16 +08:00
if(BUILD_SHARED_LIBS)
target_compile_definitions(${target_name} PRIVATE CCS_DLLEXPORT INTERFACE CCS_DLLIMPORT)
2020-10-17 16:32:16 +08:00
endif()
target_include_directories(${target_name} PUBLIC src)
2022-08-11 15:41:10 +08:00
setup_ax_extension_config(${target_name})