Hello, I’d like to know if it’s possible to remove some parts from cocos2dx, like, if i dont want to use the audio stuff, can I set some preprocessor to disable all the code from it?
Yes, but I don’t recall how off the top of my head.
I don’t know specifically for audio. But check this thread. cocos/base/ccConfig.h
Also, I think there is some other file where you can mention which things you don’t want. I forgot it as I saw that file long time back. (I resumed working on engine so don’t know if that file still exist. I think it’s cocos/CMakeLists.txt
, not sure)