[2664] | 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 |
---|
[1755] | 21 | Clock.cc |
---|
[1505] | 22 | ConfigFileManager.cc |
---|
| 23 | ConfigValueContainer.cc |
---|
[1535] | 24 | Core.cc |
---|
[2087] | 25 | Event.cc |
---|
[1755] | 26 | GameState.cc |
---|
[1543] | 27 | Language.cc |
---|
[2087] | 28 | LuaBind.cc |
---|
[1747] | 29 | ObjectListBase.cc |
---|
[1543] | 30 | OrxonoxClass.cc |
---|
[1755] | 31 | RootGameState.cc |
---|
[1543] | 32 | |
---|
| 33 | # command |
---|
| 34 | ArgumentCompletionFunctions.cc |
---|
| 35 | CommandEvaluation.cc |
---|
[1505] | 36 | CommandExecutor.cc |
---|
[1755] | 37 | CommandLine.cc |
---|
[1505] | 38 | ConsoleCommand.cc |
---|
| 39 | ConsoleCommandCompilation.cc |
---|
[1543] | 40 | Executor.cc |
---|
| 41 | |
---|
| 42 | # hierarchy |
---|
| 43 | Factory.cc |
---|
| 44 | Identifier.cc |
---|
| 45 | MetaObjectList.cc |
---|
| 46 | |
---|
| 47 | # level |
---|
| 48 | BaseObject.cc |
---|
| 49 | ClassTreeMask.cc |
---|
[1505] | 50 | Loader.cc |
---|
| 51 | Namespace.cc |
---|
| 52 | NamespaceNode.cc |
---|
[2087] | 53 | Template.cc |
---|
[1543] | 54 | XMLPort.cc |
---|
[2087] | 55 | XMLNameListener.cc |
---|
[1543] | 56 | |
---|
| 57 | # shell |
---|
| 58 | IRC.cc |
---|
| 59 | Shell.cc |
---|
[1505] | 60 | TclBind.cc |
---|
| 61 | TclThreadManager.cc |
---|
| 62 | ) |
---|
[2664] | 63 | ADD_SUBDIRECTORY(input) |
---|
| 64 | GET_ALL_HEADER_FILES(CORE_HDR_FILES) |
---|
| 65 | SET(CORE_FILES ${CORE_SRC_FILES} ${CORE_HDR_FILES}) |
---|
[1505] | 66 | |
---|
[2664] | 67 | GENERATE_SOURCE_GROUPS(${CORE_FILES}) |
---|
| 68 | GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h) |
---|
[2131] | 69 | |
---|
[2664] | 70 | ADD_LIBRARY(core SHARED ${CORE_FILES}) |
---|
[1505] | 71 | |
---|
[2664] | 72 | SET_TARGET_PROPERTIES(core PROPERTIES DEFINE_SYMBOL "CORE_SHARED_BUILD") |
---|
[1505] | 73 | TARGET_LINK_LIBRARIES(core |
---|
[2664] | 74 | ${OGRE_LIBRARY} |
---|
| 75 | ${Boost_THREAD_LIBRARY} |
---|
| 76 | ${Boost_FILESYSTEM_LIBRARY} |
---|
| 77 | ${Boost_SYSTEM_LIBRARY} |
---|
| 78 | ${Boost_DATE_TIME_LIBRARY} # MSVC only |
---|
| 79 | ${LUA_LIBRARIES} |
---|
[1810] | 80 | cpptcl_orxonox |
---|
[1555] | 81 | ois_orxonox |
---|
[2664] | 82 | tinyxml++_orxonox |
---|
| 83 | tolua++_orxonox |
---|
[1505] | 84 | util |
---|
| 85 | ) |
---|
[2664] | 86 | |
---|
| 87 | ORXONOX_INSTALL(core) |
---|