Skip to content

Allow --output-folder and --source-folder in editables and install/build cmds - #10274

Merged
franramirez688 merged 30 commits into
conan-io:developfrom
memsharded:feature/new_cpp_info_absolute_editable_folders
Jan 26, 2022
Merged

franramirez688 merged 30 commits into
conan-io:developfrom
memsharded:feature/new_cpp_info_absolute_editable_folders

Conversation

@memsharded

@memsharded memsharded commented Jan 4, 2022

Copy link
Copy Markdown
Member

Changelog: Feature: Adding --source-folder and --output-folder to conan editable and conan install to work with layout().
Docs: conan-io/docs#2377

Followup of #10207
Superseded and deprecated previous PR #10180

Comment thread conans/client/conan_api.py Outdated
if source_folder is not None:
source_folder = _make_abs_path(source_folder)
if build_folder is not None:
build_folder = _make_abs_path(build_folder)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can pass for both _make_abs_path methods cwd as the second argument.

Comment thread conans/client/cmd/build.py
Comment thread conans/client/command.py Outdated
@memsharded memsharded changed the title Allow --build-folder in editables and install/build cmds Allow --output-folder and --source-folder in editables and install/build cmds Jan 25, 2022
@franramirez688
franramirez688 merged commit 9c34ea7 into conan-io:develop Jan 26, 2022
@memsharded
memsharded deleted the feature/new_cpp_info_absolute_editable_folders branch January 26, 2022 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants