Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1076 for code/trunk/src/util


Ignore:
Timestamp:
Apr 16, 2008, 10:05:37 AM (17 years ago)
Author:
rgrieder
Message:

two hours of Fuk is very 'enlighting', the whole thing works now.\ncmake. will now build lua, then compile with tolua and finally create the Makefiles for orxonox.\n

Location:
code/trunk/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/CMakeLists.txt

    r1073 r1076  
    11AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES)
     2AUX_SOURCE_DIRECTORY(tolua   TOLUA_SRC_FILES)
    23
    34SET (UTIL_SRC_FILES
     
    1112  MultiTypeMath.cc
    1213  ${TINYXML_SRC_FILES}
     14  ${TOLUA_SRC_FILES}
    1315)
    1416
     
    2123TARGET_LINK_LIBRARIES( util
    2224  ${OGRE_LIBRARIES}
    23 )
     25  ${Lua_LIBRARIES}
     26  ${Lua_LIBRARY}
     27)
     28
  • code/trunk/src/util/tolua/CMakeLists.txt

    r1075 r1076  
    22
    33#This sets where to look for modules (e.g. "Find*.cmake" files)
    4 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
     4SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/)
    55
    66#Check whether we are on a tardis box
     
    1717
    1818#set binary output directories
    19 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    20 SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/bin/lib)
     19SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../../bin)
     20SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/../../../bin)
    2121
    2222# global compiler/linker flags. force -O2!
     
    3939#Set the search paths for the linking
    4040LINK_DIRECTORIES(
    41   ${Lua_LIBRARIES}
    42   m
    4341)
    4442
     
    6563TARGET_LINK_LIBRARIES( tolua
    6664  ${Lua_LIBRARIES}
     65  ${Lua_LIBRARY}
     66  m
    6767)
Note: See TracChangeset for help on using the changeset viewer.