-
Notifications
You must be signed in to change notification settings - Fork 1
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 CMake modules to generate VSCode Launch and Settings files #11
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the target branch to develop
?
@@ -74,7 +77,7 @@ project(${PROJECT_NAME} VERSION 1.0 LANGUAGES C) | |||
|
|||
# Set the C standard and executable suffix | |||
set(CMAKE_EXECUTABLE_SUFFIX ".elf") | |||
set(CMAKE_C_STANDARD 11) | |||
set(CMAKE_C_STANDARD 99) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why C 99 instead of C 2011 or C 2018?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukewelchGB Current flags (flags.cmake
) are using -std=gnu99
so setting CMake to be in parity.
…e target automatically
@devinjaenicke @lukewelchGB please note I snuck another commit in on you ( |
Pull Request Pre-Flight Checklist
main
branch), did you increment/set the version inversion.h
accordingly?What issues does this close? (The keyword
closes
followed by a #ISSUE_NUMBER will automatically close the issue when this PR is completed. i.ecloses #10
)