Skip to content

[feature] Have a way to generate both conanbuild.bat and conanbuild.ps1 files. #11353

@datalogics-kam

Description

@datalogics-kam

It would be handy to have a way tools.env.virtualenv:powershell to create both .ps1 and .bat files.

  • .ps1 to activate within a user's interactive PowerShell if necessary.

  • .bat for when build scripting is using CMD to issue commands, and it needs to activate the environment to run CMake or some other command.

  • I've read the CONTRIBUTING guide.

This came out of using conan.tools to make a Conan 2.0-ish workflow while using Conan 1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions