mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
8 lines
336 B
CMake
8 lines
336 B
CMake
include_directories(include)
|
|
file(GLOB INCLUDES "spine-cpp/include/**/*.h")
|
|
file(GLOB SOURCES "spine-cpp/src/**/*.cpp")
|
|
|
|
add_library(spine-cpp STATIC ${SOURCES} ${INCLUDES})
|
|
target_include_directories(spine-cpp PUBLIC spine-cpp/include)
|
|
install(TARGETS spine-cpp DESTINATION dist/lib)
|
|
install(FILES ${INCLUDES} DESTINATION dist/include) |