[CMake] ExceptionHandling in VC8
Brad King
brad.king at kitware.com
Fri Jun 30 13:31:57 EDT 2006
Laurentiu Nicolae wrote:
> Hello CMake users,
>
> I have noticed that the ExceptionHandling flag is not fully handled for
> VC8 projects. Namely, in VC7 this option could only be set to TRUE or
> FALSE. In VC8, we have the following options:
>
> Enable C++ exceptions :
> No - ExceptionHandling="0"
> Yes (/EHsc) - ExceptionHandling="1"
> Yes with SEH Exceptions (/EHa) - ExceptionHandling="2"
>
> The /EHa option is not handled by the generator and ends up in the
> AdditionalOptions line. This results for us in a warning (/EHsc replaced
> with /EHa) for every file we compile in our projects. It would be nice
> to have this option fully supported by CMake, especially since VC8 seems
> to become the new IDE of choice for Windows C++ development.
There is a table in the generator used to map command line options to
GUI settings in the generated project files. The /EHa option is missing
from this table. You can submit a bug report here:
http://www.cmake.org/Bug
-Brad
More information about the CMake
mailing list