Skip to content

Commit 1bb8645

Browse files
Update ReadMe with clone and build instructions
1 parent 24bd4dd commit 1bb8645

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ReadMe.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@
44

55
Sample code for the video Project Template.
66

7+
# Obtaining the Source
8+
9+
Use git to clone this repository, then update the vcpkg submodule to bootstrap
10+
the dependency process.
11+
12+
```
13+
git clone https://github.com/LegalizeAdulthood/utah-cpp-project-template
14+
cd utah-cpp-project-template
15+
git submodule init
16+
git submodule update --depth 1
17+
```
18+
19+
# Building
20+
21+
A CMake preset has been provided to perform the usual CMake steps of
22+
configure, build and test.
23+
24+
```
25+
cmake --workflow --preset default
26+
```
27+
28+
Places the build outputs in a sibling directory of the source code directory, e.g. up
29+
and outside of the source directory.
30+
731
[Utah C++ Programmers](https://meetup.com/utah-cpp-programmers)\
832
[Past Topics](https://utahcpp.wordpress.com/past-meeting-topics/)\
933
[Future Topics](https://utahcpp.wordpress.com/future-meeting-topics/)

0 commit comments

Comments
 (0)