diff --git a/build/rules/Branding.targets b/build/rules/Branding.targets new file mode 100644 index 00000000000..f72a2430a4d --- /dev/null +++ b/build/rules/Branding.targets @@ -0,0 +1,18 @@ + + + + <_WTBrandingPreprocessorToken Condition="'$(WindowsTerminalBranding)'=='Preview'">WT_BRANDING_PREVIEW + <_WTBrandingPreprocessorToken Condition="'$(WindowsTerminalBranding)'=='Release'">WT_BRANDING_RELEASE + <_WTBrandingPreprocessorToken Condition="'$(_WTBrandingPreprocessorToken)'==''">WT_BRANDING_DEV + + + + + $(_WTBrandingPreprocessorToken);%(PreprocessorDefinitions) + + + + $(_WTBrandingPreprocessorToken);%(PreprocessorDefinitions) + + + diff --git a/src/cascadia/WindowsTerminal/WindowsTerminal.vcxproj b/src/cascadia/WindowsTerminal/WindowsTerminal.vcxproj index 6d93887711b..d8adf009860 100644 --- a/src/cascadia/WindowsTerminal/WindowsTerminal.vcxproj +++ b/src/cascadia/WindowsTerminal/WindowsTerminal.vcxproj @@ -155,6 +155,7 @@ +