Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing Toolchain Submodule #452

Open
xmos-jmccarthy opened this issue May 24, 2022 · 0 comments
Open

Removing Toolchain Submodule #452

xmos-jmccarthy opened this issue May 24, 2022 · 0 comments

Comments

@xmos-jmccarthy
Copy link
Contributor

Thank you for submitting an SDK feature request. Please provide as much information you can.

Describe the feature
It is possible to use cmake to fetch a toolchain file. This must be done before any project is declared.

include(FetchContent)
FetchContent_Declare(xmos_cmake_toolchain
GIT_REPOSITORY https://github.com/xmos/xmos_cmake_toolchain.git
GIT_TAG origin/main
)

FetchContent_MakeAvailable(xmos_cmake_toolchain)

project(...)

Will this change any current APIs? How?
Top level cmake command arg CMAKE_TOOLCHAIN_FILE value would change from xmos_cmake_toolchain/xs3a.cmake to _deps/xmos_cmake_toolchain-src/xs3a.cmake

Who will benefit with this feature?

Any Other info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant