https://github.com/kqsy/c-auto-comp
An automation of the command line compilation process for C and C++ files.
https://github.com/kqsy/c-auto-comp
c c-compiler cpp gcc gcc-complier
Last synced: about 2 months ago
JSON representation
An automation of the command line compilation process for C and C++ files.
- Host: GitHub
- URL: https://github.com/kqsy/c-auto-comp
- Owner: kqsy
- Created: 2025-01-10T23:56:45.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T04:10:40.000Z (about 2 months ago)
- Last Synced: 2025-03-03T05:18:36.571Z (about 2 months ago)
- Topics: c, c-compiler, cpp, gcc, gcc-complier
- Language: Python
- Homepage: https://kxso.xyz
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C[++] AutoCompiler
An automation of the command line compilation process for C and C++ files.--------------------------------------------------------------------------
# Function
Script takes an input file,
parses the name, and constructs
the appropriate command to compile
the new file.
File submission is very dynamic
and should be flexible to user input.
Can type absolute or relative path to file (if in same directory),
paste directories, drag-and-drop a file, or open a c or c++ file
with the script to compile it.# Prerequisites
* Have Python[3] installed
* Libraries _os_, _sys_ and _subprocess_
can be installed via pip, Conda, etc.
`pip3 install os sys subprocess`
* GCC and G++ package> on Ubuntu, commands already exist
> on Windows, user will need to install
[w64devkit](https://github.com/skeeto/w64devkit/releases/latest)
and add **w64devkit\bin** to "Path" in Environment Variables