Home | History | Annotate | Download | only in Tools
      1 TEMPLATE = subdirs
      2 CONFIG += ordered
      3 
      4 SUBDIRS += \
      5     WebKitTestRunner/DerivedSources.pro
      6 
      7 for(subpro, SUBDIRS) {
      8     subdir = $${dirname(subpro)}
      9     subtarget = $$replace(subpro, [^a-zA-Z0-9_], -)
     10     eval($${subtarget}.makefile = "Makefile.DerivedSources")
     11     eval(generated_files-$${subtarget}.commands = (cd $$subdir && $(MAKE) -f Makefile.DerivedSources generated_files))
     12     QMAKE_EXTRA_TARGETS += generated_files-$${subtarget}
     13     generated_files.depends += generated_files-$${subtarget}
     14 }
     15 QMAKE_EXTRA_TARGETS += generated_files
     16