D23789: RFC: Add ECMGenerateExportHeaders, for improved handling of deprecated API

David Faure noreply at phabricator.kde.org
Mon Sep 30 21:37:32 BST 2019


dfaure added a comment.


  I found confirmation in cmake's Tests/RunCMake/GenerateExportHeader/reference/
  
    $ grep -r LIBSHARED_DEPRECATED\  . | grep -w define
    ./UNIX_DeprecatedOnly/libshared_export.h:#  define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
    ./Win32-Clang/libshared_export.h:#  define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
    ./Win32/libshared_export.h:#  define LIBSHARED_DEPRECATED __declspec(deprecated)
    ./UNIX/libshared_export.h:#  define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
    ./MinGW/libshared_export.h:#  define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D23789

To: kossebau
Cc: chehrlic, dfaure, cgiboudeaux, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20190930/53068a73/attachment-0001.html>


More information about the Kde-buildsystem mailing list