1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/cmake
John Moule 5539a6e070 Stops CMake build output folders being named "default"
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:07:22 -05:00
..
aggregator Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.cmake-feature Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
org.eclipse.cdt.cmake.core Stops CMake build output folders being named "default" 2025-02-19 20:07:22 -05:00
org.eclipse.cdt.cmake.core.tests Add UI for user to control build type (#1090) 2025-02-19 13:36:13 -05:00
org.eclipse.cdt.cmake.example The active Launch Target is now saved in the ICBuildConfiguration (#1076) 2025-02-12 12:30:48 -05:00
org.eclipse.cdt.cmake.ui Add UI for user to control build type (#1090) 2025-02-19 13:36:13 -05:00
org.eclipse.cdt.cmake.ui.tests Fix copy and paste error in CMake manual test instructions (#1062) 2025-01-28 14:18:34 -05:00
pom.xml Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
README.txt Bug 564349 - move code to parse compile_commands.json to subdir jsoncdb 2021-07-27 15:25:54 -04:00

Files in this directory tree provide CMake support for the CDT core build.