example-hello-world

README - example-cpp-hello-world

A simple example of the classic “Hello World!” C++ example built using cmake.

Build Instructions

  1. Generate cmake environment
    $ cmake -S ./src -B ./build
    
  2. Build the project
    $ cmake --build ./build
    
  3. Clean the project
    $ cmake --build ./build --target clean
    

Note: Simple helper shell-scripts have been included for generating the cmake files, running the build and cleaning the environment.

Ensure these are recognised as executable files and if not, run the following commannd:

$ chmod +x ./cmk*.sh

Note: The cmkclean.sh shell-script accepts a command-line arg to completely reset the environment.

$ ./cmkclean --very-clean