Last change
on this file since 2625 was
2624,
checked in by rgrieder, 16 years ago
|
Replaced most of the ELSE(…) and ENDIF(…) with ELSE() and ENDIF(). Kept the shorter and the spreaded ones for better clarity since that's what it originally was thought for. But I can really pollute the code when having long conditions and lots of IFs.
|
-
Property svn:eol-style set to
native
|
File size:
823 bytes
|
Line | |
---|
1 | SET_SOURCE_FILES(OIS_FILES |
---|
2 | OIS.h |
---|
3 | OISConfig.h |
---|
4 | OISEffect.h |
---|
5 | OISEvents.h |
---|
6 | OISException.h |
---|
7 | OISFactoryCreator.h |
---|
8 | OISForceFeedback.h |
---|
9 | OISInputManager.h |
---|
10 | OISInterface.h |
---|
11 | OISJoyStick.h |
---|
12 | OISKeyboard.h |
---|
13 | OISMouse.h |
---|
14 | OISObject.h |
---|
15 | OISPrereqs.h |
---|
16 | |
---|
17 | OISEffect.cpp |
---|
18 | OISException.cpp |
---|
19 | OISForceFeedback.cpp |
---|
20 | OISInputManager.cpp |
---|
21 | OISJoyStick.cpp |
---|
22 | OISKeyboard.cpp |
---|
23 | OISObject.cpp |
---|
24 | ) |
---|
25 | IF(WIN32) |
---|
26 | ADD_SUBDIRECTORY(win32) |
---|
27 | ELSEIF(APPLE) |
---|
28 | ADD_SUBDIRECTORY(mac) |
---|
29 | ELSEIF(UNIX) |
---|
30 | ADD_SUBDIRECTORY(linux) |
---|
31 | ENDIF() |
---|
32 | |
---|
33 | GENERATE_SOURCE_GROUPS(${OIS_FILES}) |
---|
34 | |
---|
35 | REMOVE_COMPILER_FLAGS("-DUNICODE -D_UNICODE" MSVC) |
---|
36 | INCLUDE_DIRECTORIES(.) |
---|
37 | |
---|
38 | ADD_LIBRARY(ois_orxonox SHARED ${OIS_FILES}) |
---|
39 | SET_TARGET_PROPERTIES(ois_orxonox PROPERTIES DEFINE_SYMBOL "OIS_NONCLIENT_BUILD") |
---|
40 | |
---|
41 | IF(WIN32) |
---|
42 | TARGET_LINK_LIBRARIES(ois_orxonox ${DIRECTX_LIBRARIES}) |
---|
43 | ENDIF() |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.