Enabling Exceptions in CMake

Aleix Pol aleixpol at kde.org
Sun Aug 10 21:03:14 UTC 2014


On Sun, Aug 10, 2014 at 4:58 PM, David Narvaez <david.narvaez at computer.org>
wrote:

> Hi,
>
> I just noticed the old CMake line my project used to enable exceptions
> on a single file was not working and I dug into the ECM modules to
> find the correct way to do that. But I don't see exceptions mentioned
> in the ECM SIC page[0], should that documentation be there? i.e., is
> this considered an SIC?
>
> David E. Narvaez
>
> [0] https://techbase.kde.org/Development/ECM_SourceIncompatChanges

>From kde-modules/KDECompilerSettings.cmake

#   kde_enable_exceptions()
#
# Enables exceptions for C++ source files compiled for the
# CMakeLists.txt file in the current directory and all subdirectories.

See http://api.kde.org/ecm/kde-module/KDECompilerSettings.html

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140810/d128c68f/attachment.html>


More information about the Kde-frameworks-devel mailing list