Skip to content

CSGLMZBA/VS-Setup-ToolsFixed

 
 

Repository files navigation

App-Core Project Setup Creator

A collection of files and batch files to simplify the creation of a VSCode with an App/Core Architecture with a specialized batch file for c++ projects using Cmake.
The created project can be used in Visual Studio.

Warning

THIS IS A COMMAND LINE TOOL THAT REQUIRES VSCODE

Note

This project is regularly updated to meet my needs so if you don't like something feel free to fork this and change it.

Setting up

You can download the repository in your desired location or clone the repository.

git clone https://github.com/some1hundred/VSCode-ProjectTools.git

and done! you may now use the scripts

Adding to PATH

Add the VSCode-ProjectTools folder to the path with the following tutorials:

Windows

Watch the video

Usage

In this section the use of the tool is explained:

Requirements

You will need Visual Studio Code
And the following extensions

Creating the Project

For the C++ Specialized Projects run

Projc NameOfYourProject g

Replacing NameOfYourProject with the name you want to assign to it and g as an optional feature to include github files with it.

For Projects using any other languages run

ProjType NameOfYourProject FileExtension g

Replacing NameOfYourProject with the name you want to assign to, FileExtension with the file extension of your program and g as an optional feature to include github files with it.

VScode will be opened automatically inside the folder if its on the path otherwise you can open it manually.

C+ Projects with CMake

Inside VSCode

Modifiy the files as you wish (you can change the name of the executable with the cmake list in the App folder).
Press ⌃ Control + ⇧ Shift + P
CtrlShiftP
Type select a kit once the option appears press ⏎ Enter
CtrlShiftP
Select your desired kit or scan for kits if none appear and repeat the previous steps.
CtrlShiftP
Build the project with the cmake tools buttons added on the lower right corner.
CtrlShiftP

Using Visual Studio

After building with the Visual Studio kit open the generated build folder on the explorer
CtrlShiftP
Open the .sln file generated on the build folder with VS.
CtrlShiftP
Right Click on the App Project in the Solution Explorer
CtrlShiftP
And you are all set! Just Configure the solution preferences to your liking Click on Set as startup project
CtrlShiftP

About

batch commands to simplify the creation of a c++ cmake project in VScode or any other language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 74.6%
  • Batchfile 19.7%
  • CMake 5.7%