/cocos2d-x-external

use CMake to build external 3rd party modules for cocos2d-x

Primary LanguageC

cocos2d-x-external

Travis Appveyor
Build Status Build status

Plan

use CMake to build external 3rd party modules

setup CI for all platforms to ensure 3rd party works

Advice

use modern cmake (target_*), for example:

# create library
add_library(Box2D file.cpp)
target_compile_features(Box2D PUBLIC cxx_std_11)
target_include_directories(Box2D PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

# use library
target_link_libraries(game2 Box2D)

Links