Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2009, 6:13:26 PM (15 years ago)
Author:
rgrieder
Message:

Fixed two serious dependency bugs:

  • Only every second file of the tolua bind dependencies was regarded as such (already fixed in trunk)
  • Running cmake still caused complete rebuilds when using PCH
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/cmake/GenerateToluaBindings.cmake

    r3196 r3251  
    5353  ENDIF()
    5454
    55   # Create temporary package file
     55  # Create temporary package file and implicit dependencies
    5656  FILE(REMOVE ${_tolua_pkgfile})
    5757  FOREACH(_tolua_inputfile ${_tolua_inputfiles})
    5858    FILE(APPEND ${_tolua_pkgfile} "\$cfile \"${_tolua_inputfile}\"\n")
     59    LIST(APPEND _implicit_dependencies CXX ${_tolua_inputfile})
    5960  ENDFOREACH(_tolua_inputfile)
    6061
     
    6768                               -s ${TOLUA_PARSER_SOURCE}
    6869                                  ${_tolua_pkgfile}
    69     DEPENDS              ${TOLUA_PARSER_DEPENDENCIES}
    70     IMPLICIT_DEPENDS CXX ${_tolua_inputfiles}
    71     WORKING_DIRECTORY    ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY}
     70    DEPENDS           ${TOLUA_PARSER_DEPENDENCIES}
     71    IMPLICIT_DEPENDS  ${_implicit_dependencies}
     72    WORKING_DIRECTORY ${ORXONOX_RUNTIME_LIBRARY_DIRECTORY}
    7273    COMMENT "Generating tolua bind files for package ${_tolua_package}"
    7374  )
Note: See TracChangeset for help on using the changeset viewer.