mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-04 13:11:09 -05:00
21 lines
473 B
Text
21 lines
473 B
Text
|
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
|
||
|
)
|