[CMake] "Treat wchar as built-in type" in Cmake ?
Stephen Collyer
scollyer at netspinner.co.uk
Sat Feb 9 16:28:55 EST 2008
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
More information about the CMake
mailing list