A VSCode extension to help create, build, run, debug and test C projects using CMake.
The following software must be installed for this extension to work properly.
All 4 of these can be installed via MSYS2.
Status Bar Buttons
Seven status bar buttons have been implemented to:
A new CMake project can be created with necessary biolerplate code using
It would then ask the user to select a base folder in which the project folder is to be placed. When a base folder is selected, the user would be asked to input the project name.
The new project folder would contain these pre-configured items:
The user can then start adding their own libraries or "components" via the component generation feature.
A new component can be created with some biolerplate code by using the
"Mocked" means a mock file would be created inside a "mock" folder. If
the component name is
To enable mocking of this component, a variable named ENABLE_LIBRARY_MOCK would have to be manually set in the root CMake.
"Tested" means test header and source files would be created inside
a "test" folder. If the component name is
To enable testing of this component, a variable named ENABLE_LIBRARY_TEST would have to be manually set in the root CMake.
A component would have the following files
It would also modify the root CMakeLists.txt to add the new component
I keep forgetting the build command. Use