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