From 0bca249298679334f842e5a982ffbcdba13aefc1 Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Tue, 31 Aug 2010 22:08:01 +0000 Subject: Add CMake build system on Recast&Navigation branch --- extern/CMakeLists.txt | 1 + extern/recastnavigation/CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 extern/recastnavigation/CMakeLists.txt (limited to 'extern') diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index b15c8a31c73..79d615ba730 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -33,6 +33,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux") ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") ADD_SUBDIRECTORY(glew) +ADD_SUBDIRECTORY(recastnavigation) IF(WITH_IMAGE_OPENJPEG) ADD_SUBDIRECTORY(libopenjpeg) diff --git a/extern/recastnavigation/CMakeLists.txt b/extern/recastnavigation/CMakeLists.txt new file mode 100644 index 00000000000..d36de44a766 --- /dev/null +++ b/extern/recastnavigation/CMakeLists.txt @@ -0,0 +1,32 @@ +# $Id$ +# ***** BEGIN GPL LICENSE BLOCK ***** +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# The Original Code is Copyright (C) 2006, Blender Foundation +# All rights reserved. +# +# The Original Code is: all of this file. +# +# Contributor(s): Daniel Genrich +# +# ***** END GPL LICENSE BLOCK ***** + +SET(INC Recast/Include Detour/Include) + +FILE(GLOB SRC Recast/Source/*.cpp Detour/Source/*.cpp) + +BLENDERLIB(extern_recastnavigation "${SRC}" "${INC}") +#, libtype='blender', priority = 0 ) -- cgit v1.2.3