D13816: Make KItinerary work as a static library

Emmanuel Lepage Vallee noreply at phabricator.kde.org
Tue Jul 10 13:18:38 BST 2018


lepagevalleeemmanuel added inline comments.

INLINE COMMENTS

> CMakeLists.txt:50
>  
> -add_library(KPimItinerary SHARED ${kitinerary_lib_srcs})
> +add_library(KPimItinerary ${kitinerary_lib_srcs})
>  add_library(KPim::Itinerary ALIAS KPimItinerary)

You *might* want to add

  OPTION(BUILD_SHARED_LIBS   "Build the shared library (instead of static)" ON )

near the top of the `CMakeLists.txt` for the sake of making sure it's the default and for readability?

> init.cpp:24
> +
> +#include <QDebug>
> +#include <QDir>

unused?

REPOSITORY
  R1003 KItinerary: Travel Reservation handling library

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

To: vkrause, #frameworks
Cc: arojas, mart, lepagevalleeemmanuel, apol, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180710/3c4c47bb/attachment.html>


More information about the Kde-frameworks-devel mailing list