diff options
author | David Cole <david.cole@kitware.com> | 2012-03-06 23:41:56 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-03-06 23:45:51 (GMT) |
commit | b28e7fa174798717ebf8e18b8d97755d3568b04d (patch) | |
tree | 3f35341454a99c3dce1aad7f9312ef5227903626 | |
parent | df19b9cadb5caca0f77ee87b8e28181e61c0658e (diff) | |
download | CMake-b28e7fa174798717ebf8e18b8d97755d3568b04d.zip CMake-b28e7fa174798717ebf8e18b8d97755d3568b04d.tar.gz CMake-b28e7fa174798717ebf8e18b8d97755d3568b04d.tar.bz2 |
VS6: Avoid SBCS test on VS6 (#12189)
The previous commit, df19b9ca, assumed that the corresponding
_UNICODE functionality in the VS6 generator actually worked.
That turns out not to be the case. Unicode definition does not
actually suppress _MBCS definition, so neither does this new
code...
Don't test it here, since the patch submitter for _SBCS does
not need VS6 support.
If somebody needs _UNICODE and _SBCS support to suppress the
definition of _MBCS in the VS6 generator, it is work yet to do.
Patches welcome.
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index da656d4..3e1a962 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1306,7 +1306,9 @@ ${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) + IF(NOT MSVC60) + ADD_TEST_MACRO(SBCS SBCS) + ENDIF(NOT MSVC60) ADD_TEST(VSExternalInclude ${CMAKE_CTEST_COMMAND} --build-and-test |