mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
20 lines
473 B
CMake
20 lines
473 B
CMake
cmake_minimum_required(VERSION 3.0.0)
|
|
|
|
project(cocos-headers CXX)
|
|
|
|
add_library(cocos2d INTERFACE)
|
|
|
|
target_include_directories(cocos2d INTERFACE
|
|
cocos2dx
|
|
cocos2dx/include
|
|
cocos2dx/kazmath/include
|
|
cocos2dx/platform/win32
|
|
cocos2dx/platform/third_party/win32
|
|
cocos2dx/platform/third_party/win32/OGLES
|
|
extensions
|
|
)
|
|
|
|
target_link_libraries(cocos2d INTERFACE
|
|
${GEODE_LOADER_PATH}/include/link/libcocos2d.lib
|
|
${GEODE_LOADER_PATH}/include/link/libExtensions.lib
|
|
)
|