- (root) Current game project
- (src/generic) Common modules for all games
- (cocos2d) Modified core *see .patch file 'docs/cocos2d-x v4 features.patch'
- (lib/imgui) ImGui for cocos2d v4
- Install cocos2d v4
- Clone repo with all submodules
git clone --recurse-submodules [email protected]:efreyu/bento-time.git bento-time
cd bento-time
cd bento-time
cmake .. -DDEBUG=1
make -j$(nproc)
For XCode - mac project
cd bento-time
cmake -S . -B build-win32 -GXcode -DDEBUG=1
For XCode - ios project
cd bento-time
cmake -S . -B build-ios -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos
For Visual Studio Community 2019
cd bento-time
cmake -S . -B build-win32 -G"Visual Studio 16 2019" -Tv142 -A Win32 -DDEBUG=1
and open .sln file from `build-win32` folder