Skip to content
use CMake to build external 3rd party modules for cocos2d-x
C C++ HTML Perl Makefile Roff Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add CMakeLists.txt (#41) Nov 26, 2019
tests remove tiff (#39) Aug 21, 2019
tools ndk20 Jun 6, 2019
.appveyor.yml ndk19 (#36) Jan 29, 2019
.travis.yml Fix ci (#43) Nov 26, 2019
CMakeLists.txt Move engine to tests folder (#20) Sep 12, 2018


Travis Appveyor
Build Status Build status


use CMake to build external 3rd party modules

setup CI for all platforms to ensure 3rd party works


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)


You can’t perform that action at this time.