Bug 417352

Summary: Fails to install single target from a subproject
Product: [Applications] kdevelop Reporter: jompibu <jompibu>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.5.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jompibu 2020-02-09 18:28:11 UTC
SUMMARY
When I've try to install a single sub project, kdevelop runs install from root and try to compile all the project. This is working fine in kdevelp4.


STEPS TO REPRODUCE
1. create a project A and two sub projects B & C like this. Both with INSTALL directive inside it.
A ----- B
   |
    --- C

B & C are shared libraries in my case and are independent.

2. clean all build secuence.
3. build B from from the project windows  (right click on the project -> build)
4. install B from the project window (right click on the project -> install) 

OBSERVED RESULT
The kdevelop try to compile A,B and C. What I could observe is that KDEVELOPS runs install from the root.



EXPECTED RESULT
The exepcted result is kdevelop runs install only on B project.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 8
Kdevelop Image: KDevelop-5.5.0-x86_64.AppImage

ADDITIONAL INFORMATION
Something similar happends with build if you press on the folder instead of the target.