Warning, /graphics/kooka/libfiletree/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ##########################################################################
0002 ## ##
0003 ## This CMake file is part of libfiletree. originally part of KDE3. ##
0004 ## ##
0005 ## This file may be distributed and/or modified under the terms of ##
0006 ## the GNU General Public License version 2, as published by the ##
0007 ## Free Software Foundation and appearing in the file COPYING ##
0008 ## included in the packaging of this file. ##
0009 ## ##
0010 ## Author: Jonathan Marten <jjm AT keelhaul DOT me DOT uk> ##
0011 ## ##
0012 ##########################################################################
0013
0014 project(libfiletree)
0015
0016 ########### dependencies ###############
0017
0018 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n KIO)
0019
0020 ########### libfiletree ###############
0021
0022 set(libfiletree_SRCS
0023 filetreeview.cpp
0024 filetreebranch.cpp
0025 filetreeviewitem.cpp
0026 )
0027
0028 ecm_qt_declare_logging_category(libfiletree_SRCS
0029 HEADER "libfiletree_logging.h"
0030 IDENTIFIER "LIBFILETREE_LOG"
0031 CATEGORY_NAME "libfiletree"
0032 EXPORT kookalogging
0033 DESCRIPTION "libfiletree (Kooka)")
0034
0035 add_library(libfiletree STATIC ${libfiletree_SRCS})
0036 set_target_properties(libfiletree PROPERTIES POSITION_INDEPENDENT_CODE ON)
0037 target_link_libraries(libfiletree
0038 Qt::Core Qt::Widgets
0039 KF5::KIOCore
0040 )