Hello,

I am using CMake to build VTK for windows (specifically with Visual Studio 
2015). My goal is to integrate VTK into an existing MFC C++ app, so I am 
interested in building and using the MFC module. That module is created by 
default with the CS (Character Set) flag set to "MBCS", and my project uses 
"Unicode". This generates an assertion on run, which may indicate there is a 
bug later down the line. If I build the main app with MBCS, that assertion is 
gone.

My question is:
Is it possible to add a new entry in CMake which will change the CS property of 
the project? If yes, how?

Thanks and regards,
Cosmin D. 
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to