Welcome to Cmake-playground! 🎉
This repository is my personal sandbox for learning CMake, experimenting with builds, and having some fun along the way. Everything here is just for exploration, testing ideas, and improving my C++ project-building skills.
⚠️ Note: This is a learning space, so expect messy code, experiments that break, and lots of trial-and-error.
- Learn CMake: Explore commands, targets, build types, and more.
- Experiment Freely: Try things out without worrying about production-ready code.
- Reference for Myself: Keep tips, snippets, and tricks for future projects.
- Fun: Because learning should be enjoyable 😎
- Minimal CMake examples for personal learning
- Build configuration testing (Debug/Release)
- Experimenting with modern CMake best practices
- Playground for trying out external libraries and dependencies
# Clone the repository
git clone https://github.com/InterCentury/Cmake-playground.git
cd Cmake-playground
# Create a build directory
mkdir build && cd build
# Generate build system with CMake
cmake ..
# Build the project
cmake --build .Cmake-playground/
├── CMakeLists.txt # Main CMake configuration file
├── src/ # Primary source files for experiments
│ ├── main.cpp # Entry point of experimental code
│ └── ... # Additional source files
├── include/ # Header files
│ └── ... # Custom headers
├── examples/ # Example projects or CMake demos
│ ├── example1/ # First example project
│ │ ├── CMakeLists.txt
│ │ └── main.cpp
│ └── ... # Additional examples
├── tests/ # Test files for experiments
│ └── ...
├── docs/ # Notes, tutorials, references
│ └── README.md # Documentation for experiments
├── scripts/ # Helper scripts (build, cleanup, automation)
│ └── ...
├── build/ # Build directory (ignored in version control)
├── LICENSE # MIT License (2026 InterCentury)
└── README.md # Main repository description