Warning, /frameworks/kdelibs4support/cmake/modules/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ## install the cmake files 0002 0003 set(module_install_dir ${CMAKECONFIG_INSTALL_DIR}) 0004 0005 # This variable doesn't actually do anything, but it's probably a good idea 0006 # to have it around, so there is a place where the modules which are not installed 0007 # are listed explicitly: 0008 set(cmakeFilesDontInstall 0009 FindHUpnp.cmake 0010 FindPolkitQt.cmake 0011 FindPolkitQt-1.cmake 0012 ) 0013 0014 # Explicitly list all files which will be installed. 0015 # We don't use a GLOB anymore so we can have also cmake files here 0016 # which are used inside kdelibs, but which don't have to be installed (and 0017 # so become part of the public interface of kdelibs which has to be kept 0018 # compatible). 0019 set(cmakeFiles 0020 CheckPointerMember.cmake 0021 CheckPrototypeExists.cmake 0022 CheckStructMember.cmake 0023 ECMQt4To5Porting.cmake 0024 FindACL.cmake 0025 FindAGG.cmake 0026 FindAkode.cmake 0027 FindAlsa.cmake 0028 FindBerkeleyDB.cmake 0029 FindBlitz.cmake 0030 FindBlueZ.cmake 0031 FindCarbon.cmake 0032 FindENCHANT.cmake 0033 FindEigen.cmake 0034 FindEigen2.cmake 0035 FindExiv2.cmake 0036 FindFFmpeg.cmake 0037 FindFlac.cmake 0038 FindGMP.cmake 0039 FindGObject.cmake 0040 FindGStreamer.cmake 0041 FindGettext.cmake 0042 FindGphoto2.cmake 0043 FindIOKit.cmake 0044 KDE4Macros.cmake 0045 FindKDE4Workspace.cmake 0046 FindKDevPlatform.cmake 0047 FindKdcraw.cmake 0048 FindKdeMultimedia.cmake 0049 FindKexiv2.cmake 0050 FindKF5Transitional.cmake 0051 FindKipi.cmake 0052 FindKopete.cmake 0053 FindKorundum.cmake 0054 FindLCMS.cmake 0055 FindLibArt.cmake 0056 FindLibKonq.cmake 0057 FindLibLZMA.cmake 0058 FindLibraryWithDebug.cmake 0059 FindLinuxWirelesstools.cmake 0060 FindMusicBrainz.cmake 0061 FindMySQL.cmake 0062 FindNepomuk.cmake 0063 FindNetworkManager.cmake 0064 FindOggVorbis.cmake 0065 FindPlasma.cmake 0066 FindPopplerQt4.cmake 0067 FindPythonLibrary.cmake 0068 FindQImageBlitz.cmake 0069 FindQt5Transitional.cmake 0070 FindSIP.cmake 0071 FindSamba.cmake 0072 FindSane.cmake 0073 FindSasl2.cmake 0074 FindSharedDesktopOntologies.cmake 0075 FindSqlite.cmake 0076 FindTaglib.cmake 0077 FindUSB.cmake 0078 FindWcecompat.cmake 0079 FindXKB.cmake 0080 FindXine.cmake 0081 FindXmms.cmake 0082 HandleImportedTargetsInCMakeRequiredLibraries.cmake 0083 KDE4Defaults.cmake 0084 MacroAppendIf.cmake 0085 MacroBoolTo01.cmake 0086 MacroEnsureOutOfSourceBuild.cmake 0087 MacroKAuth.cmake 0088 MacroLibrary.cmake 0089 NepomukMacros.cmake 0090 NepomukAddOntologyClasses.cmake 0091 PythonMacros.cmake 0092 SIPMacros.cmake 0093 Win32Macros.cmake 0094 check_installed_exports_file.cmake 0095 config-alsa.h.cmake 0096 create_exe_symlink.cmake 0097 cmake-modules-styleguide.txt 0098 BasicFindPackageVersion.cmake.in 0099 FindLibPython.py 0100 FindSIP.py 0101 PythonCompile.py 0102 kde4_exec_via_sh.cmake 0103 ) 0104 0105 install(FILES ${cmakeFiles} 0106 DESTINATION ${module_install_dir} ) 0107 0108 0109 # the files listed here will be removed by remove_obsoleted_cmake_files.cmake, Alex 0110 #set(FILES_TO_REMOVE 0111 #) 0112 0113 #install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake ) 0114 0115 #file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake "#generated by cmake, don't edit\n\n") 0116 #foreach ( _current_FILE ${FILES_TO_REMOVE}) 0117 # file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake "message(STATUS \"Removing ${_current_FILE}\" )\n" ) 0118 # file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/remove_files.cmake "exec_program( ${CMAKE_COMMAND} ARGS -E remove ${_current_FILE} OUTPUT_VARIABLE _dummy)\n" ) 0119 #endforeach ( _current_FILE) 0120 0121 if(NOT CMAKE_VERSION VERSION_GREATER 2.8.12) 0122 # create and install a man page for the kdelibs cmake modules 0123 add_custom_target(KDECMakeModulesManPage ALL COMMAND ${CMAKE_COMMAND} -DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR} --help-custom-modules ${CMAKE_CURRENT_BINARY_DIR}/kdecmake.1) 0124 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdecmake.1 DESTINATION "${KDE_INSTALL_MANDIR}/man1") 0125 endif()