INCLUDE_DIRECTORIES(${CHIPMUNK_SOURCE_DIR}/src)
INCLUDE(FindOpenGL)
INCLUDE(FindGLUT)
Find_Package ( OpenGL REQUIRED )
Find_Package ( GLUT REQUIRED )
#Declare any external dependencies that your project may have here.
#examples include: ITK, VTK, JPEG, PNG, OpenGL, ZLIB, Perl, Java
#If you're not sure what name to use, look in the Modules directory of your
#cmake install and check that a file named Find(Package).cmake exists
SET(Required_Packages
#list packages here
OpenGL GLUT
)
IF(GLUT_FOUND)
MESSAGE("libglut found. ${GLUT_INCLUDE_DIR} ${GLUT_LIBRARIES}")
LINK_DIRECTORIES(${GLUT_LIBRARIES})
ELSE(GLUT_FOUND)
MESSAGE(FATAL_ERROR "libglut requested but not found. Please install freeglut")
ENDIF(GLUT_FOUND)
IF(OPENGL_FOUND)
MESSAGE("libGL found. ${OPENGL_INCLUDE_DIR} ${OPENGL_LIBRARIES}")
LINK_DIRECTORIES(${OPENGL_LIBRARIES})
ELSE(OPENGL_FOUND)
MESSAGE(FATAL_ERROR "libGL requested but not found. Please install OpenGL libraries")
ENDIF(OPENGL_FOUND)
#Set any libraries that your project depends on.
#examples: ITKCommon, VTKRendering, etc
SET(Libraries
#list libraries here
GL glut
)
#LINK_DIRECTORIES(${CHIPMUNK_SOURCE_DIR}/build/source)
#the following block of code is an example of how to build an executable in
#cmake. Unmodified, it will add an executable called "MyExe" to the project.
#MyExe will be built using the files MyClass.h and MyClass.cxx, and it will
#be linked to all the libraries you specified above.
#You can build more than one executable per project
SET(CurrentExe "../chipmunk_demos")
ADD_EXECUTABLE(${CurrentExe} Demo1.c Demo2.c Demo3.c Demo4.c Demo5.c Demo6.c Demo7.c main.c)
TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries} chipmunk_static)
#the following line is an example of how to add a test to your project.
#Testname is the title for this particular test. ExecutableToRun is the
#program which will be running this test. It can either be a part of this
#project or an external executable. After that list any args that are needed
#for this test. Include as many tests as you like. If your project doesn't have
#any tests you can comment out or delete the following line.
#ADD_TEST(Testname ExecutableToRun arg1 arg2 arg3)
#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
SET (CMAKE_BUILD_TYPE Release)
没有合适的资源?快使用搜索试试~ 我知道了~
cocos2d降落的小球code
共406个文件
h:125个
o:72个
m:67个
需积分: 16 55 下载量 97 浏览量
2009-11-12
21:31:22
上传
评论 1
收藏 4.23MB ZIP 举报
温馨提示
cocos2d降落的小球,已经运行可以实现的代码
资源推荐
资源详情
资源评论
收起资源包目录
cocos2d降落的小球code (406个子文件)
Makefile.am 1KB
ATTRIBUTION 605B
AUTHORS 5KB
AUTHORS 5KB
vorbisfile.c 45KB
framing.c 29KB
cpSpace.c 14KB
cpSpace.c 14KB
cpSpace.c 14KB
floor1.c 14KB
cpJoint.c 14KB
cpJoint.c 14KB
cpJoint.c 14KB
mdct.c 14KB
block.c 13KB
sharedbook.c 12KB
floor0.c 12KB
info.c 11KB
cpCollision.c 11KB
cpCollision.c 11KB
cpCollision.c 11KB
cpSpaceHash.c 10KB
cpSpaceHash.c 10KB
cpSpaceHash.c 10KB
codebook.c 10KB
mapping0.c 9KB
res012.c 9KB
bitwise.c 7KB
cpArbiter.c 7KB
cpArbiter.c 7KB
cpArbiter.c 7KB
cpShape.c 5KB
cpShape.c 5KB
cpShape.c 5KB
cpHashSet.c 5KB
cpHashSet.c 5KB
cpHashSet.c 5KB
cpBody.c 4KB
cpBody.c 4KB
cpBody.c 4KB
cpPolyShape.c 4KB
cpPolyShape.c 4KB
cpPolyShape.c 4KB
synthesis.c 3KB
ivorbisfile_example.c 3KB
cpArray.c 2KB
cpArray.c 2KB
cpArray.c 2KB
glu.c 2KB
window.c 2KB
chipmunk.c 2KB
chipmunk.c 2KB
chipmunk.c 2KB
registry.c 2KB
cpBB.c 2KB
cpBB.c 2KB
cpBB.c 2KB
cpVect.c 2KB
cpVect.c 2KB
cpVect.c 2KB
CHANGELOG 21KB
CHANGELOG 21KB
doxygen.config 62KB
control 512KB
LTCocos11_12.dep 24KB
DONORS 846B
DONORS 846B
.DS_Store 12KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
elements 138KB
elements 138KB
.gitattributes 42B
.gitignore 38B
window_lookup.h 125KB
mdct_lookup.h 32KB
CocosNode.h 15KB
IntervalAction.h 11KB
Texture2D.h 8KB
Director.h 7KB
Transition.h 7KB
ivorbiscodec.h 7KB
ogg.h 7KB
asm_arm.h 6KB
ccArray.h 6KB
misc.h 6KB
EAGLView.h 6KB
MenuItem.h 6KB
TiledGridAction.h 6KB
Grid3DAction.h 5KB
Particle.h 5KB
CGPointExtension.h 5KB
lsp_lookup.h 5KB
ivorbisfile.h 5KB
cpBody.h 5KB
cpBody.h 5KB
cpBody.h 5KB
AtlasSprite.h 5KB
共 406 条
- 1
- 2
- 3
- 4
- 5
资源评论
haozhao1984
- 粉丝: 33
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功