-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0331eb5
commit 0585f01
Showing
8 changed files
with
57 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include <WinSock2.h> | ||
#include <Windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
生成Visual Studio 2013/2015工程方法: | ||
生成Visual Studio 2017/2015工程方法: | ||
|
||
1.安装git | ||
2.安装cmake, 并将cmake可执行文件加入系统目录 | ||
3.启动git bash, 并切换到你正在阅读的这个README文件所在目录 | ||
4.执行脚本 ./make_vs_projs.sh | ||
5.在当前目录下会生成不同版本的vs工程文件, 直接使用即可 | ||
|
||
另外, 如果你想运行测试代码和教程代码, 需要安装boost, | ||
另外, 如果你想运行测试代码和教程代码, 需要安装boost(编译x64的lib), | ||
并且在执行脚本时给出boost的安装目录, 例如: | ||
$ ./make_vs_projs.sh -DBOOST_ROOT="E:\\boost_1_61_0" | ||
$ ./make_vs_projs.sh -DBOOST_ROOT="E:\\boost_1_68_0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
#!/bin/sh | ||
|
||
git submodule update --init --recursive | ||
mkdir vs2017/x64 vs2015/x86 vs2015/x64 -p | ||
|
||
mkdir vs2013/x86 vs2013/x64 vs2015/x86 vs2015/x64 -p | ||
PATH=$PATH:/c/Program\ Files/CMake/bin/ | ||
|
||
rm vs2013/x86/* -rf | ||
cd vs2013/x86 | ||
cmake ../../.. -G"Visual Studio 12 2013" $@ | ||
rm vs2017/x64/* -rf | ||
cd vs2017/x64 | ||
cmake.exe ../../.. -G"Visual Studio 15 2017 Win64" $@ | ||
cd ../.. | ||
|
||
rm vs2013/x64/* -rf | ||
cd vs2013/x64 | ||
cmake ../../.. -G"Visual Studio 12 2013 Win64" $@ | ||
cd ../.. | ||
|
||
rm vs2015/x86/* -rf | ||
cd vs2015/x86 | ||
cmake ../../.. -G"Visual Studio 14 2015" $@ | ||
cd ../.. | ||
|
||
rm vs2015/x64/* -rf | ||
cd vs2015/x64 | ||
cmake ../../.. -G"Visual Studio 14 2015 Win64" $@ | ||
cd ../.. | ||
#rm vs2015/x86/* -rf | ||
#cd vs2015/x86 | ||
#cmake ../../.. -G"Visual Studio 14 2015" $@ | ||
#cd ../.. | ||
# | ||
#rm vs2015/x64/* -rf | ||
#cd vs2015/x64 | ||
#cmake ../../.. -G"Visual Studio 14 2015 Win64" $@ | ||
#cd ../.. |