Changeset 2239 for code/branches/buildsystem/cmake
- Timestamp:
- Nov 20, 2008, 10:13:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/cmake/UseTolua.cmake
r2236 r2239 19 19 GET_TARGET_PROPERTY(TOLUA_EXECUTABLE "${_tolua_executable_name}" LOCATION) 20 20 21 MACRO(INCLUDE_DIRECTORIES_QUOTES)22 FOREACH(_tolua_quote_dir ${ARGN})23 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -iquote ${_tolua_quote_dir}")24 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -iquote ${_tolua_quote_dir}")25 ENDFOREACH(_tolua_quote_dir)26 ENDMACRO(INCLUDE_DIRECTORIES_QUOTES)27 28 21 MACRO(TOLUA _tolua_package _tolua_srcfiles_varname) 29 22 # TODO: cleaner arguments handling … … 32 25 33 26 SET(_tolua_pkgfile "${CMAKE_CURRENT_BINARY_DIR}/tolua.pkg") 34 SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/ tolua_bind.cc")35 SET(_tolua_hfile "${CMAKE_CURRENT_BINARY_DIR}/ tolua_bind.h")27 SET(_tolua_cxxfile "${CMAKE_CURRENT_BINARY_DIR}/ToluaBind${_tolua_package}.cc") 28 SET(_tolua_hfile "${CMAKE_CURRENT_BINARY_DIR}/ToluaBind${_tolua_package}.h") 36 29 SET(${_tolua_srcfiles_varname} ${${_tolua_srcfiles_varname}} "${_tolua_cxxfile}") 37 30
Note: See TracChangeset
for help on using the changeset viewer.