Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlateralusX <lateralusx.github@gmail.com>2016-12-28 18:50:54 +0300
committerlateralusX <lateralusx.github@gmail.com>2016-12-28 18:50:54 +0300
commit23b8b5d387d3be6c2a24dc8ffcdb3f7c20350eb6 (patch)
treec9761ba18e3efccf0e89d7a0496a2d9e960e8811 /msvc/build-init.vcxproj
parentf997a6e0de836c3ec9f8a34bca2dc31b1760e5be (diff)
Fix build_init vcxproj to correctly detect changes in config.h.
build_init project doesn't detect changes done in config.h. This is needed in order for build_init to replace config.h with winconfig.h and backup cygconfig.h. This is normally an issue if you do a reconfigure and build using make and then msbuild. The msbuild will then fail, since config.h is still the cygwin version. Solution is to do a rebuild all that will trigger build_init. This fix will make sure that build_init gets invoked if there has been a change to config.h. There was also a very old issue with the first copy of config.h -> cygconfig.h. This is only done if there is no cygconfig.h in the directory. This means that the cygconfig.h will not be update until deleted and a new build_init has been invoked. This fix will make sure cygconfig.h is always updated if config.h is the cygwin generated version (not already replaced with winconfig.h).
Diffstat (limited to 'msvc/build-init.vcxproj')
-rw-r--r--msvc/build-init.vcxproj6
1 files changed, 4 insertions, 2 deletions
diff --git a/msvc/build-init.vcxproj b/msvc/build-init.vcxproj
index ee690bc78ca..e4bd714670e 100644
--- a/msvc/build-init.vcxproj
+++ b/msvc/build-init.vcxproj
@@ -18,6 +18,10 @@
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\config.h" />
+ <ClInclude Include="..\eglib\config.h" />
+ </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{92AE7622-5F58-4234-9A26-9EC71876B3F4}</ProjectGuid>
<RootNamespace>buildinit</RootNamespace>
@@ -140,8 +144,6 @@
<Command>winsetup.bat</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
- <ItemGroup>
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>