]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | cmake_minimum_required(VERSION 3.8)\r |
2 | project(recast)\r | |
3 | \r | |
4 | include_directories(\r | |
5 | DebugUtils/Include\r | |
6 | Detour/Include\r | |
7 | DetourCrowd/Include\r | |
8 | DetourTileCache/Include\r | |
9 | Recast/Include\r | |
10 | )\r | |
11 | \r | |
12 | set(SRC\r | |
13 | DebugUtils/Source/DebugDraw.cpp\r | |
14 | DebugUtils/Source/DetourDebugDraw.cpp\r | |
15 | DebugUtils/Source/RecastDebugDraw.cpp\r | |
16 | DebugUtils/Source/RecastDump.cpp\r | |
17 | Detour/Source/DetourAlloc.cpp\r | |
18 | Detour/Source/DetourCommon.cpp\r | |
19 | Detour/Source/DetourNavMesh.cpp\r | |
20 | Detour/Source/DetourNavMeshBuilder.cpp\r | |
21 | Detour/Source/DetourNavMeshQuery.cpp\r | |
22 | Detour/Source/DetourNode.cpp\r | |
23 | DetourCrowd/Source/DetourCrowd.cpp\r | |
24 | DetourCrowd/Source/DetourLocalBoundary.cpp\r | |
25 | DetourCrowd/Source/DetourObstacleAvoidance.cpp\r | |
26 | DetourCrowd/Source/DetourPathCorridor.cpp\r | |
27 | DetourCrowd/Source/DetourPathQueue.cpp\r | |
28 | DetourCrowd/Source/DetourProximityGrid.cpp\r | |
29 | DetourTileCache/Source/DetourTileCache.cpp\r | |
30 | DetourTileCache/Source/DetourTileCacheBuilder.cpp\r | |
31 | Recast/Source/Recast.cpp\r | |
32 | Recast/Source/RecastAlloc.cpp\r | |
33 | Recast/Source/RecastArea.cpp\r | |
34 | Recast/Source/RecastContour.cpp\r | |
35 | Recast/Source/RecastFilter.cpp\r | |
36 | Recast/Source/RecastLayers.cpp\r | |
37 | Recast/Source/RecastMesh.cpp\r | |
38 | Recast/Source/RecastMeshDetail.cpp\r | |
39 | Recast/Source/RecastRasterization.cpp\r | |
40 | Recast/Source/RecastRegion.cpp\r | |
41 | )\r | |
42 | \r | |
43 | add_library(recast ${SRC})\r | |
44 | \r | |
45 | install(\r | |
46 | TARGETS recast\r | |
47 | LIBRARY DESTINATION lib\r | |
48 | ARCHIVE DESTINATION lib\r | |
49 | )\r | |
50 | \r | |
51 | if(NOT DISABLE_INSTALL_HEADERS)\r | |
52 | install(DIRECTORY DebugUtils/Include/ DESTINATION include/recast/DebugUtils)\r | |
53 | install(DIRECTORY Detour/Include/ DESTINATION include/recast/Detour)\r | |
54 | install(DIRECTORY DetourCrowd/Include/ DESTINATION include/recast/DetourCrowd)\r | |
55 | install(DIRECTORY DetourTileCache/Include/ DESTINATION include/recast/DetourTileCache)\r | |
56 | install(DIRECTORY Recast/Include/ DESTINATION include/recast/Recast)\r | |
57 | endif()\r |