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.filters
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.filters')
-rw-r--r--msvc/build-init.vcxproj.filters7
1 files changed, 6 insertions, 1 deletions
diff --git a/msvc/build-init.vcxproj.filters b/msvc/build-init.vcxproj.filters
index ef1ebf58630..bcde289799b 100644
--- a/msvc/build-init.vcxproj.filters
+++ b/msvc/build-init.vcxproj.filters
@@ -1,2 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" /> \ No newline at end of file
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <ClInclude Include="..\eglib\config.h" />
+ <ClInclude Include="..\config.h" />
+ </ItemGroup>
+</Project> \ No newline at end of file