Add CMake build system on Recast&Navigation branch
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* $Id:$
|
||||
* $Id$
|
||||
*
|
||||
* ***** BEGIN GPL LICENSE BLOCK *****
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
)
|
||||
|
||||
|
||||
@@ -498,6 +498,7 @@ ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
extern_binreloc
|
||||
extern_glew
|
||||
extern_libopenjpeg
|
||||
extern_recastnavigation
|
||||
bf_videotex
|
||||
bf_rna
|
||||
bf_dna
|
||||
|
||||
@@ -61,6 +61,7 @@ SET(INC
|
||||
../../../source/blender/gpu
|
||||
../../../source/blender/ikplugin
|
||||
../../../extern/bullet2/src
|
||||
../../../extern/recastnavigation/Detour/Include
|
||||
)
|
||||
|
||||
IF(WITH_PYTHON)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user