geode/loader/include/Geode/cocos/CMakeLists.txt
2022-07-30 19:24:03 +03:00

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
)