Bug 49650 - Generic C++ project (Custom Makefiles) does not allow build targets to be configured
Summary: Generic C++ project (Custom Makefiles) does not allow build targets to be con...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Custom Makefiles (show other bugs)
Version: 3.0.0a2
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-24 23:18 UTC by JPollak
Modified: 2004-08-16 13:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JPollak 2002-10-24 23:18:35 UTC
Version:           3.0.0 (using KDE KDE 3.0.3)
Installed from:    RedHat RPMs
OS:          Linux

Hello,

I can't find any way to specific 'Build Configurations' or 'Build Targets' for Custom Applications. I noticed under a project managed by KDevelop you can specify 'Build Configurations' under the Project menu, and under The Build Menu for our project imported with "Custom Makefiles" there is a blank "Build Targets" sub-menu. (This is probably because our targets (clean, etc) are all listed in a seperate file imported into the Makefile.

Anyway, what I would like to be able to do is specify various parameters to the make command, and vary they depending on "Build Configurations". For example, to build our project in debug mode, we run this command:

make BUILD_TYPE=debug

and to build in release, we do:

make BUILD_TYPE=release

I just want a way to create 'configurations' for custom makefile projects, and then to specify either the entire command on a per configuration basis, or just the parameters to the program (make or ant).

-Thanks.
Comment 1 Amilcar do Carmo Lucas 2003-03-20 20:50:29 UTC
You do have configuration options in Gideon under: 
Project > Project Options ... > Configuration Options 
 
Aren't these good enough? 
 
Comment 2 JPollak 2003-07-02 19:33:02 UTC
I do not see 'Configuration options' under Project->Project Options. On the left hand 
column, I see 'General, Plugins', Project Documentaiton, New File Wizard, C++ 
Specific, Run Options, Build Options, Class View, File Groups, Debugger, Doxygen, and 
CVS. Am I doing something wrong? 
Comment 3 Amilcar do Carmo Lucas 2003-07-02 22:58:49 UTC
It's probably because you use "custom project" :(
It works fine with "Auto project".
Anyway you should test KDevelop3.0 CVS it probably works fine there.
I can not test rigth now because I'm on a windows box :(
Comment 4 Hendrik Kueck 2003-09-24 12:02:50 UTC
>> It works fine with "Auto project". 
Did you mean "Automake project"? 

In alpha 6 there still does not seem to be support for different build
configurations when using an imported project with custom makefiles. 

Comment 5 Alexander Dymo 2003-10-28 19:06:51 UTC
This wish is granted. Patch sent by Hendrik Kueck. Thanks Hendrik!
Comment 6 Bas Mevissen 2004-08-08 18:10:23 UTC
In which version of KDevelop will this patch appear? I cannot find it resolved in some current version.

(Using FC2 with KDevelop 3.0.3)
Comment 7 Amilcar do Carmo Lucas 2004-08-16 13:35:17 UTC
Bas, it was resolved in KDevelop 3.0.0 so it should work for you.