File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 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:\b oost_1_57_0\b uild\l ib -DBOOST_INCLUDE=D:\b oost_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.
You can’t perform that action at this time.
0 commit comments