Browse Source

Einbindung ins automatische buildsystem

Kolja Strohm 6 years ago
parent
commit
ba274c99bc
3 changed files with 13 additions and 6 deletions
  1. 6 0
      KSGNetwork.sln
  2. 4 6
      KSGNetwork/KSGNetwork.vcxproj
  3. 3 0
      build.bat

+ 6 - 0
KSGNetwork.sln

@@ -7,16 +7,22 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KSGNetwork", "KSGNetwork\KS
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Win32 = Debug|Win32
 		Debug|x64 = Debug|x64
 		Debug|x86 = Debug|x86
+		Release|Win32 = Release|Win32
 		Release|x64 = Release|x64
 		Release|x86 = Release|x86
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|Win32.ActiveCfg = Debug|Win32
+		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|Win32.Build.0 = Debug|Win32
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|x64.ActiveCfg = Debug|x64
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|x64.Build.0 = Debug|x64
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|x86.ActiveCfg = Debug|Win32
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Debug|x86.Build.0 = Debug|Win32
+		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Release|Win32.ActiveCfg = Release|Win32
+		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Release|Win32.Build.0 = Release|Win32
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Release|x64.ActiveCfg = Release|x64
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Release|x64.Build.0 = Release|x64
 		{96295A91-C497-4691-B3F4-AE8CC7A7CEC5}.Release|x86.ActiveCfg = Release|Win32

+ 4 - 6
KSGNetwork/KSGNetwork.vcxproj

@@ -79,7 +79,7 @@
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <IncludePath>..\..\..\..\Allgemein\GSL\GSL\Include;..\..\..\..\Allgemein\Framework;..\..\..\..\Allgemein\Network\Network;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
-    <LibraryPath>..\..\..\..\Allgemein\Framework\x32\Release;..\..\..\..\Allgemein\Network\x32\Release;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(NETFXKitsDir)Lib\um\x86;..\..\..\..\Allgemein\GSL\x32\Release</LibraryPath>
+    <LibraryPath>..\..\..\..\Allgemein\Framework\Release;..\..\..\..\Allgemein\Network\Release;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(NETFXKitsDir)Lib\um\x86;..\..\..\..\Allgemein\GSL\Release</LibraryPath>
   </PropertyGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
@@ -98,12 +98,10 @@
       <PreprocessorDefinitions>_MBCS;_X64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     </ClCompile>
     <CustomBuildStep>
-      <Command>
-      </Command>
+      <Command>copy "..\x64\Debug\KSGNetwork.dll" "..\..\Fertig\Debug\x64\data\bin\KSGNetwork.dll"</Command>
     </CustomBuildStep>
     <CustomBuildStep>
-      <Outputs>
-      </Outputs>
+      <Outputs>Kopieren...;%(Outputs)</Outputs>
     </CustomBuildStep>
     <Link>
       <AdditionalDependencies>Framework.lib;Network.lib;GSL.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
@@ -124,7 +122,7 @@
       <AdditionalDependencies>Framework.lib;Network.lib;GSL.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
     <CustomBuildStep>
-      <Command>copy "..\x32\Release\KSGNetwork.dll" "..\..\Fertig\x32\data\bin\KSGNetwork.dll"</Command>
+      <Command>copy "..\Release\KSGNetwork.dll" "..\..\Fertig\x32\data\bin\KSGNetwork.dll"</Command>
       <Outputs>Kopieren...;%(Outputs)</Outputs>
     </CustomBuildStep>
   </ItemDefinitionGroup>

+ 3 - 0
build.bat

@@ -0,0 +1,3 @@
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGNetwork.sln" /p:configuration=release /p:platform=win32
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGNetwork.sln" /p:configuration=release /p:platform=x64
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGNetwork.sln" /p:configuration=debug /p:platform=x64