Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 1:33:55 PM (15 years ago)
Author:
rgrieder
Message:
  • Use $ENV{BOOST_ROOT} to find boost if possible
  • Set TOLUA_PARSER_WORKING_DIRECTORY now defaults to ${CMAKE_RUNTIME_OUTPUT_PATH}
  • Added bin/release, bin/debug, release and debug to the Ogre library prefix paths
  • Lots of small fixes and changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/tolua/CMakeLists.txt

    r2579 r2583  
    66  tolua_to.c
    77)
     8TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARY})
    89
    910IF (NOT WIN32)
     
    2728ENDIF("${LUA_VERSION}" MATCHES "^5.0")
    2829
    29 # Set some variables to the parent scope in order to use them in the TOLUA macro
    30 GET_TARGET_PROPERTY(_temp_location toluaexe_orxonox LOCATION)
    31 SET(TOLUA_PARSER_EXECUTABLE ${_temp_location} PARENT_SCOPE)
    32 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
     30# Set some variables to the cache in order to use them in the TOLUA macro
     31SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" CACHE STRING "")
    3332SET(TOLUA_PARSER_DEPENDENCIES
    3433  toluaexe_orxonox
     
    5655  ${CMAKE_CURRENT_SOURCE_DIR}/lua/doit.lua
    5756
    58   PARENT_SCOPE
     57  CACHE STRING ""
    5958)
     59MARK_AS_ADVANCED(TOLUA_PARSER_SOURCE TOLUA_PARSER_DEPENDENCIES)
Note: See TracChangeset for help on using the changeset viewer.