mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
Merge topic 'fix-12189-support-SBCS-in-VS'
b28e7faVS6: Avoid SBCS test on VS6 (#12189)df19b9cVS6: Avoid _MBCS define when _SBCS is defined (#12189)ba89e92Visual Studio: Allow setting Single Byte Character Set (#12189)
This commit is contained in:
@@ -394,6 +394,11 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
|
||||
{
|
||||
this->WriteString("<CharacterSet>Unicode</CharacterSet>\n", 2);
|
||||
}
|
||||
else if (this->Target->GetType() <= cmTarget::MODULE_LIBRARY &&
|
||||
this->ClOptions[*i]->UsingSBCS())
|
||||
{
|
||||
this->WriteString("<CharacterSet>NotSet</CharacterSet>\n", 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->WriteString("<CharacterSet>MultiByte</CharacterSet>\n", 2);
|
||||
|
||||
Reference in New Issue
Block a user