A simple template for starting a C project.
This template provides a basic structure for starting a C project. It includes essential directories and files to help you organize your code and easily get started with development using the CMake to generate a build system including the Makefile/build.ninja.
.C_Project_Environment
├── bin
│ ├── build
│ │ └── build
│ ├── debug
│ │ └── debug
│ ├── release
│ │ └── release
│ └── test
│ └── test
├── doc
│ ├── pdf
│ │ └── NONE.pdf
│ └── TODO.md
├── download
│ └── download
├── LICENSE
├── C_Project_Environment.code-workspace
├── pkg
│ ├── C-Cpp_pkg.cmd
│ ├── C-Cpp_pkg.sh
│ └── CMakeLists.txt
├── project
│ ├── doc
│ │ └── doc
│ ├── inc
│ │ └── inc.h
│ ├── res
│ │ └── res
│ └── src
│ ├── lib.c
│ └── main.c
├── README.md
└── run.sh
15 directories, 19 files
To lunch the project on your Linux system, follow these steps:
-
Clone the Repository:
git clone https://github.com/ZouariOmar/Run_C_Project.git
-
Navigate to the Directory:
cd 'Normal C Project Environment'
-
Make the script executable:
chmod +x run.sh
-
Build & Run the Application:
./run.sh <COMMAND>
-
COMMAND: make/ninja
-
Note: if you are using VSC, you can't run your program using the "Code Runner" extension
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, please feel free to reach out to us at zouariomar20@gmail.com