Bug 417352 - Fails to install single target from a subproject
Summary: Fails to install single target from a subproject
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (other bugs)
Version First Reported In: 5.5.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-09 18:28 UTC by jompibu
Modified: 2020-02-09 18:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.