Cocos compile 编译指定工程的办法

修改Cocos\frameworks\cocos2d-x-3.4rc1\tools\cocos2d-console\bin 下的
cocos_project.py
第 382 384行
其它版本应该类似!

class AndroidConfig(PlatformConfig):
def _use_default(self):
if self._is_script:
self.proj_path = os.path.join(self._proj_root_path, “frameworks”, “runtime-src”, “proj_test.android”)
else:
self.proj_path = os.path.join(self._proj_root_path, “proj_test.android”)
def _parse_info(self, cfg_info):
super(AndroidConfig, self)._parse_info(cfg_info)
def _is_available(self):
ret = super(AndroidConfig, self)._is_available()
return ret