diff options
| author | ruki <[email protected]> | 2024-02-05 20:21:56 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-05 20:21:56 +0800 |
| commit | 82d274e6ce6ee91e76a2a4df9779fac8c0279e00 (patch) | |
| tree | da0f6dd835981ca0ee0c2d1b659539addefd8d02 | |
| parent | 4972cfb86feab7310995ffeb84edd656017efab8 (diff) | |
| parent | 9d46aeac62ec8559460007494334290af67b9dd1 (diff) | |
Merge pull request #4705 from SirLynix/vsproject_warning
Remove XmakeWarning options from vsxmake projects
| -rw-r--r-- | xmake/scripts/vsxmake/vsproj/Xmake.props | 1 | ||||
| -rw-r--r-- | xmake/scripts/vsxmake/vsproj/Xmake.targets | 4 | ||||
| -rw-r--r-- | xmake/scripts/vsxmake/vsproj/Xmake.xml | 6 | ||||
| -rw-r--r-- | xmake/scripts/vsxmake/vsproj/templates/Xmake.Custom.props | 7 |
4 files changed, 2 insertions, 16 deletions
diff --git a/xmake/scripts/vsxmake/vsproj/Xmake.props b/xmake/scripts/vsxmake/vsproj/Xmake.props index 3e3a33298..c5c0d6029 100644 --- a/xmake/scripts/vsxmake/vsproj/Xmake.props +++ b/xmake/scripts/vsxmake/vsproj/Xmake.props @@ -41,7 +41,6 @@ <PropertyGroup Label="XmakeFlagsFallback"> <XmakeCleanAll Condition="'$(XmakeCleanAll)' == ''">true</XmakeCleanAll> - <XmakeWarning Condition="'$(XmakeWarning)' == ''">true</XmakeWarning> <XmakeVerbose Condition="'$(XmakeVerbose)' == ''">false</XmakeVerbose> <XmakeDiagnosis Condition="'$(XmakeDiagnosis)' == ''">false</XmakeDiagnosis> <XmakeRebuildFile Condition="'$(XmakeRebuildFile)' == ''">false</XmakeRebuildFile> diff --git a/xmake/scripts/vsxmake/vsproj/Xmake.targets b/xmake/scripts/vsxmake/vsproj/Xmake.targets index 55f6b1fd2..b7db71d2f 100644 --- a/xmake/scripts/vsxmake/vsproj/Xmake.targets +++ b/xmake/scripts/vsxmake/vsproj/Xmake.targets @@ -48,9 +48,6 @@ <_XmakeConfigFlags>$(XmakeConfigFlags.Trim())</_XmakeConfigFlags> <_XmakeConfigFlags>-p $(XmakePlat) -m $(XmakeMode) -a $(XmakeArch) $(_XmakeOutFlag) $(_XmakeConfigFlags.Trim())</_XmakeConfigFlags> - <_XmakeBuildFlags>$(XmakeBuildFlags.Trim())</_XmakeBuildFlags> - <_XmakeBuildFlags Condition="$(XmakeWarning)">-w $(_XmakeBuildFlags.Trim())</_XmakeBuildFlags> - <_XmakeBuildFileFlags>$(_XmakeBuildFlags.Trim())</_XmakeBuildFileFlags> <_XmakeBuildFileFlags Condition="$(XmakeRebuildFile)">$(_XmakeBuildFileFlags.Trim()) -r</_XmakeBuildFileFlags> @@ -169,7 +166,6 @@ MSBuild Properties: XmakeConfigFileDir: $(XmakeConfigFileDirResolved) XmakeRunDir: $(XmakeRunDirResolved) Xmake Flags: - XmakeWarning: $(XmakeWarning) XmakeVerbose: $(XmakeVerbose) XmakeDiagnosis: $(XmakeDiagnosis) XmakeRebuildFile: $(XmakeRebuildFile) diff --git a/xmake/scripts/vsxmake/vsproj/Xmake.xml b/xmake/scripts/vsxmake/vsproj/Xmake.xml index 11dddabec..2b7fea645 100644 --- a/xmake/scripts/vsxmake/vsproj/Xmake.xml +++ b/xmake/scripts/vsxmake/vsproj/Xmake.xml @@ -26,12 +26,6 @@ Description="Print lots of diagnosis information (backtrace, check info ..) only for developers." Switch="diagnosis" /> <BoolProperty - Name="XmakeWarning" - DisplayName="Print warnings" - Category="Common" - Description="Enable the warnings output for build tasks." - Switch="warning" /> - <BoolProperty Name="XmakeCleanAll" DisplayName="Clean all" Category="Common" diff --git a/xmake/scripts/vsxmake/vsproj/templates/Xmake.Custom.props b/xmake/scripts/vsxmake/vsproj/templates/Xmake.Custom.props index d6aa9927e..0018c3134 100644 --- a/xmake/scripts/vsxmake/vsproj/templates/Xmake.Custom.props +++ b/xmake/scripts/vsxmake/vsproj/templates/Xmake.Custom.props @@ -22,14 +22,11 @@ Respect parents: <XmakeCleanFlags Condition=" '$(XmakeCleanFlags)' == '' ">-D</XmakeCleanFlags> - For -w, -v and -D, use <XmakeWarning>, <XmakeVerbose> and <XmakeDiagnosis> is more convenient. + For -v and -D, use <XmakeVerbose> and <XmakeDiagnosis> as its more convenient. --> <!-- Set -a for "xmake clean" --> - <!-- <XmakeCleanAll Condition="'$(XmakeCleanAll)' == ''">true</XmakeWarning> --> - - <!-- Set -w for "xmake build" --> - <!-- <XmakeWarning Condition="'$(XmakeWarning)' == ''">true</XmakeWarning> --> + <!-- <XmakeCleanAll Condition="'$(XmakeCleanAll)' == ''">true</XmakeCleanAll> --> <!-- Set -v for all xmake call --> <!-- <XmakeVerbose Condition="'$(XmakeVerbose)' == ''">false</XmakeVerbose> --> |
