GithubHelp home page GithubHelp logo

Comments (7)

ewaterlander avatar ewaterlander commented on July 24, 2024

CDT 10.7.1 still has the problem.

from cdt.

ewaterlander avatar ewaterlander commented on July 24, 2024

Isn't a launch configuration a strange place to store build configuration settings (besides the fact that they are only in memory, not in the launch file)?
In a managed build project the build configuration settings are stored in the .cproject file.

from cdt.

mbooth101 avatar mbooth101 commented on July 24, 2024

Core build was an initiative to simplify build mechanism especially in the case where the build system took care of most things internally (e.g. Makefile, CMake, Meson). These build systems are things that CDT must "launch", I don't think it's very strange to store configuration for things we must launch in launch configurations.

Documentation is a bit sparse, but here's one of Doug's old slide decks on the off-chance it is helpful: https://wiki.eclipse.org/images/e/e2/CDTCoreBuild2017.pdf

However you certainly found a bug here I think because when I change the build output location, the compiled binary artifact is not detected (there is no binaries container in the project explorer) and cannot be launched (I believe the dynamically created launch configurations rely on being able to detect the built binary artifact in order to avoid any additional user configuration).

from cdt.

ewaterlander avatar ewaterlander commented on July 24, 2024

I think this bug is related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552070

from cdt.

ewaterlander avatar ewaterlander commented on July 24, 2024

The fix for bug 552070 fixed the problem of the settings getting back to default after close and reopen of the project.
See PR #192

The problem that the launch configuration is gone after close project and restart Eclipse is still there.
Fixing this by restarting Eclipse while the project is open does get the proper settings back when the fix for bug 552070 is included.

from cdt.

ewaterlander avatar ewaterlander commented on July 24, 2024

Although the launch configuration keeps the correct settings after project closure or Eclipse restart, the actual building is not using the correct settings.

Create a Makefile Core Build project. Change Build Output Location to "Build in Project directory". Close and reopen the project, or restart Eclipse. Whatever the setting is for the Build Output Location, the build will always use "Build in configuration specific directory".

from cdt.

ewaterlander avatar ewaterlander commented on July 24, 2024

The last problem was only present for the Core Build Makefile project Run configuration, not for Debug.
The problem is fixed in PR #314 .

from cdt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.