Merge pull request #7 from TimothyHelton/feature/readme_update_2

ENH: add automation instructions
This commit is contained in:
Timothy Helton 2018-01-03 16:18:10 -07:00 committed by GitHub
commit 8408036078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,11 +12,16 @@ following components:
Feel free to fork this repository and tailor it to suit you.
## Procedure
1. Clone the Repository
1. Download Bash script to create new C++ projects
```bash
git clone https://github.com/TimothyHelton/cpp_project_template
curl -O https://raw.githubusercontent.com/TimothyHelton/cpp_project_template/master/new_cpp_project.sh
chmod u+x new_cpp_project.sh
```
1. In the top level **CMakeLists.txt**:
1. Create new C++ project
```bash
./new_cpp_project.sh NewProjectName
```
1. In the project top level **CMakeLists.txt**:
1. Line 2: Change the variable **MyProject** to the name of your project.
```cmake
project(NewProject)