Skip to content

Core Build Makefile project ignores custom working directory if build output location is "Build in project directory" #1332

@i-garrison

Description

@i-garrison

I would like to have dedicated build directory for Core Build Makefile project. I want a specific name build inside project directory and would not like to use make.run.linux.x86_64.Local which is used by launch configuration. I'm trying to do this via Launchbar Edit Configuration:

  • Tab Build Settings section Build Output Location select Build in project directory
  • Tab Arguments section Working directory uncheck Use default and set desired ${workspace_loc:myproject}/build

Steps to reproduce the behavior: Configure build settings and working directly as above and click Build button

Expected behavior
Working directory override setting takes precedence over default project directory.
make runs Building in: /full/path/to/myproject/build

Actual behavior
Working directory override is ignored and default project directory is used.
make runs Building in: /full/path/to/myproject

Note if I select Build in configuration specific directory and set Working directory to ${workspace_loc:myproject}/build, then override takes precedence and make runs Building in: /full/path/to/myproject/build/make.run.linux.x86_64.Local

EDIT: I'm confused about actual behavior, since when I tried more combinations and selected Build in configuration specific directory while setting Working directory to different one ${workspace_loc:myproject}/bbb it would stick to Building in: /full/path/to/myproject/build so it appears that it ignores the override there too?

Version Information:

  • OS Linux
  • Eclipse Version: 2025-09
  • CDT Version: 12.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuild components of CDT, anything to do with running the compiler, using Make, CMake, or any builder

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions