Skip to content

Conversation

@ivdiazsa
Copy link
Contributor

@ivdiazsa ivdiazsa commented Nov 3, 2023

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

@ghost
Copy link

ghost commented Nov 3, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

Author: ivdiazsa
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ghost
Copy link

ghost commented Nov 3, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

Author: ivdiazsa
Assignees: ivdiazsa
Labels:

area-Infrastructure-coreclr

Milestone: -

@ivdiazsa
Copy link
Contributor Author

ivdiazsa commented Nov 3, 2023

Well it broke everything as I kind of expected. Now, currently investigating the issue 😄

@ivdiazsa
Copy link
Contributor Author

ivdiazsa commented Nov 6, 2023

Failure is unrelated, so this PR is now ready for review.

@ivdiazsa
Copy link
Contributor Author

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Contributor Author

Running the normal runtime pipeline to ensure this still works, since it's been a long while since it was tested.

Make sure we don't forget to return the cmake exist code, see #95408.
@ivdiazsa
Copy link
Contributor Author

Failures are unrelated to this change. Merging now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Development

Successfully merging this pull request may close these issues.

Use the -S and -B Options on the CMake Command Line to Specify Source and Build Directories Instead of Moving with pushd

3 participants