Changeset 1076 for code/trunk/src
- Timestamp:
- Apr 16, 2008, 10:05:37 AM (17 years ago)
- Location:
- code/trunk/src
- Files:
-
- 3 added
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/CMakeLists.txt
r1055 r1076 1 1 INCLUDE_DIRECTORIES(.) 2 2 INCLUDE_DIRECTORIES(orxonox) 3 INCLUDE_DIRECTORIES(util/tolua) 3 4 4 5 ADD_SUBDIRECTORY(util) -
code/trunk/src/core/CMakeLists.txt
r1070 r1076 1 #get the created files 2 AUX_SOURCE_DIRECTORY(tolua TOLUA_BIND_FILES) 3 4 MESSAGE(STATUS "tolua sources: ${TOLUA_BIND_FILES}") 5 1 6 SET( CORE_SRC_FILES 2 7 OrxonoxClass.cc … … 26 31 Tickable.cc 27 32 Script.cc 28 ToLuaBind.cc33 ${TOLUA_BIND_FILES} 29 34 ) 30 35 … … 34 39 util 35 40 ${Lua_LIBRARIES} 41 ${Lua_LIBRARY} 36 42 ${OIS_LIBRARIES} 37 43 ) -
code/trunk/src/core/Script.cc
r1056 r1076 39 39 } 40 40 41 #include " util/tolua/tolua++.h"42 #include " ToLuaBind.h"41 #include "tolua++.h" 42 #include "tolua/tolua_bind.h" 43 43 44 44 namespace orxonox -
code/trunk/src/util/CMakeLists.txt
r1073 r1076 1 1 AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES) 2 AUX_SOURCE_DIRECTORY(tolua TOLUA_SRC_FILES) 2 3 3 4 SET (UTIL_SRC_FILES … … 11 12 MultiTypeMath.cc 12 13 ${TINYXML_SRC_FILES} 14 ${TOLUA_SRC_FILES} 13 15 ) 14 16 … … 21 23 TARGET_LINK_LIBRARIES( util 22 24 ${OGRE_LIBRARIES} 23 ) 25 ${Lua_LIBRARIES} 26 ${Lua_LIBRARY} 27 ) 28 -
code/trunk/src/util/tolua/CMakeLists.txt
r1075 r1076 2 2 3 3 #This sets where to look for modules (e.g. "Find*.cmake" files) 4 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} )4 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/) 5 5 6 6 #Check whether we are on a tardis box … … 17 17 18 18 #set binary output directories 19 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/ bin)20 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/ bin/lib)19 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../../bin) 20 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../../bin) 21 21 22 22 # global compiler/linker flags. force -O2! … … 39 39 #Set the search paths for the linking 40 40 LINK_DIRECTORIES( 41 ${Lua_LIBRARIES}42 m43 41 ) 44 42 … … 65 63 TARGET_LINK_LIBRARIES( tolua 66 64 ${Lua_LIBRARIES} 65 ${Lua_LIBRARY} 66 m 67 67 )
Note: See TracChangeset
for help on using the changeset viewer.