CMake: cleanup
[blender-staging.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 remove_cc_flag_unsigned_char()
27
28 set(INC 
29         Recast/Include
30         Detour/Include
31 )
32
33 set(INC_SYS
34
35 )
36
37 set(SRC 
38         recast-capi.cpp
39         recast-capi.h
40
41
42         Detour/Source/DetourCommon.cpp
43         Detour/Source/DetourNode.cpp
44         Detour/Source/DetourStatNavMesh.cpp
45         Detour/Source/DetourStatNavMeshBuilder.cpp
46         Detour/Source/DetourTileNavMesh.cpp
47         Detour/Source/DetourTileNavMeshBuilder.cpp
48
49         Detour/Include/DetourCommon.h
50         Detour/Include/DetourNode.h
51         Detour/Include/DetourStatNavMesh.h
52         Detour/Include/DetourStatNavMeshBuilder.h
53         Detour/Include/DetourTileNavMesh.h
54         Detour/Include/DetourTileNavMeshBuilder.h
55
56         Recast/Source/Recast.cpp
57         Recast/Source/RecastAlloc.cpp
58         Recast/Source/RecastArea.cpp
59         Recast/Source/RecastContour.cpp
60         Recast/Source/RecastFilter.cpp
61         Recast/Source/RecastLayers.cpp
62         Recast/Source/RecastMesh.cpp
63         Recast/Source/RecastMeshDetail.cpp
64         Recast/Source/RecastRasterization.cpp
65         Recast/Source/RecastRegion.cpp
66
67         Recast/Include/Recast.h
68         Recast/Include/RecastAlloc.h
69         Recast/Include/RecastAssert.h
70 )
71
72 blender_add_lib(extern_recastnavigation "${SRC}" "${INC}" "${INC_SYS}")