CMake/Tests/SBCS/CMakeLists.txt
Aaron C. Meadows ba89e92ba6 Visual Studio: Allow setting Single Byte Character Set (#12189)
For Visual Studio using the Preprocessor Define _SBCS. This behavior
is similar to the way that _UNICODE and _MBCS work already.

Added tests to confirm this behavior.
2012-02-17 11:30:23 -05:00

7 lines
92 B
CMake

# a SBCS test case
project (SBCS)
add_definitions(-D_SBCS)
add_executable (SBCS SBCS.cxx)