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 )