https://github.com/cocos2d/cocos2d-x https://docs.cocos.com/cocos2d-x/manual/en/installation/
https://docs.cocos.com/cocos2d-x/manual/en/installation/CMake-Guide.html
cd main/midnight
mkdir mac-build
cd mac-build
cmake .. -GXcode -DTME:string=LOM
cd main/midnight
mkdir mac-tests-build
cd mac-tests-build
cmake .. -GXcode -DTME:string=LOM -DTESTS=YES
Replace LOM with DDR for Doomdark's Revenge
cd main/midnight
mkdir ios-build
cd ios-build
cmake .. -GXcode -DCMAKE_SYSTEM_NAME=iOS -DTME:string=LOM
Replace LOM with DDR for Doomdark's Revenge