modify linux template

This commit is contained in:
chuanweizhang 2013-12-26 10:22:39 +08:00
parent 23192a883c
commit c9135eb6b9
4 changed files with 14 additions and 2 deletions

View File

@ -45,7 +45,7 @@ set(GAME_SRC
Classes/HelloWorldScene.cpp
)
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/../..)
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
include_directories(
${COCOS2D_ROOT}

View File

@ -0,0 +1,6 @@
#!/bin/bash
mkdir build
cd build
cmake ../..
make

View File

@ -44,7 +44,7 @@ set(GAME_SRC
Classes/AppDelegate.cpp
)
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/../..)
set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d)
include_directories(
Classes

View File

@ -0,0 +1,6 @@
#!/bin/bash
mkdir build
cd build
cmake ../..
make