dgquvn / repo

1 stars 1 forks source link

Disabled in-tree builds. Cleaned up build directories. #8

Closed jayjaybillings closed 7 years ago

jayjaybillings commented 7 years ago

It is generally bad practice to use CMake to build code in the same directory as the source, so I disabled in-tree builds. To build, you will now have to do

mkdir build
cd build
cmake ..
make

This is important because there is no good way to get a truly clean build if you build in-tree.

You should also avoid committing build directories to your repository, so I added build/ to .gitignore to keep it from being committed in the future.

Signed-off-by: Jay Jay Billings billingsjj@ornl.gov