【vs新手】c++游戏后台框架项目 如何导入到vs2015
vs2015吧
全部回复
仅看楼主
level 2
事情是这样的在github上下载了一个c++后台项目 但是不知道如何导入 其下载地址为:https://github.com/obi-two/mmoserver。上面的说明如下:
Building/Installing
Pre-Requisits
CMake 2.8 or higher
Download the latest version of CMake for your OS.
C++0x Compatible Compiler
Windows: Visual Studio 2013 or higher is required Unix: GCC 4.6 or higher is required
Windows Builds
To build the server on Windows simply double-click the BuildServer.bat file in the project root. This will download and build all the dependencies and sources and then generate a /bin directory with the server executables.
大概也是是双击 运行BuildServer.bat就行,但是打开该文件后发现是用的vs2013,其代码如下:
if not exist "%VS120COMNTOOLS%" (
set "VS120COMNTOOLS=%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\Common7\Tools"
if not exist "!VS120COMNTOOLS!" (
set "VS120COMNTOOLS=%PROGRAMFILES%\Microsoft Visual Studio 12.0\Common7\Tools"
if not exist "!VS120COMNTOOLS!" (
rem TODO: Allow user to enter a path to their base visual Studio directory.
echo ***** Microsoft Visual Studio 12.0 required *****
exit /b 1
)
)
)
set "MSBUILD=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
call "%VS120COMNTOOLS%\vsvars32.bat" >NUL
请问如何修改以上代码才能使其在vs2015上运行
2016年07月26日 04点07分 1
level 2
防尘补丁v1.0
2016年07月26日 04点07分 2
level 2
防尘补丁v1.0.1
2016年07月26日 04点07分 3
level 2
防尘补丁v1.0.2
2016年07月26日 04点07分 4
level 2
防尘补丁v1.0.3
2016年07月26日 04点07分 5
1