Last change
on this file since 2581 was
2579,
checked in by rgrieder, 16 years ago
|
- Equipped find scripts with debug/optimized functions. If you have different debug prefixes on your platform simply change ${LIBRARY_DEBUG_POSTFIX} ("_d" default).
- Clean up in ConfigMSVC.cmake and ConfigMinGW.cmake
- Also had a good look at the MinGW libraries according to the libs_1889_mingw.zip (no warranty at all, hope I got them all)
- INSTALL commands are currently limited to non Windows platforms (don't yet know why it doesn't work)
|
-
Property svn:eol-style set to
native
|
File size:
941 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 | TARGET_LINK_LIBRARIES( ois_orxonox ${DirectX_LIBRARIES} ) |
---|
44 | ENDIF(WIN32) |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.