I have a project using a few modules and I use a project file that looks a bit like this:
TEMPLATE = subdirs
CONFIG = debug_and_release
SUBDIRS = main plug1 plug2 plug3 addin1 addin2 servcfg
TEMPLATE = subdirs
CONFIG = debug_and_release
SUBDIRS = main plug1 plug2 plug3 addin1 addin2 servcfg
To copy to clipboard, switch view to plain text mode
I've used the configuration 'debug_and_release' in the hope that
I can use the command: 'make release' to build a release version
of all the modules, however it doesn't set up a way to build target
release. It only use the default build for the projects in the subdirs
which is debug.
They all have the option:
CONFIG += debug_and_release
CONFIG += debug_and_release
To copy to clipboard, switch view to plain text mode
in their project file and work well when I cd to the dir. and execute
'make release'. It's just a pain to do manualy to all the modules.
Is there a way to get the 'subdirs' template to add a "release target"
to all its subdirs?
(Qt version is 4.1.4 GPL(MingW))
Bookmarks