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

Add support for cmake-tools extension #10

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

will-v-pi
Copy link
Collaborator

Add a cmake-kits.json, which allows the cmake-tools extension to compile the project, using the correct Ninja, Python, and compiler.

By default we will still use our cmake configuration function, but this allows more advanced users to use the cmake-tools extension instead, which allows configuration of things like build directories elsewhere.

Add a cmake-kits.json, which allows the cmake-tools extension to compile the project, using the correct Ninja, Python, and compiler.

Signed-off-by: William Vinnicombe <[email protected]>
Adds support for compiling with CMake Tools, instead of this extension

Also compile project whenever raspberry-pi-pico.launchTargetPath is called, to remove need for the preLaunchTask when debugging

Signed-off-by: William Vinnicombe <[email protected]>
@will-v-pi
Copy link
Collaborator Author

To test this PR, you can create a project in the normal way, then set raspberry-pi-pico.cmakeAutoConfigure to false and raspberry-pi-pico.useCmakeTools to true, and configure the project using the CMake Tools extension.

@will-v-pi will-v-pi marked this pull request as ready for review April 16, 2024 17:30
@will-v-pi will-v-pi merged commit 0bb5661 into main Apr 17, 2024
1 check passed
@will-v-pi will-v-pi deleted the cmake-tools-compatibility branch April 26, 2024 17:44
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.

1 participant