Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3244


Ignore:
Timestamp:
Jun 28, 2009, 11:23:24 PM (15 years ago)
Author:
rgrieder
Message:

Build bugfix in GenerateToluaBindings.cmake: we have to supply a language for each implicit dependency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/GenerateToluaBindings.cmake

    r3196 r3244  
    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.