https://github.com/kerneloso/cmake_project_template
CMake projects configuration files
https://github.com/kerneloso/cmake_project_template
c cmake configuration-files cpp
Last synced: 2 months ago
JSON representation
CMake projects configuration files
- Host: GitHub
- URL: https://github.com/kerneloso/cmake_project_template
- Owner: KernelOso
- Created: 2025-06-13T00:57:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-13T03:53:36.000Z (about 1 year ago)
- Last Synced: 2025-06-13T04:29:29.502Z (about 1 year ago)
- Topics: c, cmake, configuration-files, cpp
- Language: CMake
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# CMake Projects Template
This is just a simple `CMakeLists` file template for my C/C++ projects.
This config is based on [This Video](https://www.youtube.com/watch?v=IBgfeZME2Vw) from developer @meemknight
# Initialize a basic project
C :
```
curl -s https://raw.githubusercontent.com/KernelOso/CMake_Project_Template/refs/heads/main/scripts/init.sh | bash -s -- base c
```
C++
```
curl -s https://raw.githubusercontent.com/KernelOso/CMake_Project_Template/refs/heads/main/scripts/init.sh | bash -s -- base cpp
```
# Index of Templates
### Flecs :
- Flecs (Static) : [CMakeFile](./presets/flecs/CMakeLists.txt) | [Init Scrips](./presets/flecs/project.md)
- flecs + SDL2 : [CMakeFile](./presets/flecs-sdl2/CMakeLists.txt) | [Init Scrips](./presets/flecs-sdl2/project.md)
### SDL2 :
- SDL2 (Static) : [CMakeFile](./presets/sdl2/CMakeLists.txt) | [Init Scrips](./presets/sdl2/project.md)
- flecs + SDL2 : [CMakeFile](./presets/flecs-sdl2/CMakeLists.txt) | [Init Scrips](./presets/flecs-sdl2/project.md)