Comments (7)
CDT 10.7.1 still has the problem.
from cdt.
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.
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.
I think this bug is related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552070
from cdt.
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.
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.
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)
- Fix API errors for Deduction Guides
- TM Terminal: backspace deletes whole word HOT 6
- Add additional build artifacts, such as object files in .o format HOT 3
- Application "org.eclipse.cdt.managedbuilder.core.headlessbuild" could not be found in the registry. HOT 1
- The disassembly view dosen't show opcode HOT 3
- Product Customization HOT 1
- Rename project does change include directories pointing to this project HOT 5
- C++20 style designated initializers are not parsed correctly.
- CMake project: CompilerBuiltinsDetector does not work for msys2 gcc compiler HOT 3
- Enabling parallel build on windows HOT 22
- After opening Executables, OS Resources, Trace Control views, selection change in previously active view/editor does not work as expected HOT 1
- Support GNU archive files in the Default Binary File Editor
- Support hex dump of binary files in the Default Binary File Editor
- Improve CMake integration in CDT HOT 3
- CDT 11.3.0
- Possible deadlock and Eclipse freeze with first Core Build project in fresh Workspace. HOT 5
- Eclipse accelerator keys do not work in terminal HOT 6
- Terminal sometimes wraps at 80 columns.
- C/C++ Formatter end suppression (@formatter:on) gets indented HOT 4
- Local terminal window doesn't open on MacOS HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdt.