C ToolkitA VSCode extension to help create, build, run, debug and test C projects using CMake. Features
RequirementsThe following software must be installed for this extension to work properly.
All 4 of these can be installed via MSYS2. Status Bar ButtonsSeven status bar buttons have been implemented to:
Project GenerationA new CMake project can be created with necessary biolerplate code using
the 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. Project FilesThe 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. Component GenerationA new component can be created with some biolerplate code by using the
Mocked Components"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 Components"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. Component FilesA component would have the following files
It would also modify the root CMakeLists.txt to add the new component BuildingI keep forgetting the build command. Use |