Bug 34965

Summary: specifying a directory attempts to build a library
Product: [Applications] kdevelop Reporter: degt
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description degt 2001-11-16 08:43:11 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           1.4 (using KDE 2.2.0 )
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          gcc 2.96
OS:                Linux
OS/Compiler notes: Not Specified

I created a subdirectory named "src" within my
project directory. The root of the project directory
was populated by a million supporting files that
were created automatically.

My actual project sources were in the src subdirectory. When trying to build the makefile
drops down into all directories. When it goes to
my "src" directory it attempts to build a library and in this case it should generate an executable (being the sole source directory). I tries to build libXXXX.a
(XXXX for example only).

One of the options in KDevelop allows to specify what is being built in the directory but it ONLY allows to specify "Static LIbrary" OR "Dynamic library" it ignores the fact that it is also conceivable to build an executable (the main program or utilities) in any of the subdirectories.

(Submitted via bugs.kde.org)
Comment 1 Caleb Tennis 2002-10-09 21:50:14 UTC
You can do this in Gideon (3.0).