Skip to content

Conversation

@eommc
Copy link
Contributor

@eommc eommc commented Oct 20, 2023

An update to the tutorial for #3428 to build in the folder build/Debug instead of build when the cmake_layout is used on linux.

@CLAassistant
Copy link

CLAassistant commented Oct 20, 2023

CLA assistant check
All committers have signed the CLA.

@juansblanco
Copy link
Contributor

Hi @eommc!

Changes are okey and will be implemented :)
I made a change to your branch to fix another path with your new changes.

Also we will make a change to the layout function in conanfile.py to indicate the new build path, which is the conan root by default but it's getting changed here.

@juansblanco
Copy link
Contributor

Need changes made in: conan-io/examples2#119

# CMake generator is multi-config
multi = True if self.settings.get_safe("compiler") == "msvc" else False
if multi:
self.folders.generators = os.path.join("build", "generators")
Copy link
Contributor

@czoido czoido Oct 27, 2023

Choose a reason for hiding this comment

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

Please, check this comment: https://github.com/conan-io/examples2/pull/119/files#r1374419599 in the examples2 PR

@czoido czoido merged commit 26976b9 into conan-io:release/2.0 Oct 30, 2023
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.

Improve tutorial for CMake layout on linux to avoid conflicts between Debug and Release

4 participants