Last change
on this file since 1473 was
1445,
checked in by landauf, 17 years ago
|
fixed some parts of the cmake-files to work with windows
|
File size:
991 bytes
|
Rev | Line | |
---|
[1195] | 1 | SET( OIS_SRC_FILES |
---|
| 2 | OISEffect.cpp |
---|
| 3 | OISException.cpp |
---|
| 4 | OISForceFeedback.cpp |
---|
| 5 | OISInputManager.cpp |
---|
| 6 | OISJoyStick.cpp |
---|
| 7 | OISKeyboard.cpp |
---|
| 8 | OISObject.cpp |
---|
| 9 | ) |
---|
| 10 | |
---|
| 11 | IF(WIN32) |
---|
| 12 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
| 13 | win32/Win32ForceFeedback.cpp |
---|
| 14 | win32/Win32InputManager.cpp |
---|
| 15 | win32/Win32JoyStick.cpp |
---|
| 16 | win32/Win32KeyBoard.cpp |
---|
| 17 | win32/Win32Mouse.cpp |
---|
| 18 | ) |
---|
| 19 | ELSEIF (APPLE) |
---|
| 20 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
| 21 | mac/MacHelpers.cpp |
---|
| 22 | mac/MacHIDManager.cpp |
---|
| 23 | mac/MacInputManager.cpp |
---|
| 24 | mac/MacKeyboard.cpp |
---|
| 25 | mac/MacMouse.cpp |
---|
| 26 | ) |
---|
| 27 | ELSEIF (UNIX) |
---|
| 28 | SET( OIS_SRC_FILES ${OIS_SRC_FILES} |
---|
| 29 | linux/EventHelpers.cpp |
---|
| 30 | linux/LinuxForceFeedback.cpp |
---|
| 31 | linux/LinuxInputManager.cpp |
---|
| 32 | linux/LinuxJoyStickEvents.cpp |
---|
[1196] | 33 | linux/LinuxKeyboard.cpp |
---|
[1195] | 34 | linux/LinuxMouse.cpp |
---|
| 35 | ) |
---|
| 36 | ENDIF (WIN32) |
---|
| 37 | |
---|
| 38 | ADD_LIBRARY( ois SHARED ${OIS_SRC_FILES} ) |
---|
[1445] | 39 | |
---|
| 40 | IF(WIN32) |
---|
| 41 | LINK_DIRECTORIES(${DirectX_LIB_DIR}) |
---|
| 42 | TARGET_LINK_LIBRARIES( ois |
---|
| 43 | dxguid |
---|
| 44 | dinput8 |
---|
| 45 | ) |
---|
| 46 | ENDIF(WIN32) |
---|
| 47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.