Add CMake build system on Recast&Navigation branch

This commit is contained in:
Benoit Bolsee
2010-08-31 22:08:01 +00:00
parent b6b277cac0
commit 0bca249298
9 changed files with 47 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
#
# ***** END GPL LICENSE BLOCK *****
FILE(GLOB SRC *.c)
FILE(GLOB SRC *.c *.cpp)
SET(INC
../include
@@ -34,6 +34,7 @@ SET(INC
../../windowmanager
../../render/extern/include
../../../../intern/guardedalloc
../../../../extern/recastnavigation/Recast/Include
)
IF(NOT WITH_PYTHON)

View File

@@ -1,5 +1,5 @@
/**
* $Id:$
* $Id$
*
* ***** BEGIN GPL LICENSE BLOCK *****
*

View File

@@ -19,13 +19,14 @@
#
# ***** END GPL LICENSE BLOCK *****
FILE(GLOB SRC *.c)
FILE(GLOB SRC *.c *.cpp)
SET(INC
../../blenkernel
../../blenlib
../include
../../../../intern/guardedalloc
../../../../extern/recastnavigation/Recast/Include
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -24,7 +24,7 @@
#
# ***** END GPL LICENSE BLOCK *****
FILE(GLOB SRC intern/*.c)
FILE(GLOB SRC intern/*.c intern/*.cpp)
SET(INC
. ./intern
@@ -33,10 +33,13 @@ SET(INC
../blenkernel
../blenkernel/intern
../render/extern/include
../editors/include
../gpu
../../../intern/guardedalloc
../../../intern/decimation/extern
../../../intern/elbeem/extern
../../../intern/bsp/extern
../../../extern/recastnavigation/Recast/Include
${ZLIB_INC}
)

View File

@@ -498,6 +498,7 @@ ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
extern_binreloc
extern_glew
extern_libopenjpeg
extern_recastnavigation
bf_videotex
bf_rna
bf_dna

View File

@@ -61,6 +61,7 @@ SET(INC
../../../source/blender/gpu
../../../source/blender/ikplugin
../../../extern/bullet2/src
../../../extern/recastnavigation/Detour/Include
)
IF(WITH_PYTHON)

View File

@@ -59,6 +59,9 @@ SET(INC
../../../source/blender/gpu
../../../extern/bullet2/src
../../../extern/glew/include
../../../extern/recastnavigation/Recast/Include
../../../extern/recastnavigation/Detour/Include
../../../source/blender/editors/include
)
ADD_DEFINITIONS(-DGLEW_STATIC)