Last change
on this file since 9150 was
1555,
checked in by landauf, 16 years ago
|
- ParticleInterface uses Orxonox::getTimeFactor to make particle effects independend of gamespeed (but there's still a drawback with thrusters)
- reduced OIS includes in input-related classes, changed OIS search and include to avoid conflicts with other versions of OIS (for example in Ogre). not yet tested on tardis.
|
-
Property svn:eol-style set to
native
|
File size:
984 bytes
|
Line | |
---|
1 | INCLUDE_DIRECTORIES(.) |
---|
2 | |
---|
3 | SET( OIS_SRC_FILES |
---|
4 | OISEffect.cpp |
---|
5 | OISException.cpp |
---|
6 | OISForceFeedback.cpp |
---|
7 | OISInputManager.cpp |
---|
8 | OISJoyStick.cpp |
---|
9 | OISKeyboard.cpp |
---|
10 | OISObject.cpp |
---|
11 | ) |
---|
12 | |
---|
13 | IF(WIN32) |
---|
14 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
15 | win32/Win32ForceFeedback.cpp |
---|
16 | win32/Win32InputManager.cpp |
---|
17 | win32/Win32JoyStick.cpp |
---|
18 | win32/Win32KeyBoard.cpp |
---|
19 | win32/Win32Mouse.cpp |
---|
20 | ) |
---|
21 | ELSEIF (APPLE) |
---|
22 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
23 | mac/MacHelpers.cpp |
---|
24 | mac/MacHIDManager.cpp |
---|
25 | mac/MacInputManager.cpp |
---|
26 | mac/MacKeyboard.cpp |
---|
27 | mac/MacMouse.cpp |
---|
28 | ) |
---|
29 | ELSEIF (UNIX) |
---|
30 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
31 | linux/EventHelpers.cpp |
---|
32 | linux/LinuxForceFeedback.cpp |
---|
33 | linux/LinuxInputManager.cpp |
---|
34 | linux/LinuxJoyStickEvents.cpp |
---|
35 | linux/LinuxKeyboard.cpp |
---|
36 | linux/LinuxMouse.cpp |
---|
37 | ) |
---|
38 | ENDIF (WIN32) |
---|
39 | |
---|
40 | ADD_LIBRARY( ois_orxonox SHARED ${OIS_SRC_FILES} ) |
---|
41 | |
---|
42 | IF(WIN32) |
---|
43 | LINK_DIRECTORIES(${DirectX_LIB_DIR}) |
---|
44 | TARGET_LINK_LIBRARIES( ois_orxonox |
---|
45 | dxguid |
---|
46 | dinput8 |
---|
47 | ) |
---|
48 | ENDIF(WIN32) |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.