evanlabs / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Make generator fails subdirectory builds #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Make generator currently fails on two tests of subdirectory builds:

    test/subdirectory/gyptest-subdir-all.py
    test/subdirectory/gyptest-subdir-default.py

It only generates a "Makefile" entry point for the top of the tree.  
Generating one for each subdirectory ("project") would be more like the 
other generators.  The Make generator should either do this, or we need to 
explicitly define that doing something like "-f subdir.mk" is the supported 
interface.

Original issue reported on code.google.com by sgk@chromium.org on 19 Aug 2009 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 19 Aug 2009 at 5:13

GoogleCodeExporter commented 9 years ago
Is the goal to do the following?
cd src/subdir1; make => builds everything in src/subdir1 and dependencies, but 
not
unrelated src/subdir2 ?

Original comment by thestig@chromium.org on 5 Sep 2009 at 12:53

GoogleCodeExporter commented 9 years ago
Yes, a Makefile entry point in a given subdirectory should only build that 
subdirectory and its dependencies.

Original comment by sgk@chromium.org on 5 Sep 2009 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 21 Oct 2009 at 5:41