mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
generic: remove platform cmake file and other non-relevant to the project files
This commit is contained in:
parent
f9b19f74c8
commit
c5fafc43e5
7 changed files with 3 additions and 115 deletions
|
@ -1,45 +0,0 @@
|
||||||
# Please enter the commit message for your changes. Lines starting
|
|
||||||
# with '#' will be ignored, and an empty message aborts the commit.
|
|
||||||
#
|
|
||||||
# You MUST wrap all lines at 72 characters.
|
|
||||||
# Please see http://techbase.kde.org/Policies/Commit_Policy
|
|
||||||
#
|
|
||||||
# For Git commit hook keywords see:
|
|
||||||
# http://community.kde.org/Sysadmin/GitKdeOrgManual#Commit_hook_keywords
|
|
||||||
#
|
|
||||||
# ==[ Subject: One line ONLY short meaningful description for logs ]===|
|
|
||||||
|
|
||||||
# ==[ Blank: Follow the Subject with a blank line, do NOT remove ]=====|
|
|
||||||
|
|
||||||
# ==[ Details: Describe what changed and explain why it changed]=======|
|
|
||||||
|
|
||||||
|
|
||||||
# ==[ Fields: Uncomment and edit where applicable ]====================|
|
|
||||||
#
|
|
||||||
# --[ Close bug in bugs.kde.org as fixed ]-----------------------------|
|
|
||||||
#BUG: <bug number>
|
|
||||||
#FIXED-IN: <optional release version>
|
|
||||||
#
|
|
||||||
# --[ Add to release changelog optionally close wish in bugs.kde.org ]-|
|
|
||||||
#FEATURE: <optional bug number>
|
|
||||||
#FIXED-IN: <optional release version>
|
|
||||||
#
|
|
||||||
# --[ Copy commit message to a bug or wish in bugs.kde.org ]-----------|
|
|
||||||
#CCBUG: <bug number>
|
|
||||||
#
|
|
||||||
# --[ Copy commit message to an email address ]------------------------|
|
|
||||||
#CCMAIL: <email>
|
|
||||||
#
|
|
||||||
# --[ Close a review on git.reviewboard.kde.org as submitted ]---------|
|
|
||||||
#REVIEW: <review number>
|
|
||||||
#
|
|
||||||
# --[ Notify documentation team of user visible changes ]--------------|
|
|
||||||
#GUI:
|
|
||||||
#
|
|
||||||
# --[ Notify Commit Digest team of something interesting ]-------------|
|
|
||||||
#DIGEST:
|
|
||||||
#
|
|
||||||
# --[ Mark commit as silent for commit filter filtering. ]-------------|
|
|
||||||
# [ Use sparingly and only for uninteresting and ]
|
|
||||||
# [ uncontroversial commits. ]
|
|
||||||
#GIT_SILENT
|
|
|
@ -1,14 +0,0 @@
|
||||||
;; -*- emacs-lisp -*-
|
|
||||||
;;
|
|
||||||
;; This file is processed by the dirvars emacs package. Each variable
|
|
||||||
;; setting below is performed when this dirvars file is loaded.
|
|
||||||
;;
|
|
||||||
indent-tabs-mode: nil
|
|
||||||
tab-width: 8
|
|
||||||
c-basic-offset: 4
|
|
||||||
evaluate: (c-set-offset 'innamespace '0)
|
|
||||||
kde-emacs-after-parent-string: ""
|
|
||||||
evaluate: (c-set-offset 'inline-open '0)
|
|
||||||
kdab-qt-version: 4
|
|
||||||
kdab-jump-project-name: kde
|
|
||||||
magic-parens-mode: nil
|
|
|
@ -55,15 +55,8 @@ ehthumbs.db
|
||||||
Icon?
|
Icon?
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# You can uncomment the ".directory" it if you don't care about e.g.:
|
|
||||||
#
|
|
||||||
# kde-baseapps/konqueror/sidebar/trees/init/remote/.directory
|
|
||||||
# kde-baseapps/konqueror/sidebar/trees/init/remote/web/.directory
|
|
||||||
# kde-baseapps/konqueror/sidebar/trees/init/remote/ftp/.directory
|
|
||||||
# kde-baseapps/konqueror/sidebar/trees/init/services/.directory
|
|
||||||
#
|
|
||||||
#*.directory
|
|
||||||
|
|
||||||
|
*.directory
|
||||||
*.kdev4
|
*.kdev4
|
||||||
*-swp
|
*-swp
|
||||||
*.swp
|
*.swp
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
REVIEWBOARD_URL = "https://git.reviewboard.kde.org"
|
|
||||||
REPOSITORY = "git://anongit.kde.org/kdelibs"
|
|
||||||
BRANCH = "master"
|
|
||||||
TARGET_GROUPS = "kdelibs"
|
|
|
@ -18,12 +18,7 @@ set (KDE_DISTRIBUTION_TEXT "compiled sources" CACHE STRING "Indicate the distrib
|
||||||
|
|
||||||
set (KDE_DEFAULT_HOME ".katana" CACHE STRING "The default home directory" )
|
set (KDE_DEFAULT_HOME ".katana" CACHE STRING "The default home directory" )
|
||||||
|
|
||||||
################# write platform profile file which will be installed #################
|
set (KDE_NO_DEPRECATED TRUE CACHE BOOL "Whether deprecated functionality is desired")
|
||||||
include(CreateKDEPlatformProfile.cmake)
|
|
||||||
|
|
||||||
if(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)
|
|
||||||
set(KDE_NO_DEPRECATED TRUE)
|
|
||||||
endif(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)
|
|
||||||
|
|
||||||
################# now find all used packages #################
|
################# now find all used packages #################
|
||||||
|
|
||||||
|
@ -31,7 +26,7 @@ set (QT_MIN_VERSION "4.8.2")
|
||||||
|
|
||||||
find_package(KDE4Internal REQUIRED)
|
find_package(KDE4Internal REQUIRED)
|
||||||
include(KDE4Defaults)
|
include(KDE4Defaults)
|
||||||
include (MacroLibrary)
|
include(MacroLibrary)
|
||||||
|
|
||||||
if(UNIX AND Q_WS_X11)
|
if(UNIX AND Q_WS_X11)
|
||||||
#X11 Session Management (SM) is required
|
#X11 Session Management (SM) is required
|
||||||
|
@ -270,7 +265,6 @@ include(CreateKDELibsDependenciesFile.cmake)
|
||||||
|
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdemacros.h DESTINATION ${INCLUDE_INSTALL_DIR} )
|
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdemacros.h DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/KDELibsDependencies.cmake DESTINATION ${DATA_INSTALL_DIR}/cmake/modules)
|
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/KDELibsDependencies.cmake DESTINATION ${DATA_INSTALL_DIR}/cmake/modules)
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/KDEPlatformProfile.cmake DESTINATION ${DATA_INSTALL_DIR}/cmake/modules)
|
|
||||||
|
|
||||||
|
|
||||||
# run a script before installing the exports files which deletes previously installed
|
# run a script before installing the exports files which deletes previously installed
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
# this file is included by kdelibs/CMakeLists.txt and contains the cmake code
|
|
||||||
# which creates the KDEPlatformProfile.cmake file, which is installed by kdelibs
|
|
||||||
|
|
||||||
######## write profile file which will be installed #########
|
|
||||||
|
|
||||||
# Desktop profile (default profile)
|
|
||||||
if (KDE_PLATFORM_PROFILE STREQUAL "Desktop" OR NOT KDE_PLATFORM_PROFILE)
|
|
||||||
set(KDE_PLATFORM_PROFILE "Desktop")
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION FALSE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_INCOMPATIBLE_FEATURE_REDUCTION FALSE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_KIO_INPROCESS FALSE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED FALSE)
|
|
||||||
endif (KDE_PLATFORM_PROFILE STREQUAL "Desktop" OR NOT KDE_PLATFORM_PROFILE)
|
|
||||||
|
|
||||||
# Mobile profile
|
|
||||||
if (KDE_PLATFORM_PROFILE STREQUAL "Mobile")
|
|
||||||
set(KDE_PLATFORM_PROFILE "Mobile")
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION TRUE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_INCOMPATIBLE_FEATURE_REDUCTION TRUE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_KIO_INPROCESS TRUE)
|
|
||||||
set(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED TRUE)
|
|
||||||
message(STATUS "KDE Platform Profile: MOBILE. Please be aware that this version of the KDE platform is BINARY INCOMPATIBLE to standard KDE. At this time no binary compatibility is guaranteed even within the mobile target.")
|
|
||||||
endif (KDE_PLATFORM_PROFILE STREQUAL "Mobile")
|
|
||||||
|
|
||||||
|
|
||||||
# Writing the profile file
|
|
||||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/KDEPlatformProfile.cmake
|
|
||||||
"# this file was generated during the kdelibs build process
|
|
||||||
set(KDE_PLATFORM_PROFILE \"${KDE_PLATFORM_PROFILE}\")
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION ${KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION})
|
|
||||||
set(KDE_PLATFORM_FEATURE_BINARY_INCOMPATIBLE_FEATURE_REDUCTION ${KDE_PLATFORM_FEATURE_BINARY_INCOMPATIBLE_FEATURE_REDUCTION})
|
|
||||||
set(KDE_PLATFORM_FEATURE_KIO_INPROCESS ${KDE_PLATFORM_FEATURE_KIO_INPROCESS})
|
|
||||||
set(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED ${KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED})
|
|
||||||
")
|
|
||||||
|
|
|
@ -380,7 +380,6 @@ else (_kdeBootStrapping)
|
||||||
|
|
||||||
# These files contain information about the installed kdelibs, Alex
|
# These files contain information about the installed kdelibs, Alex
|
||||||
include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
|
include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
|
||||||
include(${kde_cmake_module_dir}/KDEPlatformProfile.cmake)
|
|
||||||
|
|
||||||
# Check the version of KDE. It must be at least KDE_MIN_VERSION as set by the user.
|
# Check the version of KDE. It must be at least KDE_MIN_VERSION as set by the user.
|
||||||
# KDE_VERSION is set in KDELibsDependencies.cmake since KDE 4.0.x. Alex
|
# KDE_VERSION is set in KDELibsDependencies.cmake since KDE 4.0.x. Alex
|
||||||
|
|
Loading…
Add table
Reference in a new issue