Merging r51923 through r52851 from trunk into soc-2011-tomato
[blender.git] / extern / recastnavigation / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Daniel Genrich
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC 
27                 Recast/Include
28                 Detour/Include
29 )
30
31 set(INC_SYS
32
33 )
34
35 set(SRC 
36                 recast-capi.cpp
37                 recast-capi.h
38
39
40                 Detour/Source/DetourCommon.cpp
41                 Detour/Source/DetourNode.cpp
42                 Detour/Source/DetourStatNavMesh.cpp
43                 Detour/Source/DetourStatNavMeshBuilder.cpp
44                 Detour/Source/DetourTileNavMesh.cpp
45                 Detour/Source/DetourTileNavMeshBuilder.cpp
46
47                 Detour/Include/DetourCommon.h
48                 Detour/Include/DetourNode.h
49                 Detour/Include/DetourStatNavMesh.h
50                 Detour/Include/DetourStatNavMeshBuilder.h
51                 Detour/Include/DetourTileNavMesh.h
52                 Detour/Include/DetourTileNavMeshBuilder.h
53
54                 Recast/Source/Recast.cpp
55                 Recast/Source/RecastAlloc.cpp
56                 Recast/Source/RecastArea.cpp
57                 Recast/Source/RecastContour.cpp
58                 Recast/Source/RecastFilter.cpp
59                 Recast/Source/RecastLayers.cpp
60                 Recast/Source/RecastMesh.cpp
61                 Recast/Source/RecastMeshDetail.cpp
62                 Recast/Source/RecastRasterization.cpp
63                 Recast/Source/RecastRegion.cpp
64
65                 Recast/Include/Recast.h
66                 Recast/Include/RecastAlloc.h
67                 Recast/Include/RecastAssert.h
68 )
69
70 blender_add_lib(extern_recastnavigation "${SRC}" "${INC}" "${INC_SYS}")