- Timestamp:
- May 30, 2011, 6:51:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/cmake/tools/GenerateToluaBindings.cmake
r8650 r8688 49 49 SET(_tolua_pkgfile "${CMAKE_CURRENT_BINARY_DIR}/tolua.pkg") 50 50 SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.cc") 51 SET(_tolua_hfile "${CMAKE_BINARY_DIR}/src/toluabind/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.h")51 #SET(_tolua_hfile "${CMAKE_BINARY_DIR}/src/toluabind/${CMAKE_CFG_INTDIR}/ToluaBind${_tolua_package}.h") 52 52 53 53 SET(${_target_source_files} 54 54 ${${_target_source_files}} 55 55 ${_tolua_cxxfile} 56 ${_tolua_hfile}57 56 PARENT_SCOPE 58 57 ) … … 76 75 ENDFOREACH(_tolua_inputfile) 77 76 77 IF(TOLUA_PARSER_HOOK_SCRIPT) 78 # Hook scripts may contain functions that act as Tolua hooks 79 SET(_hook_script -L "${TOLUA_PARSER_HOOK_SCRIPT}") 80 ENDIF() 81 78 82 ADD_CUSTOM_COMMAND( 79 OUTPUT ${_tolua_cxxfile} ${_tolua_hfile}83 OUTPUT ${_tolua_cxxfile} 80 84 COMMAND toluaapp_orxonox -n ${_tolua_package} 81 85 -w ${CMAKE_CURRENT_SOURCE_DIR} 82 86 -o ${_tolua_cxxfile} 83 -H ${_tolua_hfile}84 87 -s ${TOLUA_PARSER_SOURCE} 88 ${_hook_script} 85 89 ${_tolua_pkgfile} 86 90 DEPENDS ${TOLUA_PARSER_DEPENDENCIES}
Note: See TracChangeset
for help on using the changeset viewer.