- Timestamp:
- Apr 22, 2008, 1:37:42 PM (17 years ago)
- Location:
- code/branches/cmake/src
- Files:
-
- 2 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cmake/src/CMakeLists.txt
r1122 r1127 1 1 INCLUDE_DIRECTORIES(.) 2 2 INCLUDE_DIRECTORIES(orxonox) 3 INCLUDE_DIRECTORIES( tolua)3 INCLUDE_DIRECTORIES(util/tolua) 4 4 5 ADD_SUBDIRECTORY(tolua)6 5 ADD_SUBDIRECTORY(util) 7 6 ADD_SUBDIRECTORY(core) -
code/branches/cmake/src/core/CMakeLists.txt
r1124 r1127 26 26 Tickable.cc 27 27 Script.cc 28 tolua/tolua_bind.cc 29 ) 30 31 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION) 32 ADD_CUSTOM_COMMAND( 33 OUTPUT tolua/tolua_bind.cc 34 COMMAND ${TOLUA_EXE} -n core -o core/tolua/tolua_bind.cc -H core/tolua/tolua_bind.h core/tolua/tolua.pkg 35 DEPENDS tolua 36 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src 28 37 ) 29 38 … … 31 40 32 41 TARGET_LINK_LIBRARIES(core 33 util34 tolualib35 42 ${Lua_LIBRARIES} 36 43 ${OIS_LIBRARIES} 44 ${OGRE_LIBRARIES} 45 util 37 46 ) -
code/branches/cmake/src/core/InputManager.cc
r1089 r1127 93 93 paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str())); 94 94 95 #if defined OIS_LINUX_PLATFORM96 paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));97 #endif95 //#if defined OIS_LINUX_PLATFORM 96 // paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true"))); 97 //#endif 98 98 99 99 try -
code/branches/cmake/src/core/Script.cc
r1122 r1127 39 39 } 40 40 41 #include "tolua /tolua++.h"41 #include "tolua++.h" 42 42 #include "tolua/tolua_bind.h" 43 43 … … 60 60 luaopen_debug(luaState_); 61 61 #endif 62 tolua_ orxonox_open(luaState_);62 tolua_core_open(luaState_); 63 63 output_ = ""; 64 64 } -
code/branches/cmake/src/orxonox/CMakeLists.txt
r1070 r1127 30 30 # objects/weapon/BulletManager.cc 31 31 # objects/weapon/WeaponStation.cc 32 tolua/tolua_bind.cc 32 33 ) 33 34 35 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION) 36 ADD_CUSTOM_COMMAND( 37 OUTPUT tolua/tolua_bind.cc 38 COMMAND ${TOLUA_EXE} -n orxonox -o orxonox/tolua/tolua_bind.cc -H orxonox/tolua/tolua_bind.h orxonox/tolua/tolua.pkg 39 DEPENDS tolua 40 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src 41 ) 42 34 43 ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) 35 44 -
code/branches/cmake/src/util/CMakeLists.txt
r1122 r1127 1 AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES)2 3 1 SET(UTIL_SRC_FILES 4 2 ArgReader.cc 3 Clipboard.cc 4 ExprParser.cc 5 5 Math.cc 6 String.cc7 Clipboard.cc8 SubString.cc9 ExprParser.cc10 6 MultiTypePrimitive.cc 11 7 MultiTypeString.cc 12 8 MultiTypeMath.cc 13 ${TINYXML_SRC_FILES} 9 String.cc 10 SubString.cc 11 12 tinyxml/ticpp.cc 13 tinyxml/tinystr.cc 14 tinyxml/tinyxml.cc 15 tinyxml/tinyxmlerror.cc 16 tinyxml/tinyxmlparser.cc 17 18 tolua/tolua_event.c 19 tolua/tolua_is.c 20 tolua/tolua_map.c 21 tolua/tolua_push.c 22 tolua/tolua_to.c 14 23 ) 15 24 … … 22 31 TARGET_LINK_LIBRARIES(util 23 32 ${OGRE_LIBRARIES} 33 ${Lua_LIBRARIES} 24 34 ) 25 35 36 ADD_SUBDIRECTORY(tolua) 37
Note: See TracChangeset
for help on using the changeset viewer.