Changeset 3251 for code/branches
- Timestamp:
- Jun 29, 2009, 6:13:26 PM (15 years ago)
- Location:
- code/branches
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/cmake/GenerateToluaBindings.cmake
r3196 r3251 53 53 ENDIF() 54 54 55 # Create temporary package file 55 # Create temporary package file and implicit dependencies 56 56 FILE(REMOVE ${_tolua_pkgfile}) 57 57 FOREACH(_tolua_inputfile ${_tolua_inputfiles}) 58 58 FILE(APPEND ${_tolua_pkgfile} "\$cfile \"${_tolua_inputfile}\"\n") 59 LIST(APPEND _implicit_dependencies CXX ${_tolua_inputfile}) 59 60 ENDFOREACH(_tolua_inputfile) 60 61 … … 67 68 -s ${TOLUA_PARSER_SOURCE} 68 69 ${_tolua_pkgfile} 69 DEPENDS 70 IMPLICIT_DEPENDS CXX ${_tolua_inputfiles}71 WORKING_DIRECTORY 70 DEPENDS ${TOLUA_PARSER_DEPENDENCIES} 71 IMPLICIT_DEPENDS ${_implicit_dependencies} 72 WORKING_DIRECTORY ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY} 72 73 COMMENT "Generating tolua bind files for package ${_tolua_package}" 73 74 ) -
code/branches/core4/cmake/PrecompiledHeaderFiles.cmake
r3228 r3251 110 110 GET_GCC_COMPILER_FLAGS(${_target_name} _pch_gcc_flags) 111 111 # Make sure we recompile the pch file even if only the flags change 112 IF(NOT "${_pch_gcc_flags}" STREQUAL "${_INTERNAL_ PCH_GCC_FLAGS}")113 SET(_INTERNAL_ PCH_GCC_FLAGS "${_pch_gcc_flags}" CACHE INTERNAL "")112 IF(NOT "${_pch_gcc_flags}" STREQUAL "${_INTERNAL_${_target_name}_PCH_GCC_FLAGS}") 113 SET(_INTERNAL_${_target_name}_PCH_GCC_FLAGS "${_pch_gcc_flags}" CACHE INTERNAL "") 114 114 FILE(WRITE ${_pch_dep_helper_file} "/* ${_pch_gcc_flags} */") 115 115 ENDIF() -
code/branches/netp6/cmake/GenerateToluaBindings.cmake
r3196 r3251 53 53 ENDIF() 54 54 55 # Create temporary package file 55 # Create temporary package file and implicit dependencies 56 56 FILE(REMOVE ${_tolua_pkgfile}) 57 57 FOREACH(_tolua_inputfile ${_tolua_inputfiles}) 58 58 FILE(APPEND ${_tolua_pkgfile} "\$cfile \"${_tolua_inputfile}\"\n") 59 LIST(APPEND _implicit_dependencies CXX ${_tolua_inputfile}) 59 60 ENDFOREACH(_tolua_inputfile) 60 61 … … 67 68 -s ${TOLUA_PARSER_SOURCE} 68 69 ${_tolua_pkgfile} 69 DEPENDS 70 IMPLICIT_DEPENDS CXX ${_tolua_inputfiles}71 WORKING_DIRECTORY 70 DEPENDS ${TOLUA_PARSER_DEPENDENCIES} 71 IMPLICIT_DEPENDS ${_implicit_dependencies} 72 WORKING_DIRECTORY ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY} 72 73 COMMENT "Generating tolua bind files for package ${_tolua_package}" 73 74 ) -
code/branches/netp6/cmake/PrecompiledHeaderFiles.cmake
r3229 r3251 110 110 GET_GCC_COMPILER_FLAGS(${_target_name} _pch_gcc_flags) 111 111 # Make sure we recompile the pch file even if only the flags change 112 IF(NOT "${_pch_gcc_flags}" STREQUAL "${_INTERNAL_ PCH_GCC_FLAGS}")113 SET(_INTERNAL_ PCH_GCC_FLAGS "${_pch_gcc_flags}" CACHE INTERNAL "")112 IF(NOT "${_pch_gcc_flags}" STREQUAL "${_INTERNAL_${_target_name}_PCH_GCC_FLAGS}") 113 SET(_INTERNAL_${_target_name}_PCH_GCC_FLAGS "${_pch_gcc_flags}" CACHE INTERNAL "") 114 114 FILE(WRITE ${_pch_dep_helper_file} "/* ${_pch_gcc_flags} */") 115 115 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.