Notes |
|
(0039919)
|
Clinton Stimpson
|
2015-11-30 10:27
(edited on: 2015-11-30 10:28) |
|
|
|
(0039920)
|
Marcel Beister
|
2015-11-30 11:20
|
|
With a plain Visual Studio 2013 installation I get the following error for all meta projects (if MFC is used and enabled in the project):
Error 1 error MSB8031: Use of MBCS encoding in MFC projects require an additional library to be downloaded and installed. Please see http://go.microsoft.com/fwlink/?LinkId=286820 [^] for more information. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\v120\Microsoft.CppBuild.targets
This forces me to either
* manually switch all meta projects from multi-byte to unicode (and do this every time when CMake detected changes)
* install the additional library although i do not use MFC with multi-byte characters (of course this is possible, but unnecessary; also this feature might be completely removed in future VS version)
The same problem is described here:
http://stackoverflow.com/questions/19603680/mbcs-error-building-mfc-c-project-with-visual-studio [^] |
|
|
(0039922)
|
Clinton Stimpson
|
2015-11-30 11:27
|
|
Ok. So does that mean your simple cmake project is setting CMAKE_MFC_FLAG? |
|
|
(0039923)
|
Marcel Beister
|
2015-11-30 11:29
|
|
Yes, I have "set(CMAKE_MFC_FLAG 2)" in my root CMakeList.txt file.
Sorry for not-mentioning this in my "Steps To Reproduce". |
|
|
(0040272)
|
Clinton Stimpson
|
2016-01-19 16:07
|
|
|
|
(0041277)
|
Kitware Robot
|
2016-06-10 14:21
|
|
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|