[2710] | 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 | SET_SOURCE_FILES(CORE_SRC_FILES |
---|
[8729] | 21 | |
---|
| 22 | #BUILD_UNIT CoreStableBuildUnit.cc |
---|
| 23 | ClassTreeMask.cc |
---|
[5781] | 24 | Event.cc |
---|
[2896] | 25 | Game.cc |
---|
[10624] | 26 | GameConfig.cc |
---|
[5781] | 27 | GameMode.cc |
---|
[1755] | 28 | GameState.cc |
---|
[1543] | 29 | Language.cc |
---|
[8729] | 30 | Loader.cc |
---|
[5695] | 31 | LuaState.cc |
---|
[5781] | 32 | Namespace.cc |
---|
| 33 | NamespaceNode.cc |
---|
| 34 | Template.cc |
---|
[10624] | 35 | UpdateListener.cc |
---|
[8079] | 36 | ViewportEventListener.cc |
---|
| 37 | WindowEventListener.cc |
---|
[5781] | 38 | XMLNameListener.cc |
---|
[8729] | 39 | XMLPort.cc |
---|
| 40 | #END_BUILD_UNIT |
---|
[1543] | 41 | |
---|
[8729] | 42 | BaseObject.cc |
---|
| 43 | Core.cc |
---|
[10624] | 44 | CoreConfig.cc |
---|
| 45 | CoreStaticInitializationHandler.cc |
---|
[8729] | 46 | |
---|
| 47 | BUILD_UNIT OgreBuildUnit.cc |
---|
| 48 | GraphicsManager.cc |
---|
| 49 | GUIManager.cc |
---|
| 50 | Resource.cc |
---|
| 51 | END_BUILD_UNIT |
---|
| 52 | |
---|
| 53 | BUILD_UNIT FilesystemBuildUnit.cc |
---|
[7284] | 54 | command/ArgumentCompletionFunctions.cc |
---|
[9667] | 55 | config/ConfigFile.cc |
---|
[10624] | 56 | ApplicationPaths.cc |
---|
| 57 | ConfigurablePaths.cc |
---|
[8729] | 58 | END_BUILD_UNIT |
---|
[5929] | 59 | |
---|
[8729] | 60 | BUILD_UNIT ThreadBuildUnit.cc |
---|
[7284] | 61 | command/TclThreadManager.cc |
---|
[3304] | 62 | Thread.cc |
---|
[8729] | 63 | ThreadPool.cc |
---|
| 64 | END_BUILD_UNIT |
---|
[1505] | 65 | ) |
---|
[5929] | 66 | |
---|
[9667] | 67 | ADD_SUBDIRECTORY(class) |
---|
[7284] | 68 | ADD_SUBDIRECTORY(command) |
---|
[10624] | 69 | ADD_SUBDIRECTORY(commandline) |
---|
[9667] | 70 | ADD_SUBDIRECTORY(config) |
---|
[5781] | 71 | ADD_SUBDIRECTORY(input) |
---|
[10624] | 72 | ADD_SUBDIRECTORY(module) |
---|
[9667] | 73 | ADD_SUBDIRECTORY(object) |
---|
[10624] | 74 | ADD_SUBDIRECTORY(singleton) |
---|
[1505] | 75 | |
---|
[10267] | 76 | #Add the icon (for the renderwindow) |
---|
[10268] | 77 | IF(WIN32) |
---|
[10267] | 78 | List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc) |
---|
| 79 | ENDIF() |
---|
| 80 | |
---|
[3196] | 81 | ORXONOX_ADD_LIBRARY(core |
---|
| 82 | FIND_HEADER_FILES |
---|
| 83 | TOLUA_FILES |
---|
[7284] | 84 | command/CommandExecutor.h |
---|
[9667] | 85 | config/SettingsConfigFile.h |
---|
[10624] | 86 | ApplicationPaths.h |
---|
| 87 | ConfigurablePaths.h |
---|
[6417] | 88 | Game.h |
---|
| 89 | GameMode.h |
---|
[8079] | 90 | GraphicsManager.h |
---|
[6417] | 91 | GUIManager.h |
---|
[5781] | 92 | Loader.h |
---|
[5695] | 93 | LuaState.h |
---|
[6417] | 94 | input/InputManager.h |
---|
| 95 | input/KeyBinder.h |
---|
| 96 | input/KeyBinderManager.h |
---|
[8858] | 97 | ../util/output/OutputDefinitions.h |
---|
[3196] | 98 | PCH_FILE |
---|
| 99 | CorePrecompiledHeaders.h |
---|
| 100 | LINK_LIBRARIES |
---|
| 101 | ${OGRE_LIBRARY} |
---|
[3370] | 102 | ${Boost_FILESYSTEM_LIBRARY} |
---|
| 103 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
[3196] | 104 | ${Boost_THREAD_LIBRARY} |
---|
[3370] | 105 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
[5781] | 106 | ${CEGUI_LIBRARY} |
---|
| 107 | ${CEGUILUA_LIBRARY} |
---|
[8351] | 108 | ${CEGUI_TOLUA_LIBRARY} |
---|
| 109 | ${CEGUI_OGRE_RENDERER_LIBRARY} |
---|
| 110 | ${LUA5.1_LIBRARY} |
---|
[5781] | 111 | cpptcl_orxonox |
---|
| 112 | ois_orxonox |
---|
[7163] | 113 | tinyxml_orxonox |
---|
[3196] | 114 | util |
---|
[8351] | 115 | LINK_LIBS_UNIX |
---|
| 116 | dl |
---|
| 117 | pthread |
---|
[3196] | 118 | SOURCE_FILES |
---|
| 119 | ${CORE_SRC_FILES} |
---|
[1505] | 120 | ) |
---|