diff options
author | Jo Shields <jo.shields@xamarin.com> | 2014-11-26 13:46:17 +0300 |
---|---|---|
committer | Jo Shields <jo.shields@xamarin.com> | 2014-11-26 14:42:31 +0300 |
commit | 9bdd77969a8f9057f3b46994135d39adb3ef216f (patch) | |
tree | c637af8be85cc0917de89def266f1ca6290f533e /msvc | |
parent | c092496335268f9ea06ad2401bc738aae3f86bec (diff) |
[msvc] duplicate 1d6b8a75fa31d60e9ddbc0b9eddbf05ed3fb6c12 for eglib
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/eglib.vcxproj | 18 | ||||
-rwxr-xr-x | msvc/winsetup.bat | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/msvc/eglib.vcxproj b/msvc/eglib.vcxproj index 8086d41a54e..3d1db4be7f3 100644 --- a/msvc/eglib.vcxproj +++ b/msvc/eglib.vcxproj @@ -129,7 +129,7 @@ </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>Disabled</Optimization>
@@ -145,7 +145,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SGen|Win32'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>Disabled</Optimization>
@@ -161,7 +161,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>MinSpace</Optimization>
@@ -175,7 +175,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SGen|Win32'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>MinSpace</Optimization>
@@ -189,7 +189,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
@@ -208,7 +208,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SGen|x64'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
@@ -227,7 +227,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
@@ -244,7 +244,7 @@ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SGen|x64'">
<PreBuildEvent>
- <Command>copy ..\eglib\winconfig.h ..\eglib\config.h</Command>
+ <Command>winsetup.bat</Command>
</PreBuildEvent>
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
@@ -304,4 +304,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
\ No newline at end of file +</Project>
diff --git a/msvc/winsetup.bat b/msvc/winsetup.bat index 6b1c6f8461e..f67a8545693 100755 --- a/msvc/winsetup.bat +++ b/msvc/winsetup.bat @@ -1,7 +1,9 @@ @echo off cd .. if exist config.h if not exist cygconfig.h copy config.h cygconfig.h +if exist eglib\config.h if not exist eglib\cygconfig.h copy eglib\config.h eglib\cygconfig.h copy winconfig.h config.h +copy eglib\winconfig.h eglib\config.h goto end :error echo fatal error: the VSDepenancies directory was not found in the "mono" directory |