Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16570671
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
15 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/libqtmimetypes/src/mimetypes/CMakeLists.txt b/libqtmimetypes/src/mimetypes/CMakeLists.txt
index 67b29b3f0d..8cfc7c14b9 100644
--- a/libqtmimetypes/src/mimetypes/CMakeLists.txt
+++ b/libqtmimetypes/src/mimetypes/CMakeLists.txt
@@ -1,29 +1,29 @@
# used by the (non-generated) export header.
# Do not port to generate_export_header, this framework might go into Qt, using qmake rather than cmake.
add_definitions(-DQMIME_LIBRARY)
include_directories(${QT_MKSPECS_DIR}/default) # for qplatformdefs.h
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../../include/QtMimeTypes )
set(SOURCES
qmimedatabase.cpp
mimetypeparser.cpp
qmimeglobpattern.cpp
qmimemagicrule.cpp
qmimemagicrulematcher.cpp
qmimeprovider.cpp
qmimetype.cpp
)
qt4_add_resources( SOURCES mimetypes.qrc )
add_library( QtMimeTypes ${LIBRARY_TYPE} ${SOURCES} )
target_link_libraries( QtMimeTypes LINK_PUBLIC ${INQT5_LIBRARY} ${QT_QTCORE_LIBRARY} )
set_target_properties( QtMimeTypes PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION})
-install(TARGETS QtMimeTypes ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS QtMimeTypes EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
diff --git a/staging/kcoreaddons/src/CMakeLists.txt b/staging/kcoreaddons/src/CMakeLists.txt
index 39e66f8e44..e485ffa1cf 100644
--- a/staging/kcoreaddons/src/CMakeLists.txt
+++ b/staging/kcoreaddons/src/CMakeLists.txt
@@ -1,147 +1,147 @@
# Configure checks for the caching subdir
include(CheckIncludeFiles)
check_include_files("sys/types.h;sys/mman.h" HAVE_SYS_MMAN_H)
configure_file(caching/config-caching.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-caching.h)
set(kcoreaddons_OPTIONAL_SRCS )
set(kcoreaddons_OPTIONAL_LIBS )
if (FAM_FOUND)
set(kcoreaddons_OPTIONAL_LIBS ${kcoreaddons_OPTIONAL_LIBS} ${FAM_LIBRARIES})
endif (FAM_FOUND)
if(NOT WIN32)
set(kcoreaddons_OPTIONAL_SRCS caching/kshareddatacache.cpp)
set(kcoreaddons_OPTIONAL_LIBS ${kcoreaddons_OPTIONAL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
else(NOT WIN32)
set(kcoreaddons_OPTIONAL_SRCS
caching/kshareddatacache_win.cpp
io/kdirwatch_win.cpp
)
endif(NOT WIN32)
if (WIN32)
set(kcoreaddons_OPTIONAL_SRCS
${kcoreaddons_OPTIONAL_SRCS}
io/klockfile_win.cpp
text/kmacroexpander_win.cpp
)
endif (WIN32)
if (UNIX)
set(kcoreaddons_OPTIONAL_SRCS
${kcoreaddons_OPTIONAL_SRCS}
io/klockfile_unix.cpp
text/kmacroexpander_unix.cpp
)
endif (UNIX)
set(libkcoreaddons_SRCS
io/kautosavefile.cpp
io/kdirwatch.cpp
io/kfilesystemtype_p.cpp
io/ksavefile.cpp
io/kbackup.cpp
io/kurl.cpp
io/kurlmimedata.cpp
jobs/kcompositejob.cpp
jobs/kjob.cpp
jobs/kjobtrackerinterface.cpp
jobs/kjobuidelegate.cpp
kernel/kaboutdata.cpp
kernel/kcmdlineargs.cpp
randomness/krandom.cpp
randomness/krandomsequence.cpp
text/guess_ja.cpp
text/kcharsets.cpp
text/kcodecs.cpp
text/kencodingdetector.cpp
text/kencodingprober.cpp
text/kmacroexpander.cpp
text/probers/CharDistribution.cpp
text/probers/ChineseGroupProber.cpp
text/probers/JapaneseGroupProber.cpp
text/probers/JpCntx.cpp
text/probers/LangBulgarianModel.cpp
text/probers/LangCyrillicModel.cpp
text/probers/LangGreekModel.cpp
text/probers/LangHebrewModel.cpp
text/probers/LangHungarianModel.cpp
text/probers/LangThaiModel.cpp
text/probers/UnicodeGroupProber.cpp
text/probers/nsBig5Prober.cpp
text/probers/nsCharSetProber.cpp
text/probers/nsEUCJPProber.cpp
text/probers/nsEUCKRProber.cpp
text/probers/nsEUCTWProber.cpp
text/probers/nsEscCharsetProber.cpp
text/probers/nsEscSM.cpp
text/probers/nsGB2312Prober.cpp
text/probers/nsHebrewProber.cpp
text/probers/nsLatin1Prober.cpp
text/probers/nsMBCSGroupProber.cpp
text/probers/nsMBCSSM.cpp
text/probers/nsSBCSGroupProber.cpp
text/probers/nsSBCharSetProber.cpp
text/probers/nsSJISProber.cpp
text/probers/nsUniversalDetector.cpp
text/kstringhandler.cpp
${kcoreaddons_OPTIONAL_SRCS}
)
include_directories(
${CMAKE_BINARY_DIR}/kdecore/ # kde_export.h (required by kglobal.h)
${CMAKE_SOURCE_DIR}/kdecore/kernel/ # K_GLOBAL_STATIC (TODO remove)
${CMAKE_CURRENT_BINARY_DIR}/io/
${CMAKE_CURRENT_SOURCE_DIR}/io/
${CMAKE_CURRENT_SOURCE_DIR}/jobs/
${CMAKE_CURRENT_SOURCE_DIR}/randomness/
${CMAKE_CURRENT_SOURCE_DIR}/kernel/
${CMAKE_CURRENT_SOURCE_DIR}/text/
)
include_directories(${QT_MKSPECS_DIR}/default) # for qplatformdefs.h
add_library(kcoreaddons ${LIBRARY_TYPE} ${libkcoreaddons_SRCS})
generate_export_header(kcoreaddons)
target_link_libraries(kcoreaddons
LINK_PUBLIC ${QT_QTCORE_LIBRARY} ${kcoreaddons_OPTIONAL_LIBS} ${INQT5_LIBRARY}
LINK_PRIVATE pthread
)
set_target_properties(kcoreaddons PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
-install(TARGETS kcoreaddons ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS kcoreaddons EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
caching/kshareddatacache.h
io/kautosavefile.h
io/kdirwatch.h
io/klockfile.h
io/ksavefile.h
io/kbackup.h
io/kurl.h
io/kurlmimedata.h
jobs/kcompositejob.h
jobs/kcompositejob_p.h
jobs/kjob.h
jobs/kjob_p.h
jobs/kjobtrackerinterface.h
jobs/kjobuidelegate.h
kernel/kaboutdata.h
kernel/kcmdlineargs.h
randomness/krandom.h
randomness/krandomsequence.h
text/kcharsets.h
text/kcodecs.h
text/kencodingdetector.h
text/kencodingprober.h
text/kmacroexpander.h
text/kstringhandler.h
${CMAKE_CURRENT_BINARY_DIR}/kcoreaddons_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
diff --git a/staging/kde4support/src/CMakeLists.txt b/staging/kde4support/src/CMakeLists.txt
index 759815e1e6..3834220428 100644
--- a/staging/kde4support/src/CMakeLists.txt
+++ b/staging/kde4support/src/CMakeLists.txt
@@ -1,28 +1,28 @@
set(libkde4support_SRCS
ktemporaryfile.cpp
ktempdir.cpp
kmd5.cpp
)
include_directories(
${CMAKE_SOURCE_DIR}/kdecore/kernel/ # for KComponentData
${CMAKE_BINARY_DIR}/kdecore/
${CMAKE_SOURCE_DIR}/kdecore/config/
${CMAKE_SOURCE_DIR}/kdecore/util/
${kcoreaddons_SOURCE_DIR}/src/randomness # for KRandom
${kcoreaddons_BINARY_DIR}/src
)
add_library(kde4support ${LIBRARY_TYPE} ${libkde4support_SRCS})
generate_export_header(kde4support)
target_link_libraries(kde4support ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} kdecore kcoreaddons)
set_target_properties(kde4support PROPERTIES VERSION ${ECM_VERSION_STRING} SOVERSION ${ECM_SOVERSION})
-install(TARGETS kde4support ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS kde4support EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
ktemporaryfile.h
${CMAKE_CURRENT_BINARY_DIR}/kde4support_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
diff --git a/tier1/itemmodels/src/CMakeLists.txt b/tier1/itemmodels/src/CMakeLists.txt
index 97c2d2b5bb..71acaf63eb 100644
--- a/tier1/itemmodels/src/CMakeLists.txt
+++ b/tier1/itemmodels/src/CMakeLists.txt
@@ -1,39 +1,39 @@
set(itemmodels_SRCS
kbreadcrumbselectionmodel.cpp
kcheckableproxymodel.cpp
kdescendantsproxymodel.cpp
kidentityproxymodel.cpp
klinkitemselectionmodel.cpp
kmodelindexproxymapper.cpp
krecursivefilterproxymodel.cpp
kselectionproxymodel.cpp
kviewstateserializer.cpp
kviewstatemaintainerbase.cpp
)
add_library(itemmodels ${LIBRARY_TYPE} ${itemmodels_SRCS})
generate_export_header(itemmodels)
target_link_libraries(itemmodels ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
set_target_properties(itemmodels PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
-install(TARGETS itemmodels ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS itemmodels EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
kbreadcrumbselectionmodel.h
kcheckableproxymodel.h
klinkitemselectionmodel.h
krecursivefilterproxymodel.h
kdescendantsproxymodel.h
kidentityproxymodel.h
kviewstateserializer.h
kviewstatemaintainerbase.h
kmodelindexproxymapper.h
kselectionproxymodel.h
${CMAKE_CURRENT_BINARY_DIR}/itemmodels_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
diff --git a/tier1/kauth/src/CMakeLists.txt b/tier1/kauth/src/CMakeLists.txt
index 3ef34a97ef..dd33182919 100644
--- a/tier1/kauth/src/CMakeLists.txt
+++ b/tier1/kauth/src/CMakeLists.txt
@@ -1,91 +1,91 @@
# This file handles all the logic for compiling KAuth's backends
include(ConfigureChecks.cmake)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
# Configure a small file to tell BackendsManager what to use
configure_file(BackendsConfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/BackendsConfig.h)
set(libkauth_SRCS
kauthaction.cpp
kauthactionreply.cpp
kauthactionwatcher.cpp
AuthBackend.cpp
BackendsManager.cpp
HelperProxy.cpp
kauthhelpersupport.cpp
backends/fake/FakeBackend.cpp
backends/fakehelper/FakeHelperProxy.cpp
)
add_library(kauth ${LIBRARY_TYPE} ${libkauth_SRCS})
generate_export_header(kauth)
target_link_libraries(kauth ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY})
set_target_properties(kauth PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
# KAuth policy generator executable
# Compile only if fake backend has not been selected
if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
# KAUTH_POLICY_GEN_SRCS has been generated from ConfigureChecks.cmake
add_executable(kauth-policy-gen ${KAUTH_POLICY_GEN_SRCS})
# KAUTH_POLICY_GEN_LIBRARIES has been generated from ConfigureChecks.cmake
target_link_libraries( kauth-policy-gen ${KAUTH_POLICY_GEN_LIBRARIES} )
install( TARGETS kauth-policy-gen EXPORT kdelibsToolsTargets DESTINATION ${LIBEXEC_INSTALL_DIR})
endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
if ( NOT WINCE )
# KAuth backend plugin
if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
set(KAUTH_BACKEND_SRCS ${KAUTH_BACKEND_SRCS})
# KAuth::AuthBackend is not exported
add_library(kauth_backend_plugin MODULE ${KAUTH_BACKEND_SRCS} AuthBackend.cpp)
target_link_libraries(kauth_backend_plugin ${KAUTH_BACKEND_LIBS})
set_target_properties(kauth_backend_plugin PROPERTIES PREFIX "")
install(TARGETS kauth_backend_plugin
LIBRARY DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
ARCHIVE DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
RUNTIME DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
)
endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
# KAuth helper plugin
if (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
# KAuth::HelperProxy is not exported
add_library(kauth_helper_plugin MODULE ${KAUTH_HELPER_BACKEND_SRCS} HelperProxy.cpp)
target_link_libraries(kauth_helper_plugin ${KAUTH_HELPER_BACKEND_LIBS})
set_target_properties(kauth_helper_plugin PROPERTIES PREFIX "")
install(TARGETS kauth_helper_plugin
LIBRARY DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
ARCHIVE DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
RUNTIME DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
)
endif (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
endif ( NOT WINCE )
-install(TARGETS kauth ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS kauth EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
kauthaction.h
kauthactionreply.h
kauthactionwatcher.h
kauthhelpersupport.h
kauth.h
${CMAKE_CURRENT_BINARY_DIR}/kauth_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
# TODO: Remove once we depend on polkit-qt1 > 0.99.0
# core/polkitqt1-actiondescription.h from polkit currently fails when built with -pedantic
string(REPLACE "--pedantic-errors" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
string(REPLACE "-pedantic-errors" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
string(REPLACE "--pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
string(REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
diff --git a/tier1/kdbusaddons/src/CMakeLists.txt b/tier1/kdbusaddons/src/CMakeLists.txt
index e4e23021d2..c8b97bd9ff 100644
--- a/tier1/kdbusaddons/src/CMakeLists.txt
+++ b/tier1/kdbusaddons/src/CMakeLists.txt
@@ -1,26 +1,26 @@
set(libkdbusaddons_SRCS
kdbusconnectionpool.cpp
kdbusinterprocesslock.cpp
kdbusservice.cpp
)
add_library(kdbusaddons ${LIBRARY_TYPE} ${libkdbusaddons_SRCS})
generate_export_header(kdbusaddons)
target_link_libraries(kdbusaddons ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY})
set_target_properties(kdbusaddons PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
-install(TARGETS kdbusaddons ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS kdbusaddons EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
kdbusconnectionpool.h
kdbusinterprocesslock.h
kdbusservice.h
${CMAKE_CURRENT_BINARY_DIR}/kdbusaddons_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
diff --git a/tier1/kplotting/src/CMakeLists.txt b/tier1/kplotting/src/CMakeLists.txt
index 2336ac089d..a38d91e6ec 100644
--- a/tier1/kplotting/src/CMakeLists.txt
+++ b/tier1/kplotting/src/CMakeLists.txt
@@ -1,29 +1,29 @@
add_definitions(-DQT_NO_CAST_FROM_ASCII)
set(kplotting_SRCS
kplotaxis.cpp
kplotpoint.cpp
kplotobject.cpp
kplotwidget.cpp
)
add_library(kplotting ${LIBRARY_TYPE} ${kplotting_SRCS})
generate_export_header(kplotting)
target_link_libraries(kplotting ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
set_target_properties(kplotting PROPERTIES VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
-install(TARGETS kplotting ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS kplotting EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install( FILES
kplotaxis.h
kplotpoint.h
kplotobject.h
kplotwidget.h
${CMAKE_CURRENT_BINARY_DIR}/kplotting_export.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
)
diff --git a/tier1/threadweaver/Weaver/CMakeLists.txt b/tier1/threadweaver/Weaver/CMakeLists.txt
index 9f168590d4..0e344c2937 100644
--- a/tier1/threadweaver/Weaver/CMakeLists.txt
+++ b/tier1/threadweaver/Weaver/CMakeLists.txt
@@ -1,52 +1,52 @@
########### next target ###############
set(ThreadWeaver_LIB_SRCS
WeaverInterface.cpp
ThreadWeaver.cpp
WeaverImpl.cpp
DebuggingAids.cpp
Thread.cpp
Job.cpp
State.cpp
StateImplementation.cpp
InConstructionState.cpp
WorkingHardState.cpp
SuspendingState.cpp
SuspendedState.cpp
ShuttingDownState.cpp
DestructedState.cpp
WeaverObserver.cpp
JobCollection.cpp
JobSequence.cpp
DependencyPolicy.cpp
ResourceRestrictionPolicy.cpp
)
add_library(threadweaver ${LIBRARY_TYPE} ${ThreadWeaver_LIB_SRCS})
generate_export_header(threadweaver)
target_link_libraries(threadweaver ${QT_QTCORE_LIBRARY})
set_target_properties(threadweaver PROPERTIES
VERSION ${ECM_VERSION_STRING}
SOVERSION ${ECM_SOVERSION}
)
-install(TARGETS threadweaver ${ECM_TARGET_DEFAULT_ARGS})
+install(TARGETS threadweaver EXPORT kdelibsLibraryTargets ${ECM_TARGET_DEFAULT_ARGS})
install(FILES
WeaverInterface.h
ThreadWeaver.h
DebuggingAids.h
Thread.h
Job.h
State.h
WeaverObserver.h
JobCollection.h
JobSequence.h
DependencyPolicy.h
ResourceRestrictionPolicy.h
QueuePolicy.h
${CMAKE_CURRENT_BINARY_DIR}/threadweaver_export.h
DESTINATION ${INCLUDE_INSTALL_DIR}/threadweaver COMPONENT Devel
)
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Nov 1, 9:31 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10075947
Default Alt Text
(15 KB)
Attached To
Mode
rKL kdelibs
Attached
Detach File
Event Timeline
Log In to Comment