intellij icon indicating copy to clipboard operation
intellij copied to clipboard

Setting an environment variable to Bazel invocation

Open csitarichie opened this issue 4 months ago • 0 comments

Description of the issue. Please be specific.

I try to make all Bazel invocation with clion to be done where a specific envioment variable is set to a specific value

eg set DEVELOPER_DIR= to a specific Xcode toolchain.

What's the simplest set of steps to reproduce this issue? Please provide an example project, if possible.

use Xcode based Basel rules and try to build a cc rule based target where a specific Xcode version is needed and it is not set as default Xcode.

Version information

CLion: 2024.3 EAP Platform: Mac OS X 15.1 Bazel for CLion plugin: 2024.10.08.0.1-api-version-243 Bazel: 7.3.1

csitarichie avatar Oct 10 '24 11:10 csitarichie