Branch: null

92ef232b 2010-10-05 18:46:08 tpearson
Add shared CMake directory


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1182909 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/TDEMacros.cmake
A modules/template_dummy_cpp.cmake
A modules/template_kdeinit_executable.cmake
A modules/template_kdeinit_module.cmake
A modules/template_libtool_file.cmake
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
new file mode 100644
index 0000000..adf9d3b
--- /dev/null
+++ b/modules/TDEMacros.cmake
@@ -0,0 +1,684 @@
+#################################################
+#####
+##### tde_install_icons( <icons...> THEME <svgicons> DESTINATION <destdir> )
+##### default theme: hicolor
+##### default destination: ${SHARE_INSTALL_DIR}/icons
+
+macro( tde_install_icons )
+
+  # clearing
+  unset( _dest )
+  unset( _req_theme )
+  unset( _icons )
+  set( _var _icons )
+
+  # parse all arguments
+  foreach( _arg ${ARGV} )
+    # directive DESTINATION
+    if( _arg STREQUAL "DESTINATION" )
+      set( _var _dest )
+      set( _directive 1 )
+    endif( _arg STREQUAL "DESTINATION" )
+    # directive THEME
+    if( _arg STREQUAL "THEME" )
+      set( _var _req_theme )
+      set( _directive 1 )
+    endif( _arg STREQUAL "THEME" )
+    # collect data
+    if( _directive )
+      unset( _directive )
+    else( _directive )
+      set( ${_var} ${${_var}} ${_arg} )
+      set( _var _icons )
+    endif( _directive )
+  endforeach( _arg )
+
+  #defaults
+  if( NOT _icons )
+    set( _icons "*" )
+  endif( NOT _icons )
+  if( NOT _dest )
+    set( _dest "${SHARE_INSTALL_DIR}/icons" )
+  endif( NOT _dest )
+
+  foreach( _icon ${_icons} )
+    unset( _theme ) # clearing
+
+    file(GLOB _icon_files *-${_icon}.png _icon_files *-${_icon}.svg* )
+    foreach( _icon_file ${_icon_files} )
+      # FIXME need a review
+      string( REGEX MATCH "^.*/([a-zA-Z][a-zA-Z])([0-9a-zA-Z]+)\\-([a-z]+)\\-(.+)$" _dummy  "${_icon_file}" )
+      set( _type  "${CMAKE_MATCH_1}" )
+      set( _size  "${CMAKE_MATCH_2}" )
+      set( _group "${CMAKE_MATCH_3}" )
+      set( _name  "${CMAKE_MATCH_4}" )
+
+      # autodetect theme
+      if( NOT _req_theme )
+        if( "${_type}" STREQUAL "cr" )
+          set( _theme crystalsvg )
+        endif( "${_type}" STREQUAL "cr" )
+        # defaulting
+        if( NOT _theme )
+          set( _theme hicolor )
+        endif( NOT _theme )
+      else( NOT _req_theme )
+        set( _theme ${_req_theme} )
+      endif( NOT _req_theme )
+
+      # fix "group" name
+      if( "${_group}" STREQUAL "mime" )
+         set( _group  "mimetypes" )
+      endif( "${_group}" STREQUAL "mime" )
+      if( "${_group}" STREQUAL "filesys" )
+         set( _group  "filesystems" )
+      endif( "${_group}" STREQUAL "filesys" )
+      if( "${_group}" STREQUAL "device" )
+         set( _group  "devices" )
+      endif( "${_group}" STREQUAL "device" )
+      if( "${_group}" STREQUAL "app" )
+         set( _group  "apps" )
+      endif( "${_group}" STREQUAL "app" )
+      if( "${_group}" STREQUAL "action" )
+         set( _group  "actions" )
+      endif( "${_group}" STREQUAL "action" )
+
+      if( "${_size}" STREQUAL "sc" )
+        install( FILES ${_icon_file} DESTINATION ${_dest}/${_theme}/scalable/${_group}/ RENAME ${_name} )
+      else( "${_size}" STREQUAL "sc" )
+        install( FILES ${_icon_file} DESTINATION ${_dest}/${_theme}/${_size}x${_size}/${_group}/ RENAME ${_name} )
+      endif( "${_size}" STREQUAL "sc" )
+
+    endforeach( _icon_file )
+  endforeach( _icon )
+
+endmacro( tde_install_icons )
+
+
+#################################################
+#####
+##### tde_add_lut( <source> <result> [depends] )
+##### default depends: source
+
+macro( tde_add_lut _src _lut _dep )
+  set( create_hash_table ${CMAKE_SOURCE_DIR}/kjs/create_hash_table )
+  if( NOT _dep )
+    set( _dep ${_src} )
+  endif( NOT _dep )
+  add_custom_command( OUTPUT ${_lut}
+    COMMAND perl ARGS ${create_hash_table} ${CMAKE_CURRENT_SOURCE_DIR}/${_src} -i > ${_lut}
+    DEPENDS ${_src} )
+  set_source_files_properties( ${_dep} PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_lut} )
+  unset( _dep )
+endmacro( tde_add_lut )
+
+
+#################################################
+#####
+##### tde_add_luts( <sources...> )
+
+macro( tde_add_luts )
+  foreach( _src ${ARGV} )
+    get_filename_component( _lut ${_src} NAME_WE )
+    set( _lut "${_lut}.lut.h" )
+    tde_add_lut( ${_src} ${_lut} ${_src} )
+  endforeach( _src )
+endmacro( tde_add_luts )
+
+
+#################################################
+#####
+##### tde_install_la_file( <target> <destination> )
+
+macro( tde_install_la_file _target _destination )
+
+  get_target_property( _target_location ${_target} LOCATION )
+  get_filename_component( _laname ${_target_location} NAME_WE )
+  get_filename_component( _soname ${_target_location} NAME )
+  set( _laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la )
+
+  file( WRITE ${_laname}
+"# ${_laname} - a libtool library file, generated by cmake
+# The name that we can dlopen(3).
+dlname='${_soname}'
+# Names of this library
+library_names='${_soname} ${_soname} ${_soname}'
+# The name of the static archive
+old_library=''
+# Libraries that this one depends upon.
+dependency_libs=''
+# Version information.\ncurrent=0\nage=0\nrevision=0
+# Is this an already installed library?\ninstalled=yes
+# Should we warn about portability when linking against -modules?\nshouldnotlink=yes
+# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''
+# Directory that this library needs to be installed in:
+libdir='${_destination}'
+" )
+
+  install( FILES ${_laname} DESTINATION ${_destination} )
+
+endmacro( tde_install_la_file )
+
+
+#################################################
+#####
+##### __tde_internal_process_sources
+
+macro( __tde_internal_process_sources _sources )
+
+  unset( ${_sources} )
+
+  foreach( _arg ${ARGN} )
+    get_filename_component( _ext ${_arg} EXT )
+    get_filename_component( _name ${_arg} NAME_WE )
+    get_filename_component( _path ${_arg} PATH )
+
+    # if not path, set it to "."
+    if( NOT _path )
+      set( _path "./" )
+    endif( NOT _path )
+
+    # handle .ui files
+    if( ${_ext} STREQUAL ".ui" )
+      kde3_add_ui_files( ${_sources} ${_arg} )
+
+    # handle .skel files
+    elseif( ${_ext} STREQUAL ".skel" )
+      kde3_add_dcop_skels( ${_sources} ${_name}.h )
+
+    # handle .stub files
+    elseif( ${_ext} STREQUAL ".stub" )
+      kde3_add_dcop_stubs( ${_sources} ${_path}/${_name}.h )
+
+    # handle .kcfgc files
+    elseif( ${_ext} STREQUAL ".kcfgc" )
+      kde3_add_kcfg_files( ${_sources} ${_arg} )
+
+    # handle any other files
+    else( ${_ext} STREQUAL ".ui" )
+      list(APPEND ${_sources} ${_arg} )
+    endif( ${_ext} STREQUAL ".ui" )
+  endforeach( _arg )
+
+endmacro( __tde_internal_process_sources )
+
+
+#################################################
+#####
+##### tde_install_libtool_file
+
+macro( tde_install_libtool_file _target _destination )
+
+  get_target_property( _target_location ${_target} LOCATION )
+
+  # get name of target
+  get_filename_component( _name ${_target_location} NAME_WE )
+
+  # get .la name
+  set( _laname ${_name}.la )
+
+  # get .so name
+  get_filename_component( _soname ${_target_location} NAME )
+
+  # get version of target
+  get_target_property( _target_version ${_target} VERSION )
+  get_target_property( _target_soversion ${_target} SOVERSION )
+
+  # we have so version
+  if( _target_version )
+    set( _library_name_1 "${_soname}.${_target_version}" )
+    set( _library_name_2 "${_soname}.${_target_soversion}" )
+    set( _library_name_3 "${_soname}" )
+
+    string( REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)$" _dummy  "${_target_version}" )
+    set( _version_current  "${CMAKE_MATCH_1}" )
+    set( _version_age  "${CMAKE_MATCH_2}" )
+    set( _version_revision "${CMAKE_MATCH_3}" )
+
+  # we have no so version (module?)
+  else( _target_version )
+    set( _library_name_1 "${_soname}" )
+    set( _library_name_2 "${_soname}" )
+    set( _library_name_3 "${_soname}" )
+    set( _version_current  "0" )
+    set( _version_age  "0" )
 ** Diff limit reached (max: 250 lines) **
36c1f10b 2010-10-08 03:51:19 samelian
[kde-common/cmake] make .la files compatible with libtool

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1183730 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/template_libtool_file.cmake
 ** Diff limit reached (max: 250 lines) **
bf0721e3 2010-10-08 14:15:20 samelian
[kde-common/cmake] avoid transitive linking to convenience libraries

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1183935 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
47c168fc 2010-10-14 17:13:56 samelian
[kde-common/cmake] added "tde_setup_paths" macro, a convenient way to setup install paths, inspired by classic configure tool

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186009 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
536ef9b7 2010-10-15 18:22:05 samelian
[kde-common/cmake] tde_setup_paths: some paths can be detected automatically using kde-config

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186350 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
df3d616b 2010-10-17 06:17:16 samelian
[kde-common/cmake] added macro tde_message_fatal

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186735 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
23886446 2010-10-17 16:14:11 samelian
[kde-common/cmake] added our own FindQt module

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186901 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
c27380d0 2010-10-17 17:06:45 samelian
[kde-common/cmake] rename QT_INCLUDE_DIR to QT_INCLUDE_DIRS and QT_LIBRARY_DIR to QT_LIBRARY_DIRS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1186920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
6d2a0663 2010-10-18 16:13:29 samelian
[kde-common/cmake] tde_install_icons: detect locolor theme icons; ignoring icons with invalid names

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1187287 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
711c3890 2010-10-24 16:35:56 samelian
[kde-common/cmake] tde_setup_paths: I decided to follow KDE4 rules for names of installing paths

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1189377 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
7cefea48 2010-10-24 16:45:55 samelian
[cmake/modules] TDEMacros.cmake: follow KDE4 rules for path names; added new macros: tde_add_ui_files, tde_automoc, tde_conditional_add_subdirectory; some other small changes.

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1189381 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
d7a10129 2010-10-24 17:00:51 samelian
[kde-common/cmake] added find module for TQt

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1189385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
2eca0999 2010-10-27 18:53:16 samelian
[kde-common/cmake] added support for imported targets; few fixes DESTDIR related

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1190534 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
2c88a94f 2010-11-18 16:37:42 samelian
[kde-common/cmake] added EXPORT directive to macro tde_add_kdeinit_executable

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1198559 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
1c4b89d7 2010-11-18 18:04:30 samelian
[kde-common/cmake] tde_add_library: CMAKE_PROJECT_NAME replaced with PROJECT_NAME

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1198573 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
c281cef3 2010-11-20 18:44:15 samelian
[kde-common/cmake] added a special uic wrapper, for using with TDE codebase

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1199209 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/tde_uic.cmake
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
59f265f1 2010-11-21 14:45:21 samelian
[kde-common/cmake] make tde_uic usable even if TDE_QTPLUGINS_DIR is not set (i.e. kdelibs context)

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1199426 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
63852492 2010-11-21 14:56:57 samelian
[kde-common/cmake] looking for tde_uic.cmake in CMAKE_MODULE_PATH

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1199433 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
f2e08766 2010-11-27 19:13:12 samelian
[kde-common/cmake/modules] added tde_save / tde_restore macros

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1201527 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
82c1dd74 2010-12-05 12:49:24 samelian
[kde-common/cmake] added tde_include_tqt macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1203936 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
4c4e9d7a 2010-12-12 14:44:14 samelian
[kde-common/cmake] added two macros: tde_create_handbook and tde_auto_add_subdirectories

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1205854 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
8f576270 2010-12-12 14:56:38 samelian
[kde-common/cmake] added FindTDE.cmake

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1205856 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
6b6377bc 2010-12-16 15:06:26 samelian
[kde-common/cmake] tde_add_library: processing .skel files when they aren't in current directory

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1207076 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
45bcef7b 2011-01-06 11:29:02 samelian
[kde-common/cmake] using our own export procedure, for more control

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1212363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A modules/template_export_library.cmake
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
62d21a9e 2011-01-10 16:58:53 samelian
[kde-common/cmake] FindQt.cmake: checking for patched Qt; added more flags to QT_DEFINITIONS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1213590 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
cdf8d5f5 2011-01-10 17:09:37 samelian
[kde-common/cmake] tde_add_library: do not add soversion for exported libraries without version

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1213591 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
28ba65c6 2011-01-19 18:07:09 samelian
[kde-common/cmake] tde_uic.cmake: copy .ui file locally and run tqt-replace before uic

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1215873 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
2022a265 2011-01-23 12:35:13 samelian
[kde-common/cmake] TDEMacros.cmake: added tde_moc macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1216495 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
b337a1ca 2011-03-06 13:18:16 samelian
[kde-common/cmake] FindTDE.cmake: check for makekdewidgets

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1223984 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
679b5fa7 2011-03-07 17:24:52 samelian
[kde-common/cmake] added META_INCLUDES directive

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224106 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
1ff73c1b 2011-03-07 18:23:32 samelian
[kde-common/cmake] tde_automoc: use absolute path to source header

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224110 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
3e1a04a6 2011-03-07 19:23:31 samelian
[kde-common/cmake] tde_automoc: fixed variable colision

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224112 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
46f5e7de 2011-03-11 21:55:47 tpearson
Bring the HTML directory in line with the old Automake directory


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
68af5e4e 2011-03-12 05:21:10 samelian
[kde-common/cmake] tde_create_handbook(): added SRCDIR directive

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1224577 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
9a8f200e 2011-03-17 04:50:13 samelian
[kde-common/cmake] tde_create_handbook: added EXTRA directive; *.css files are detected automatically

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225140 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
8d2dffbc 2011-03-20 18:07:33 tpearson
Add preliminary support for TQt for Qt4 to CMake


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225433 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
M modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
187d9455 2011-03-20 22:05:50 tpearson
Added crude Qt3/Qt4 autodetect


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225450 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
f689d160 2011-03-21 11:08:55 tpearson
Fix uic name under TQt for Qt4


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
12653f60 2011-03-23 10:03:56 samelian
[kde-common/cmake] TDEMacros.cmake: added tde_setup_install_path()

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225817 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
a763e012 2011-03-24 16:05:46 samelian
[kde-common/cmake] FindQt.cmake: removed defaulting to qt3 QT_INCLUDE_DIRS/QT_INCLUDE_DIRS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
acd7af9b 2011-03-24 19:47:21 samelian
[kde-common/cmake] enforce out-of-source mode

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
7cc3c634 2011-03-25 03:29:05 tpearson
Add Qt autodetect option


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1225945 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
33b492d8 2011-03-27 16:56:52 samelian
[cmake] reworked tqtinterface build system

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindTDE.cmake
M modules/FindTQt.cmake
M modules/TDEMacros.cmake
M modules/TDESetupPaths.cmake
M modules/tde_uic.cmake
R modules/FindQt.cmake
 ** Diff limit reached (max: 250 lines) **
9144f3a4 2011-03-30 11:12:03 tpearson
Enable Qt4 compilation again


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226574 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
35b56aaf 2011-03-30 13:31:33 samelian
[kde-common/cmake] tde_install_icons: properly clearing theme

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226579 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
e2c0c02d 2011-03-30 16:16:35 samelian
[cmake] rename TQt.pc to tqt.pc

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1226585 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
6ef79f89 2011-04-18 18:17:24 samelian
[kde-common/cmake] added NOINDEX directive to tde_create_handbook() macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1228472 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
4da24f1a 2011-04-21 17:30:33 samelian
[kde-common/cmake] added tde_create_translation() macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1228679 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
192bc903 2011-04-28 17:56:52 samelian
[kde-common/cmake] added tde_file_to_cpp() macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1229667 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
b5c2dd89 2011-05-10 16:54:13 samelian
[kde-common/cmake] fixed tde_moc() macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1231316 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
2354904f 2011-05-11 16:31:54 samelian
[kde-common/cmake] tde_uic: copy ui.h extension to binary dir

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1231438 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
780c1ebc 2011-05-15 08:33:10 samelian
[kde-common/cmake] tde_uic.cmake: pass qtplugins argument to generator of header

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1232088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
b8fce97c 2011-08-08 02:22:20 tpearson
Fix FTBFS under Debian


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1245663 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
17d03aa0 2011-08-08 03:22:53 tpearson
Revert prior commit as it caused other problems


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1245668 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
45266df7 2011-08-20 20:43:11 tpearson
Convert remaining references to kde3 (e.g. in paths) to trinity


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1248408 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
6e930aaf 2011-08-20 23:54:43 tpearson
Fix FTBFS under CMake


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1248418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
6858337c 2011-09-06 17:21:06 tpearson
Add preliminary apidox support to CMake


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1251898 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
A generate_apidox
A install_apidox
 ** Diff limit reached (max: 250 lines) **
f573351e 2011-09-06 21:39:39 tpearson
Fix FTBFS from CMake apidox generation script


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1251912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M generate_apidox
 ** Diff limit reached (max: 250 lines) **
ae530517 2011-10-26 15:01:41 tpearson
Enable owner write access on suid executables
This does not change the security of said executables, as the owner always has the ability to chmod +w and then edit the file


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/cmake@1260904 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
77597724 2011-11-06 02:23:55 Timothy Pearson
Additional kde to tde renaming
M modules/TDEMacros.cmake
M modules/template_kdeinit_module.cmake
 ** Diff limit reached (max: 250 lines) **
cb635a74 2011-11-06 15:56:16 Timothy Pearson
Actually move the kde files that were renamed in the last commit
A modules/template_tdeinit_executable.cmake
A modules/template_tdeinit_module.cmake
R modules/template_kdeinit_executable.cmake
R modules/template_kdeinit_module.cmake
 ** Diff limit reached (max: 250 lines) **
42b03b09 2011-11-16 13:44:15 Timothy Pearson
Additional renaming of kde to tde
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
6092ca3f 2011-12-31 22:34:35 Timothy Pearson
Automatically generate ELF metadata for each TDE executable
This is another first for a Linux desktop environment!
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
3b4610f5 2012-01-02 10:17:07 Timothy Pearson
Update tdelfeditor argument list
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
e4bd3f07 2012-01-19 23:27:43 Timothy Pearson
Clean up tdelfeditor warnings in CMake builds
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
4ea6710b 2012-02-02 13:06:11 Timothy Pearson
Add qwizard to kwizard autoconversion from Autotools to CMake
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
11b41ecb 2012-02-11 13:33:29 Timothy Pearson
Update version checks
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
caedf832 2012-02-12 15:08:53 Serghei Amelian
[TDEMacros.cmake] added tde_save_and_set() macro
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
8e6f203f 2012-02-19 14:39:26 Timothy Pearson
Add new tde_setup_architecture_flags macro
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
975cc10f 2012-02-25 16:41:07 Timothy Pearson
Fix vague build errors due to blind execution in CMake
This closes Bug 874
Thanks to Aleksey Midenkov for the patch!
M modules/FindTDE.cmake
M modules/FindTQt.cmake
M modules/TDEMacros.cmake
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
6b3a1fc5 2012-02-26 14:24:14 Timothy Pearson
Rename kde-config to tde-config
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
ea715e15 2012-03-05 23:27:31 Timothy Pearson
Added CACHE option to tde_execute_process and clean up build output
This partially closes Bug 882
Thanks to Aleksey Midenkov for the patch!
M modules/FindTQt.cmake
M modules/TDEMacros.cmake
M modules/TDESetupPaths.cmake
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
6868254e 2012-03-06 11:34:08 Timothy Pearson
Add support for tqt.pc
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
d2f658ca 2012-04-10 23:09:02 Darrell Anderson
Update final HTML install path so all modules are consistent.
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
e47cc63e 2012-06-08 15:40:04 Darrell Anderson
Update XDG information in support of bug report 892.
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
ce9e1ce4 2012-06-12 17:06:05 Timothy Pearson
Add FindTQtQUI
A modules/FindTQtQUI.cmake
 ** Diff limit reached (max: 250 lines) **
07921f23 2012-06-14 01:01:29 Timothy Pearson
Remove spurious tmoc check from tqtqui module
M modules/FindTQtQUI.cmake
 ** Diff limit reached (max: 250 lines) **
477d071b 2012-06-15 08:30:53 Timothy Pearson
Second patch for covariant return type check
Thanks to 'Nix' for the patch!
M modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
cd6c8614 2012-08-07 01:54:35 Timothy Pearson
Fix TDE version detection
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
f1cea7f8 2012-09-10 01:07:01 Timothy Pearson
Install mng icons as well as png and svg icons
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
3e0a4c9f 2012-11-19 23:36:13 Timothy Pearson
Install icons to places instead of filesystems
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
0953d90e 2012-11-27 05:18:33 Slávek Banko
Do not create symlink "common" in tde_createte_handbook with NOINDEX flag
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
9a217903 2013-01-27 00:56:44 Timothy Pearson
Rename a number of libraries and executables to avoid conflicts with KDE4
M modules/FindTDE.cmake
M modules/TDESetupPaths.cmake
 ** Diff limit reached (max: 250 lines) **
274366fb 2013-01-27 12:52:23 Slávek Banko
Fix icon name parsing in tde_install_icons
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
5438330f 2013-02-15 21:52:18 Timothy Pearson
Rename additional header files to avoid conflicts with KDE4
M modules/tde_uic.cmake
 ** Diff limit reached (max: 250 lines) **
b928573e 2013-02-16 11:31:18 Francois Andriot
Fix 'tde_create_handbook' macro if TDE_HTML_DIR is not set
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
d53ac2db 2013-02-16 11:38:10 Slávek Banko
Add compiler flags according to build type
M modules/FindTQt.cmake
 ** Diff limit reached (max: 250 lines) **
ba27b9f2 2013-02-21 13:24:35 Timothy Pearson
Rename makekdewidgets
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
b51b691c 2013-09-15 05:52:01 Alexander Golubev
Add support for all-in-one-dir structure in tde_create_translation
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
541bb2f4 2013-12-23 05:39:04 Alexander Golubev
Fix FTBFS with clang
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
ce8049e3 2013-12-23 05:42:55 Slávek Banko
Fix build with cmake >= 2.8.12
This resolves Bug 1759
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
d29f6d6b 2013-12-23 05:48:22 Slávek Banko
Rename kdewidgets => tdewidgets
M modules/FindTDE.cmake
 ** Diff limit reached (max: 250 lines) **
836cbcae 2014-03-27 02:36:04 Timothy Pearson
Add metadata to shared libraries
Update metadata information
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
5e4b4371 2014-03-27 03:37:51 Timothy Pearson
Fill in SCM metadata if present
Properly set library metadata
M modules/FindTDE.cmake
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
f4055629 2014-03-28 17:47:45 Timothy Pearson
Load metadata into versioned libraries
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
38a8a335 2014-09-14 12:09:17 Francois Andriot
Fix openbsd library naming convention
Fix setup architecture flags on openbsd
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
0d5ca8be 2014-09-29 10:19:11 Slávek Banko
Silence warnings on CMP0026 with CMake 3.x
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
08c6f54d 2014-10-12 10:44:00 Slávek Banko
Build setuid binaries with PIE flags
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
47d77551 2014-10-13 16:52:13 Slávek Banko
Fix FTBFS if PIE is not supported
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **
1994b808 2014-10-14 11:39:39 Timothy Pearson
Bring package_development, package_games, package_graphics, package_network, package_multimedia, package_wordprocessing, edu_science, package_utilities, input_devices_settings, kcmsystem, personal, and looknfeel icons into XDG compliance
M modules/TDEMacros.cmake
 ** Diff limit reached (max: 250 lines) **