Stefan Buschmann wrote:
> Just add the corresponding command line option for the compiler:
> 
> ADD_DEFINITIONS(
>      /Zc:wchar_t-                                # Treat wchar_t as
> built-in type
> )
> 
> BTW: The command line switch for a specific option is usually mentioned
> in the comments for that option in Visual Studio.

Thanks. However, as far as I can see, ADD_DEFINITIONS adds the
option globally for all projects. I want to restrict it to
one only - is that possible ?

-- 
Regards

Steve Collyer
Netspinner Ltd
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to