Bug #6751 2006-03-11 14:47
yop
Custom Makefiles are not used when building a workspace
Version 1.0 revision 2170 (gcc 3.3.5 Linux/unicode, build: Mar 10 2006 21:44:14)
Open up a workspace that contains of projects with custom makefiles.
Set all the projects to build using a custom makefile.
Build->Build, everything works as expected, the custom Makefile is used.
Build->Build Workspace, the custom Makefiles are not used, the queued commands scenario starts.
- Category
- Compiler
- Group
- Status
- Closed
- Close date
- 2006-09-08 11:16
- Assigned to
History
I can't confirm........ I have Version 1.0 revision 2189 (gcc 3.4.4 Windows/unicode, build: Mar 13 2006 13:22:41).
This is the output I'm getting...
make: Nothing to be done for `addressbook'.
-------------- Build: addressbook in qtcb ---------------
g++ -I- -I. -I/usr/include -c addressbook/centralwidget.cpp -o addressbook/objs/addressbook/centralwidget.o
addressbook/centralwidget.cpp:11:27: centralwidget.h: No such file or directory
...tons of errors...
See the make: Nothing to be done? This means that the Makefile was used but then (?) the queued commands started. This project had two targets, maybe that has something to do with it. Beacause you can't reproduce I investigated a little further and I tried with a single target project. It kept giving me ...doesn't have a target named "default"... so I changed the make commands (removed the $target) and got it to build (the only target of the project is named "default" in C::B as all the newlly created targets are, but target default isn't there in the Makefile). This seems like the expected behaviour. I then added another project and I got "...doesn't have a target named "default"..." all over again though the second project doesn't have any target named default (the target names in the Makefile match the ones in C::B). I should note that for both projects the plain Build using Makefiles works out of the box.
Version 1.0 revision 2189 (gcc 3.3.5 Linux/unicode, build: Mar 13 2006 22:26:38)
Got carried away and forgot to mention my setup
Ok. Umm could you PM me the makefile? I'm not so good at writing them. :P Sorry for the late response. I didn't get an e-mail. :(
I can confirm now. :) Now to figure out why it doesn't work......
The build system has changed since this bug was opened.
Closing it now because it doesn't apply anymore.
If you find other related bugs in the current build system, please open a new bug report.