Changeset 2519 for code/branches/buildsystem2/src
- Timestamp:
- Dec 21, 2008, 11:06:12 PM (16 years ago)
- Location:
- code/branches/buildsystem2/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/CMakeLists.txt
r2510 r2519 53 53 ENDIF (WIN32) 54 54 55 # Include macro to easily add source files in subdirectories55 # Include macros 56 56 INCLUDE(AddSourceFiles) 57 INCLUDE(UseTolua) 57 58 58 59 # Our own libraries -
code/branches/buildsystem2/src/core/CMakeLists.txt
r2518 r2519 47 47 WRITE_SOURCE_FILES(CORE_SRC_FILES) 48 48 49 INCLUDE(UseTolua)50 49 TOLUA(Core CORE_SRC_FILES INPUTFILES LuaBind.h CommandExecutor.h) 51 50 -
code/branches/buildsystem2/src/orxonox/CMakeLists.txt
r2518 r2519 16 16 WRITE_SOURCE_FILES(ORXONOX_SRC_FILES) 17 17 18 INCLUDE(UseTolua)19 18 TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h) 20 19 -
code/branches/buildsystem2/src/tolua/CMakeLists.txt
r2510 r2519 6 6 tolua_to.c 7 7 ) 8 9 TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARIES})10 8 11 9 #INSTALL(TARGETS tolualib_orxonox LIBRARY DESTINATION lib) … … 27 25 ENDIF("${LUA_VERSION}" MATCHES "^5.0") 28 26 27 # Set some variables to the parent scope in order to use them in the TOLUA macro 28 GET_TARGET_PROPERTY(_temp_location toluaexe_orxonox LOCATION) 29 SET(TOLUA_PARSER_EXECUTABLE ${_temp_location} PARENT_SCOPE) 29 30 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE) 30 31 SET(TOLUA_PARSER_DEPENDENCIES 32 toluaexe_orxonox 31 33 ${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK} 32 34 ${CMAKE_CURRENT_SOURCE_DIR}/lua/compat-5.1.lua
Note: See TracChangeset
for help on using the changeset viewer.