1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/build
betamax cf359d59ad
Stops CMake build output folders being named "default" (#1084)
The default IBuildConfiguration is no longer used by projects that use
ICBuildConfigurationProvider.

For CMake, Makefile and other Core Build projects the build output
folder is sometimes named "default" rather than the pattern
toolName.launchMode.toolchain OS.toolchain Arch.launchTarget Id (eg:
cmake.debug.win32.x86_64.Local). PR #1076 exposes new API
(ICBuildConfigurationProvider.getCBuildConfigName) to encourage this
naming pattern.

The "sometimes" is variable and often happens when a project is first
created when the active launch target is Local and the launch mode is
"run", but not always. This gives a random, inconsistent impression to
CDT.

The Platform project always contains a IBuildConfiguration with the name
IBuildConfiguration.DEFAULT_CONFIG_NAME. It seems the original Core
Build system design went to some length to fit in with this and always
make use of this IBuildConfiguration when pairing it with a new
ICBuildConfiguration.

With this PR, this no longer happens, allowing CDT code to be simplified
and the build folder naming made consistent, always adhering to
ICBuildConfigurationProvider.getCBuildConfigName.

Addresses Issue: CDT CMake Improvements #1000, IDE-82683-REQ-024 Default
CMake build folder
2025-02-19 20:55:50 -05:00
..
org.eclipse.cdt.autotools-feature Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.autotools.core Update to latest versions of build tools (#986) 2025-01-06 20:37:10 -05:00
org.eclipse.cdt.autotools.docs Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.autotools.tests Bump all bundles that are missing BREE in 11.3.0 2023-09-15 07:24:17 -04:00
org.eclipse.cdt.autotools.ui Update to latest versions of build tools (#986) 2025-01-06 20:37:10 -05:00
org.eclipse.cdt.autotools.ui.tests Bump all bundles that are missing BREE in 11.3.0 2023-09-15 07:24:17 -04:00
org.eclipse.cdt.build.gcc.core Detect MSYS2 UCRT64 toolchains for CDT Core Build 2024-08-17 22:42:31 +01:00
org.eclipse.cdt.build.gcc.core.tests fix code cleanlines 2022-11-18 10:55:40 -05:00
org.eclipse.cdt.build.gcc.ui Build with Tycho 4.0.6 (#715) 2024-02-22 21:38:57 -05:00
org.eclipse.cdt.core.autotools-feature Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.core.autotools.core Stops CMake build output folders being named "default" (#1084) 2025-02-19 20:55:50 -05:00
org.eclipse.cdt.core.autotools.ui Build with Tycho 4.0.6 (#715) 2024-02-22 21:38:57 -05:00
org.eclipse.cdt.gnu.build-feature Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.make.core Stops CMake build output folders being named "default" (#1084) 2025-02-19 20:55:50 -05:00
org.eclipse.cdt.make.core.tests Cosmetic changes to unit test 2022-11-07 10:04:20 -05:00
org.eclipse.cdt.make.ui Bump org.eclipse.cdt.core/ui bundle version to 9.0.0 (#1063) 2025-01-29 14:21:09 -05:00
org.eclipse.cdt.make.ui.tests Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.managedbuilder.core Issue #1058: Moved generation of the compile_commands.json (#1075) 2025-02-03 10:36:17 -05:00
org.eclipse.cdt.managedbuilder.core.tests Issue #1058: Moved generation of the compile_commands.json (#1075) 2025-02-03 10:36:17 -05:00
org.eclipse.cdt.managedbuilder.gnu.ui Bump org.eclipse.cdt.core/ui bundle version to 9.0.0 (#1063) 2025-01-29 14:21:09 -05:00
org.eclipse.cdt.managedbuilder.headlessbuilderapp Build with Tycho 4.0.6 (#715) 2024-02-22 21:38:57 -05:00
org.eclipse.cdt.managedbuilder.ui Bump org.eclipse.cdt.core/ui bundle version to 9.0.0 (#1063) 2025-01-29 14:21:09 -05:00
org.eclipse.cdt.managedbuilder.ui.tests Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.meson-feature Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.meson.core Stops CMake build output folders being named "default" (#1084) 2025-02-19 20:55:50 -05:00
org.eclipse.cdt.meson.docs Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.meson.ui Update to latest versions of build tools (#986) 2025-01-06 20:37:10 -05:00
org.eclipse.cdt.meson.ui.editor Build with Tycho 4.0.6 (#715) 2024-02-22 21:38:57 -05:00
org.eclipse.cdt.meson.ui.tests Update maven dependencies to latest versions, especially Hamcrest 2025-01-16 14:57:42 -05:00
pom.xml Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00