Changeset 1978 for code/branches/buildsystem/cmake
- Timestamp:
- Oct 20, 2008, 5:53:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/cmake/UseTolua.cmake
r1883 r1978 19 19 GET_TARGET_PROPERTY(TOLUA_EXECUTABLE "${_tolua_executable_name}" LOCATION) 20 20 21 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -iquote ${CMAKE_CURRENT_SOURCE_DIR} -iquote ${CMAKE_CURRENT_BINARY_DIR}") 22 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -iquote ${CMAKE_CURRENT_SOURCE_DIR} -iquote ${CMAKE_CURRENT_BINARY_DIR}") 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) 23 27 24 28 MACRO(TOLUA _tolua_package _tolua_srcfiles_varname)
Note: See TracChangeset
for help on using the changeset viewer.