Skip to content

Commit d1287b0

Browse files
Update Release Notes with Core Build improvements (#1100)
Updated "Release Notes and New & Noteworthy page" page with details of the Core Build improvements as part of #1000
1 parent f96dd1a commit d1287b0

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

NewAndNoteworthy/CDT-12.0.md

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,47 @@ CDT's native components will likely work with older versions of glibc too, assum
1414

1515
# Core Build
1616

17+
## Default build system generator for CMake changed to Ninja on all platforms
18+
19+
The default for CMake's build system generator is now Ninja on all platforms.
20+
Users who want to use other build system generators can select their desired generator in the build settings.
21+
1722
## More CMake build settings are now available in the user interface
1823

1924
The CMake build setting GUI has been updated to include more CMake settings, and some of the settings that did not used to do the correct thing have been updated for more consistent behavior.
2025
The way these settings are saved has been slightly modified, meaning workspaces with CMake projects from before CDT 12 will have their build settings restored to defaults.
2126
Build settings can be customized by unchecking "Use default CMake settings".
2227

23-
TODO: Before release add the final screenshot for the build settings here. I am not including it now because the UI keeps changing.
2428

25-
## Default build system generator for CMake changed to Ninja on all platforms
29+
<p align="center"><img src="images/CDT-12.0-build-settings-annotated.png" width="80%"></p>
2630

27-
The default for CMake's build system generator is now Ninja on all platforms.
28-
Users who want to use other build system generators can select their desired generator in the build settings.
31+
The Build Settings tab has the following changes:
32+
33+
(1) "Generator" is now a dropdown to make selection clearer. A custom value can also be set.
34+
35+
(2) "Build all target" was added so it's now possible to change the "--target" value passed to the CMake building stage.
36+
See [Issue #1046](https://github.com/eclipse-cdt/cdt/issues/1046)
37+
38+
(3) "Build type" was added so it's now possible to change the CMAKE_BUILD_TYPE value passed to the CMake configuring stage, including a custom value.
39+
See [Issue #1090](https://github.com/eclipse-cdt/cdt/issues/1090)
40+
41+
## Core Build Configuration naming improvements
42+
43+
### Launch Target now used for tracking Core Build configurations
44+
45+
Previously the active launch mode and selected toolchain were used to choose the active Core Build configuration. Now the active launch target is also used. You can see the affect of this in the project's build output directory name. Notice the name of the build directory; "cmake.debug.win32.x86_64.Local" and "cmake.run.win32.x86_64.Local" end with the name "Local" which corresponds to the currently active Launch Target.
46+
47+
<p align="center"><img src="images/CDT-12.0-build-output-directory-uses-launch-target-name.png" width="80%"></p>
48+
49+
See [Issue #1076](https://github.com/eclipse-cdt/cdt/issues/1076)
50+
51+
Additionally, the build output directory name may be customized by ISVs - see [Core Build configuration build output directory name may be customized by ISVs](#core-build-configuration-build-output-directory-name-may-be-customized-by-isvs)
52+
53+
### "Default" name no longer used for Core Build configuration name
54+
55+
Previously the name "default" would appear as one of the project's build directory names. This is no longer used and the name will always follow the pattern described above.
56+
57+
See [Issue #1084](https://github.com/eclipse-cdt/cdt/issues/1084)
2958

3059
# Managed Build
3160

@@ -86,6 +115,12 @@ This example demonstrates the API, and how to contribute a new project wizard to
86115

87116
<p align="center"><img src="images/CDT-12.0-cmake-example-project-for-isvs.png"></p>
88117

118+
## Core Build configuration build output directory name may be customized by ISVs
119+
120+
The name used for the Core Build Configuration build output can now be customized by extending:
121+
122+
[org.eclipse.cdt.core.build.ICBuildConfigurationProvider#getCBuildConfigName](https://github.com/eclipse-cdt/cdt/blob/main/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfigurationProvider.java##L76-L94).
123+
89124
## Breaking API changes
90125

91126
Please see [CHANGELOG-API](CHANGELOG-API.md) for details on the breaking API changes in this release as well as future planned API changes.
72 KB
Loading
35.1 KB
Loading

0 commit comments

Comments
 (0)