Skip to content

Commit f556e24

Browse files
committed
add more info in test/readme.md
1 parent 0b19aa3 commit f556e24

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

test/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
Use following instruction to build.
1+
You need have your boost unpacked on your disk, at least staged following modules:
2+
3+
* system
4+
* date_time
5+
* random
6+
* unit_test_framework
7+
8+
Then use following instruction to gen makefile or VS project.
29
```bash
3-
cmake -DBOOST_LIB=`<your boost static libs path>` -DBOOST_INCLUDE`<your boost include path>` -DBOOST_VER:STRING=`<your boost version>` -DCMAKE_BUILD_TYPE=Debug ./
4-
```
10+
cmake -DBOOST_LIB=`<your boost static libs path>` -DBOOST_INCLUDE=`<your boost include path>` -DBOOST_VER:STRING=`<your boost version>` -DCMAKE_BUILD_TYPE=Debug ./
11+
```
12+
Then run `make` or open by VS.
13+
14+
For example I've installed boost 1.57.0 at `D:\boost_1_57_0` and staged the static lib at `D\boost_1_57_0\build\lib` then the command should be:
15+
```bash
16+
cmake -DBOOST_LIB=D:\boost_1_57_0\build\lib -DBOOST_INCLUDE=D:\boost_1_57_0 -DBOOST_VER:STRING=1.57.0 -DCMAKE_BUILD_TYPE=Debug ./
17+
```
18+
In this case(Windows) CMake will create a VS project under `./test` folder. Open in VS and run it.

0 commit comments

Comments
 (0)