diff options
author | lateralusX <lateralusx.github@gmail.com> | 2017-09-29 15:19:44 +0300 |
---|---|---|
committer | lateralusX <lateralusx.github@gmail.com> | 2017-10-03 10:20:12 +0300 |
commit | 216b92db17ef8c7d6cf86e6cd483df2c420251eb (patch) | |
tree | 77095420b57539f8e4b87409fab6a81ac557d7e9 /msvc/README | |
parent | 0f3ca07b429a800982581f587d1af3b07d66aadd (diff) |
Updated with review feedback.
Diffstat (limited to 'msvc/README')
-rwxr-xr-x | msvc/README | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/msvc/README b/msvc/README index 7c6541e0282..375febbdbb2 100755 --- a/msvc/README +++ b/msvc/README @@ -22,12 +22,16 @@ MAINTENANCE Files that should not be build on Windows should be excluded using this configuration: <ClCompile Include="$(MonoSourceLocation)\mono\mini\tramp-wasm.c"> - <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild> - <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> - <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> - <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> + <ExcludedFromBuild>$(ExcludeFromWindowsBuild)</ExcludedFromBuild> </ClCompile> + and at the begning of the target file have a property set when to exclude files. This example will always + exclude the file, but could be condtional if needed: + + <PropertyGroup> + <ExcludeFromWindowsBuild>true</ExcludeFromWindowsBuild> + </PropertyGroup> + All header files added to makefiles should be included in the different targets files for consistency. Each target file has a corresponding filter file, files added to target files should also be added to the corresponding |