aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/LLPhysics.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/LLPhysics.cmake')
-rw-r--r--linden/indra/cmake/LLPhysics.cmake76
1 files changed, 0 insertions, 76 deletions
diff --git a/linden/indra/cmake/LLPhysics.cmake b/linden/indra/cmake/LLPhysics.cmake
deleted file mode 100644
index 3ae390e..0000000
--- a/linden/indra/cmake/LLPhysics.cmake
+++ /dev/null
@@ -1,76 +0,0 @@
1# -*- cmake -*-
2include(Prebuilt)
3
4use_prebuilt_binary(havok)
5
6set(HAVOK_VERSION 460)
7
8set(LLPHYSICS_INCLUDE_DIRS
9 ${LIBS_SERVER_DIR}/llphysics
10 ${LIBS_PREBUILT_DIR}/include/havok/hk${HAVOK_VERSION}/common
11 ${LIBS_PREBUILT_DIR}/include/havok/hk${HAVOK_VERSION}/physics
12 )
13
14add_definitions(-DLL_CURRENT_HAVOK_VERSION=${HAVOK_VERSION})
15
16if (LINUX OR DARWIN)
17 if (DARWIN)
18 link_directories(
19 ${LIBS_PREBUILT_DIR}/universal-darwin/lib_release/havok/hk460
20 )
21 else (DARWIN)
22 link_directories(
23 ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/lib_release/havok/hk460
24 )
25 endif (DARWIN)
26
27 set(LLPHYSICS_LIBRARIES
28 llphysics
29 hkcompat
30 hkutilities
31 hkvisualize
32 hkdynamics
33 hkvehicle
34 hkcollide
35 hkinternal
36 hkconstraintsolver
37 hkmath
38 hkscenedata
39 hkserialize
40 hkgraphicsogl
41 hkgraphicsbridge
42 hkgraphics
43 hkdemoframework
44 hkbase
45 )
46elseif (WINDOWS)
47 if (MSVC71)
48 set(HK_DEBUG ${WINLIBS_PREBUILT_DEBUG_DIR}/havok/hk460)
49 set(HK_RELEASE ${WINLIBS_PREBUILT_RELEASE_DIR}/havok/hk460)
50 else (MSVC71)
51 set(HK_DEBUG ${WINLIBS_PREBUILT_DEBUG_DIR}/havok/hk460_net_8-0)
52 set(HK_RELEASE ${WINLIBS_PREBUILT_RELEASE_DIR}/havok/hk460_net_8-0)
53 endif (MSVC71)
54
55 set(HAVOK_LIBS
56 hkbase
57 hkdynamics
58 hkmath
59 hkcollide
60 hkutilities
61 hkvisualize
62 hkinternal
63 hkconstraintsolver
64 hkcompat
65 hkserialize
66 hkvehicle
67 hkscenedata
68 )
69
70 set(LLPHYSICS_LIBRARIES llphysics)
71
72 foreach(lib ${HAVOK_LIBS})
73 list(APPEND LLPHYSICS_LIBRARIES
74 debug ${HK_DEBUG}/${lib} optimized ${HK_RELEASE}/${lib})
75 endforeach(lib)
76endif (LINUX OR DARWIN)