MyExecutable is a C++ game/application that leverages a modern codebase with clear separation between source code and assets. The project uses CMake as its build system and is organized into well-defined directories for resources, source code, and build output.
- Modern C++20: Utilizes modern C++ features for cleaner and more efficient code.
- Graphics & Multimedia: Uses a variety of assets such as backgrounds, clouds, platforms, and more.
- Modular Design: Source code is split into implementation files (
src/cpp) and headers (src/headers). - Cross-Platform Build: Configured with CMake for easy compilation on multiple platforms.
- Organized Resources: All media assets (images, fonts) are stored in the
resources/directory.
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-namemkdir build && cd build
cmake ..
makecmake --build .This will generate the executable (named MyExecutable or as defined in your CMakeLists.txt) in the build/ directory.
After a successful build, run the executable:
./MyExecutableMake sure that the working directory is set such that the application can locate the resources folder. You may need to run it from the project root or adjust paths in your CMake configuration.
- C++20 Compiler: Ensure your compiler supports C++20 (e.g., GCC 10+, Clang 10+, MSVC 2019+).
- CMake: Version 3.20 or higher.
- Additional Libraries: Raylib.
This project is licensed under the MIT License.
