#[Cocos2x-x] 멸령어 메모
Programming/Old 2016. 3. 30. 09:57Create project.
1. To create a project, input the following command.
- cocos new [Project Name] -p [Package Dir 'com.XXX.YYY'] -l cpp -d [Make Dir]
2. In cmd, go to the made directory and enter to the project folder.
3. In cmd, Input the following command that you want.
- cocos compile -p android ( basic android compile )
- cocos compile -p android --android-studio ( android-studio version compile )
* the '-p' command represents the platform you need to build. The available commands are 'android', 'win32', 'iOS' and etc.
* the '-l' command represents the language you need to build.
To run app, input the following command.
- cocos run -s [Project Name] -p android --android-studio
To generate prebuild libraries, input the following command.
- cocos gen-libs -p win32 --vs 2015 -m debug
* the '--vs ' command represents the visual studio's version you need to build.
'Programming > Old' 카테고리의 다른 글
#[스크랩]iOS9 App Transport Security 설정법 출처 (0) | 2016.04.07 |
---|---|
#[MS Prism] UI Composition Quick Start Exam. (0) | 2016.04.06 |
#[cocos2d-x]MSB3073 (0) | 2016.03.12 |
#[c++] Marshaling (0) | 2016.03.10 |
#[c++] 정적, 동적 라이브러리 관련 Url (0) | 2016.03.09 |