diff options
author | Aaron C. Meadows <corwin@shadowguarddev.com> | 2012-02-16 21:27:05 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-02-17 16:30:23 (GMT) |
commit | ba89e92ba622ed821a6adf31e8a6633d574ff656 (patch) | |
tree | 5821617cc9832315cd7c58e8082259e7a07cbd8a /Tests/CMakeLists.txt | |
parent | e2042b68d36e0881bfc00f926a275dda3d6cbc9d (diff) | |
download | CMake-ba89e92ba622ed821a6adf31e8a6633d574ff656.zip CMake-ba89e92ba622ed821a6adf31e8a6633d574ff656.tar.gz CMake-ba89e92ba622ed821a6adf31e8a6633d574ff656.tar.bz2 |
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.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9c97828..da656d4 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1306,6 +1306,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ endif() IF(${CMAKE_TEST_GENERATOR} MATCHES "Visual Studio") + ADD_TEST_MACRO(SBCS SBCS) + ADD_TEST(VSExternalInclude ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/VSExternalInclude" |