Reference Material : HERE
Source code (hello_sree.cc):
build file (jamroot.jam or Jamroot):
Now in terminal, change the present working directory to the folder where the code and build-file resides. Run any of the below commands:
Ensure you have a space between “hello_sree.cc” and “;” in the build file. Otherwise you will get the below error:
You will get this message at the successful run:You will see a bin folder with a hierarchy of folders and executable file created as part of successful build of our program