-
Notifications
You must be signed in to change notification settings - Fork 42
PvPGN Visual Studio project
HarpyWar edited this page Jan 31, 2017
·
2 revisions
First build project using Magic Builder.
Then remove all rudimantary files in build except pvpgn.sln
and *.vcxproj
, *.vcxproj.filters
according to other projects and move it into build\projects\
pvpgn.sln
- remove
ALL_BUILD
,INSTALL
,ZERO_CHECK
- remove build types:
MinSizeRel
,RelWithDebInfo
-
src\
→build\projects\
projects
- remove
CMAKE_INTDIR
arg from the command line arguments section - remove whole
<ItemGroup>
with nested<CustomBuild>
where cmake found - remove
MinSizeRel
andRelWithDebInfo
build types - remove project reference
ZERO_CHECK
-
C:/pvpgn-magic-builder/build/src/
→$(ProjectDir)
-
C:\pvpgn-magic-builder\build;
→$(ProjectDir)..\..\atlmfc;$(ProjectDir)..\;$(ProjectDir)..\..\..\source\src;
(1) atlmfc, 2) config.h, 3) source dir ) -
C:\pvpgn-magic-builder\source\" →
$(ProjectDir)....\source` - (bnetd)
C:\pvpgn-magic-builder\module\include\
→$(ProjectDir)..\..\
- (bnetd)
zlib\1.2.8" →
....\zlib` - (bnetd)
mysql\5.6.19" →
....\mysql` - (bnetd)
lua\5.1" →
....\lua` - (bnetd, d2cs, d2dbs) → PvPGN.exe, D2CS.exe, D2DBS.exe
-
C:\pvpgn-magic-builder\build\src\PROJECTNAME\Release\
→$(SolutionDir)release
-
C:\pvpgn-magic-builder\build\src\PROJECTNAME\Debug\
→$(SolutionDir)release
projects.vcxproj.filters
- remove
<ItemGroup>
withCMakeLists.txt
projects.vcxproj.user (new file for each project to set Working Directory)
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\..\..\release</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>$(ProjectDir)..\..\..\release</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>