| 1 | # |
|---|
| 2 | # ORXONOX - the hottest 3D action shooter ever to exist |
|---|
| 3 | # > www.orxonox.net < |
|---|
| 4 | # |
|---|
| 5 | # This program is free software; you can redistribute it and/or |
|---|
| 6 | # modify it under the terms of the GNU General Public License |
|---|
| 7 | # as published by the Free Software Foundation; either version 2 |
|---|
| 8 | # of the License, or (at your option) any later version. |
|---|
| 9 | # |
|---|
| 10 | # This program is distributed in the hope that it will be useful, |
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | # GNU General Public License for more details. |
|---|
| 14 | # |
|---|
| 15 | # You should have received a copy of the GNU General Public License along |
|---|
| 16 | # with this program; if not, write to the Free Software Foundation, |
|---|
| 17 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|---|
| 18 | # |
|---|
| 19 | |
|---|
| 20 | INCLUDE_DIRECTORIES( |
|---|
| 21 | ${CMAKE_SOURCE_DIR}/src/external |
|---|
| 22 | ${CMAKE_SOURCE_DIR}/src/libraries |
|---|
| 23 | ${CMAKE_CURRENT_SOURCE_DIR} |
|---|
| 24 | ) |
|---|
| 25 | |
|---|
| 26 | SET_SOURCE_FILES(ORXONOX_SRC_FILES |
|---|
| 27 | Level.cc |
|---|
| 28 | LevelManager.cc |
|---|
| 29 | Main.cc |
|---|
| 30 | MoodManager.cc |
|---|
| 31 | PawnManager.cc |
|---|
| 32 | PlayerManager.cc |
|---|
| 33 | Radar.cc |
|---|
| 34 | COMPILATION_BEGIN SceneCompilation.cc |
|---|
| 35 | CameraManager.cc |
|---|
| 36 | Scene.cc |
|---|
| 37 | COMPILATION_END |
|---|
| 38 | ) |
|---|
| 39 | |
|---|
| 40 | ADD_SUBDIRECTORY(collisionshapes) |
|---|
| 41 | ADD_SUBDIRECTORY(controllers) |
|---|
| 42 | ADD_SUBDIRECTORY(gamestates) |
|---|
| 43 | ADD_SUBDIRECTORY(gametypes) |
|---|
| 44 | ADD_SUBDIRECTORY(graphics) |
|---|
| 45 | ADD_SUBDIRECTORY(infos) |
|---|
| 46 | ADD_SUBDIRECTORY(interfaces) |
|---|
| 47 | ADD_SUBDIRECTORY(items) |
|---|
| 48 | ADD_SUBDIRECTORY(overlays) |
|---|
| 49 | ADD_SUBDIRECTORY(pickup) |
|---|
| 50 | ADD_SUBDIRECTORY(sound) |
|---|
| 51 | ADD_SUBDIRECTORY(weaponsystem) |
|---|
| 52 | ADD_SUBDIRECTORY(worldentities) |
|---|
| 53 | |
|---|
| 54 | ORXONOX_ADD_LIBRARY(orxonox |
|---|
| 55 | FIND_HEADER_FILES |
|---|
| 56 | TOLUA_FILES |
|---|
| 57 | LevelManager.h |
|---|
| 58 | MoodManager.h |
|---|
| 59 | controllers/HumanController.h |
|---|
| 60 | pickup/BaseItem.h |
|---|
| 61 | pickup/PickupInventory.h |
|---|
| 62 | sound/SoundManager.h |
|---|
| 63 | DEFINE_SYMBOL |
|---|
| 64 | "ORXONOX_SHARED_BUILD" |
|---|
| 65 | PCH_FILE |
|---|
| 66 | OrxonoxPrecompiledHeaders.h |
|---|
| 67 | LINK_LIBRARIES |
|---|
| 68 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 69 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
|---|
| 70 | ${Boost_THREAD_LIBRARY} |
|---|
| 71 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
|---|
| 72 | ${OGRE_LIBRARY} |
|---|
| 73 | ${OPENAL_LIBRARY} |
|---|
| 74 | ${ALUT_LIBRARY} |
|---|
| 75 | ${VORBISFILE_LIBRARY} |
|---|
| 76 | ${VORBIS_LIBRARY} |
|---|
| 77 | ${OGG_LIBRARY} |
|---|
| 78 | tinyxml++_orxonox |
|---|
| 79 | tolua++_orxonox |
|---|
| 80 | bullet_orxonox |
|---|
| 81 | util |
|---|
| 82 | core |
|---|
| 83 | network |
|---|
| 84 | tools |
|---|
| 85 | SOURCE_FILES ${ORXONOX_SRC_FILES} |
|---|
| 86 | ) |
|---|