This is a Python script to help you build your C simple/mulitfile project.
If you are writing C program in VS Code and you are trapped in the c compilment configuration, this may help you.
Note: put `compiler-script.py in the root of files.
python3 compiler-script.pyOR
chomd +x ./compiler-script.py
./compiler-script.pyWe use compiler-script.configuration to configure this script.
This script also has default value.
It only use GCC as compiler, and clang (llvm) has been not support yet.
For example, in Ubuntu:
ProjectName = Test
#You can't change it.(script ignore this option.)
#Compiler = gcc
#Third-party library dependence.
LibraryDependence = ""
#
OptLevel = 0
#LibrarySearchPath should use with LibraryDependence.It means additional path to search.
LibrarySearchPath = .:lib/Note: misc.h, misc.c test.c was used to test.
It only depends on Python Stdand Library.
No third-party libraries are required (thus, this project does't have requirements.txt)
It has not been tested fully yet.(I hope you could help me to test this :)
We use MIT to release this script.