Changeset 2583 for code/branches/buildsystem2/src/tolua
- Timestamp:
- Jan 12, 2009, 1:33:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/tolua/CMakeLists.txt
r2579 r2583 6 6 tolua_to.c 7 7 ) 8 TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARY}) 8 9 9 10 IF (NOT WIN32) … … 27 28 ENDIF("${LUA_VERSION}" MATCHES "^5.0") 28 29 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 31 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" CACHE STRING "") 33 32 SET(TOLUA_PARSER_DEPENDENCIES 34 33 toluaexe_orxonox … … 56 55 ${CMAKE_CURRENT_SOURCE_DIR}/lua/doit.lua 57 56 58 PARENT_SCOPE57 CACHE STRING "" 59 58 ) 59 MARK_AS_ADVANCED(TOLUA_PARSER_SOURCE TOLUA_PARSER_DEPENDENCIES)
Note: See TracChangeset
for help on using the changeset viewer.