mirror of https://github.com/axmolengine/axmol.git
modify linux template
This commit is contained in:
parent
23192a883c
commit
c9135eb6b9
|
@ -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}
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../..
|
||||
make
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../..
|
||||
make
|
Loading…
Reference in New Issue