Changeset 1076 for code/trunk/src/util
- Timestamp:
- Apr 16, 2008, 10:05:37 AM (17 years ago)
- Location:
- code/trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.