diff options
author | Alex Merry <kde@randomguy3.me.uk> | 2014-02-04 19:09:35 +0000 |
---|---|---|
committer | Alex Merry <kde@randomguy3.me.uk> | 2014-02-14 13:23:53 +0000 |
commit | 7fcc57a2055f04ca1af880e18309f5d1ecfc5f3c (patch) | |
tree | 1ae9d404727945584ae3b3c92cbb65dc2c127a66 /kde-modules/KDECompilerSettings.cmake | |
parent | 2ec165030b2947e6a4e1b29843b20fbff17aaa1f (diff) | |
download | extra-cmake-modules-7fcc57a2055f04ca1af880e18309f5d1ecfc5f3c.tar.gz extra-cmake-modules-7fcc57a2055f04ca1af880e18309f5d1ecfc5f3c.tar.bz2 |
Improve docs for kde modules
REVIEW: 115488
Diffstat (limited to 'kde-modules/KDECompilerSettings.cmake')
-rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index dfb85d77..3adc90db 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -1,9 +1,9 @@ -# This module sets more useful CMAKE_CXX_FLAGS. +# Set useful compile and link flags for C++ (and C) code. # -# In particular, it enables many more warnings than the default, -# and sets stricter modes for some compiler features. By default, -# it disables exceptions; kde_target_enable_exceptions() can be used -# to re-enable them for a specific target. +# Enables many more warnings than the default, and sets stricter modes +# for some compiler features. By default, exceptions are disabled; +# kde_target_enable_exceptions() can be used to re-enable them for a +# specific target. # # # This module provides the following functions: @@ -92,7 +92,8 @@ if (UNIX) # # NB: we do NOT define _BSD_SOURCE, as with GNU libc that requires linking # against the -lbsd-compat library (it changes the behaviour of some - # functions). + # functions). This, however, means that strlcat and strlcpy are not + # provided by glibc. _kde_add_platform_definitions(-D_GNU_SOURCE) # Enable extra API for using 64-bit file offsets on 32-bit systems. |