https://github.com/dibsonthis/new_cmd
A batch file to help scaffold a simple build system for C++, C or Python.
https://github.com/dibsonthis/new_cmd
Last synced: 6 months ago
JSON representation
A batch file to help scaffold a simple build system for C++, C or Python.
- Host: GitHub
- URL: https://github.com/dibsonthis/new_cmd
- Owner: dibsonthis
- Created: 2021-10-28T06:42:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T07:05:57.000Z (almost 5 years ago)
- Last Synced: 2025-08-11T21:45:45.294Z (12 months ago)
- Language: Batchfile
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
A batch file to help scaffold a simple build system for C++, C or Python.
Format:
new [Project Name] [Language]
Example:
new NewProj c++
This will create the following:
Folder "NewProj"
> Folder "code"
>> program.cpp
>> build.bat
>> debug.bat
>> edit.bat
>> run.bat
> Folder "build"
Running build.bat will build program.cpp into the build folder.
Running edit.bat [file - optional] will open program.cpp in VSCode if no arg provided, otherwise it will open the file provided in VSCode.
Running debug.bat runs devenv on program.exe.
Running run.bat runs program.exe.