Skip to content

papefe/cpp-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Hello World (C++ + CMake)

A simple C++ project using CMake, with a well-organized structure and automated build commands.

βš™οΈ Setup and Compilation

Load the Project Environment

source env.sh

This enables the following quick commands:

clean 🧹 Cleans the build directory.
build πŸ”¨ Compiles the project.
run πŸš€ Runs the compiled binary.

πŸ›  Manual Compilation (Optional) If you prefer to run CMake manually:

cmake -B build
cmake --build build
./build/bin/hola_mundo  # Run the binary

πŸ“ Notes

Make sure you have CMake and a C++ compiler installed. The build/ folder is ignored in Git (see .gitignore). You can modify env.sh to suit your needs.

About

A simple C++ "Hello, World" project using CMake for building and organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published