summaryrefslogtreecommitdiff
path: root/src/3rd_party/dbus-1.7.8/cmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rd_party/dbus-1.7.8/cmake/modules')
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake37
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c33
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake35
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake36
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake3
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake42
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake52
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake5
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake9
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake22
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake12
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake100
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake18
-rw-r--r--src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake44
14 files changed, 0 insertions, 448 deletions
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake
deleted file mode 100644
index 74b6689880..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CPackInstallConfig.cmake
+++ /dev/null
@@ -1,37 +0,0 @@
-
-if (DBUS_INSTALL_SYSTEM_LIBS)
- if (MINGW)
- install_files(/bin FILES ${LIBEXPAT_LIBRARIES})
- else (MINGW)
- INCLUDE(InstallRequiredSystemLibraries)
- endif (MINGW)
-endif (DBUS_INSTALL_SYSTEM_LIBS)
-
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "D-BUS For Windows")
-SET(CPACK_PACKAGE_VENDOR "D-BUS Windows Team")
-SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/../README")
-SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../COPYING")
-# duplicated from VERSION
-SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
-SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
-SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
-#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
-SET(CPACK_PACKAGE_INSTALL_DIRECTORY "dbus")
-IF(WIN32 AND NOT UNIX)
- SET(CPACK_GENERATOR NSIS ZIP) # can be NSIS, STGZ, TBZ2, TGZ, TZ and ZIP
- SET(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
- # There is a bug in NSI that does not handle full unix paths properly. Make
- # sure there is at least one set of four (4) backlasshes.
-# SET(CPACK_PACKAGE_ICON "${CMake_SOURCE_DIR}/Utilities/Release\\\\InstallIcon.bmp")
- SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\dbus-launch.bat")
- SET(CPACK_NSIS_DISPLAY_NAME "D-Bus for Windows")
- SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\sourceforge.net/projects/windbus")
- SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\sourceforge.net/projects/windbus")
- SET(CPACK_NSIS_CONTACT "me@my-personal-home-page.com")
- SET(CPACK_NSIS_MODIFY_PATH ON)
-ELSE(WIN32 AND NOT UNIX)
- SET(CPACK_STRIP_FILES "bin/MyExecutable")
- SET(CPACK_SOURCE_STRIP_FILES "")
-ENDIF(WIN32 AND NOT UNIX)
-SET(CPACK_PACKAGE_EXECUTABLES "dbus-launch" "D-Bus Daemon")
-INCLUDE(CPack)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c
deleted file mode 100644
index 062b846c39..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckForAbstractSockets.c
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <errno.h>
-
-int main() {
- int listen_fd;
- struct sockaddr_un addr;
-
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
-
- if (listen_fd < 0)
- {
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
- exit (1);
- }
-
- memset (&addr, '\0', sizeof (addr));
- addr.sun_family = AF_UNIX;
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
-
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
- {
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
- strerror (errno));
- exit (1);
- }
- else
- exit (0);
-} \ No newline at end of file
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake
deleted file mode 100644
index da319f13a5..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckPrototypeExists.cmake
+++ /dev/null
@@ -1,35 +0,0 @@
-# - Check if the prototype for a function exists.
-# CHECK_PROTOTYPE_EXISTS (FUNCTION HEADER VARIABLE)
-#
-# FUNCTION - the name of the function you are looking for
-# HEADER - the header(s) where the prototype should be declared
-# VARIABLE - variable to store the result
-#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
-#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-
-INCLUDE(CheckCXXSourceCompiles)
-
-MACRO (CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT)
- SET(_INCLUDE_FILES)
- FOREACH (it ${_HEADER})
- SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
- ENDFOREACH (it)
-
- SET(_CHECK_PROTO_EXISTS_SOURCE_CODE "
-${_INCLUDE_FILES}
-int main()
-{
-#ifndef ${_SYMBOL}
- int i = sizeof(&${_SYMBOL});
-#endif
- return 0;
-}
-")
- CHECK_CXX_SOURCE_COMPILES("${_CHECK_PROTO_EXISTS_SOURCE_CODE}" ${_RESULT})
-ENDMACRO (CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake
deleted file mode 100644
index fd5d3461b1..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/CheckStructMember.cmake
+++ /dev/null
@@ -1,36 +0,0 @@
-# - Check if the given struct or class has the specified member variable
-# CHECK_STRUCT_MEMBER (STRUCT MEMBER HEADER VARIABLE)
-#
-# STRUCT - the name of the struct or class you are interested in
-# MEMBER - the member which existence you want to check
-# HEADER - the header(s) where the prototype should be declared
-# VARIABLE - variable to store the result
-#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
-#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-
-INCLUDE(CheckCXXSourceCompiles)
-
-MACRO (CHECK_STRUCT_MEMBER _STRUCT _MEMBER _HEADER _RESULT)
- SET(_INCLUDE_FILES)
- FOREACH (it ${_HEADER})
- SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
- ENDFOREACH (it)
-
- SET(_CHECK_STRUCT_MEMBER_SOURCE_CODE "
-${_INCLUDE_FILES}
-int main()
-{
- ${_STRUCT}* tmp;
- tmp->${_MEMBER};
- return 0;
-}
-")
- CHECK_CXX_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
-
-ENDMACRO (CHECK_STRUCT_MEMBER)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake
deleted file mode 100644
index 1767901e78..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindDoxygen.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-find_program(DOXYGEN_EXECUTABLE NAMES doxygen DOC "doxygen executable")
-mark_as_advanced(DOXYGEN_EXECUTABLE)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake
deleted file mode 100644
index 1fdaee9597..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindGLIB.cmake
+++ /dev/null
@@ -1,42 +0,0 @@
-# - Try to find the GLIB library
-# Once done this will define
-#
-# GLIB_FOUND - system has GLIB
-# GLIB_INCLUDES - the GLIB include directories
-# GLIB_LIBRARIES - The libraries needed to use GLIB
-
-if (WIN32)
-
-INCLUDE(MacroGetenvWinPath)
-
-MACRO_GETENV_WIN_PATH(_program_FILES_DIR PROGRAMFILES)
-
-FIND_PATH(GLIB_INCLUDE_DIR glib.h
- ${_program_FILES_DIR}/glib/include/glib-2.0
-)
-
-
-# search for GLIB in the default install directory for applications (default of (n)make install)
-FIND_LIBRARY(GLIB_LIBRARY NAMES glib-2.0
- PATHS
- ${_program_FILES_DIR}/glib/lib
-)
-
-if (GLIB_LIBRARY AND GLIB_INCLUDE_DIR)
- set(GLIB_FOUND TRUE)
- set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${GLIB_INCLUDES})
- set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${GLIB_LIBRARIES})
-
-endif (GLIB_LIBRARY AND GLIB_INCLUDE_DIR)
-
-if (GLIB_FOUND)
- if (NOT GLIB_FIND_QUIETLY)
- message(STATUS "Found GLIB: ${GLIB_LIBRARY}")
- endif (NOT GLIB_FIND_QUIETLY)
-else (GLIB_FOUND)
- if (GLIB_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find GLIB library")
- endif (GLIB_FIND_REQUIRED)
-endif (GLIB_FOUND)
-
-endif (WIN32)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake
deleted file mode 100644
index dac63449fa..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/FindLibIconv.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-# - Try to find LibIconv
-# Once done this will define
-#
-# LIBICONV_FOUND - system has LibIconv
-# LIBICONV_INCLUDE_DIR - the LibIconv include directory
-# LIBICONV_LIBRARIES - the libraries needed to use LibIconv
-# LIBICONV_DEFINITIONS - Compiler switches required for using LibIconv
-
-if (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- # in cache already
- SET(LIBICONV_FOUND TRUE)
-
-else (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- IF (NOT WIN32)
- MESSAGE(FATAL_ERROR "Please set this to the correct values!")
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- INCLUDE(UsePkgConfig)
- PKGCONFIG(libiconv-1.9 _LibIconvIncDir _LibIconvLinkDir _LibIconvLinkFlags _LiIconvCflags)
- SET(LIBICONV_DEFINITIONS ${_LibIconvCflags})
- ENDIF (NOT WIN32)
-
- FIND_PATH(LIBICONV_INCLUDE_DIR iconv.h
- PATHS
- ${_LibIconvIncDir}
- PATH_SUFFIXES libiconv
- )
-
- FIND_LIBRARY(LIBICONV_LIBRARIES NAMES iconv libiconv
- PATHS
- ${_LibIconvLinkDir}
- )
-
- if (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
- set(LIBICONV_FOUND TRUE)
- endif (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
-
- if (LIBICONV_FOUND)
- if (NOT LibIconv_FIND_QUIETLY)
- message(STATUS "Found LibIconv: ${LIBICONV_LIBRARIES}")
- endif (NOT LibIconv_FIND_QUIETLY)
- else (LIBICONV_FOUND)
- if (LibIconv_FIND_REQUIRED)
- message(SEND_ERROR "Could NOT find LibIconv")
- endif (LibIconv_FIND_REQUIRED)
- endif (LIBICONV_FOUND)
-
- MARK_AS_ADVANCED(LIBICONV_INCLUDE_DIR LIBICONV_LIBRARIES)
-
-endif (LIBICONV_INCLUDE_DIR AND LIBICONV_LIBRARIES)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake
deleted file mode 100644
index b18f7f639a..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroGetenvWinPath.cmake
+++ /dev/null
@@ -1,5 +0,0 @@
-
-MACRO (MACRO_GETENV_WIN_PATH var name)
- set(${var} $ENV{${name}})
- STRING(REGEX REPLACE "\\\\" "/" ${var} "${${var}}")
-ENDMACRO (MACRO_GETENV_WIN_PATH var name)
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake
deleted file mode 100644
index 6523530cac..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroLibrary.cmake
+++ /dev/null
@@ -1,9 +0,0 @@
-# - include MacroLibrary offers a collection of macros which extend the built-in cmake commands
-# OPTIONAL_FIND_PACKAGE( <name> [QUIT] )
-
-INCLUDE(MacroOptionalFindPackage)
-#INCLUDE(MacroAdditionalCleanFiles)
-#INCLUDE(MacroAddFileDependencies)
-#INCLUDE(MacroGetenvWinPath)
-#INCLUDE(MacroEnsureOutOfSourceBuild)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake
deleted file mode 100644
index 7068131202..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacroOptionalFindPackage.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION()
-# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] )
-# This macro is a combination of OPTION() and FIND_PACKAGE(), it
-# works like FIND_PACKAGE(), but additionally it automatically creates
-# an option name WITH_<name>, which can be disabled via the cmake GUI.
-# or via -DWITH_<name>=OFF
-# The standard <name>_FOUND variables can be used in the same way
-# as when using the normal FIND_PACKAGE()
-
-MACRO (MACRO_OPTIONAL_FIND_PACKAGE _name )
- OPTION(WITH_${_name} "Search for ${_name} package" ON)
- if (WITH_${_name})
- FIND_PACKAGE(${_name} ${ARGN})
- else (WITH_${_name})
- set(${_name}_FOUND)
- set(${_name}_INCLUDE_DIR)
- set(${_name}_INCLUDES)
- set(${_name}_LIBRARY)
- set(${_name}_LIBRARIES)
- endif (WITH_${_name})
-ENDMACRO (MACRO_OPTIONAL_FIND_PACKAGE)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake
deleted file mode 100644
index adb34b5161..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/Macros.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-
-MACRO(TIMESTAMP RESULT)
- if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
- EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE DATE)
- string(REGEX REPLACE "(..)[/.](..)[/.](....).*" "\\3\\2\\1" DATE ${DATE})
- EXECUTE_PROCESS(COMMAND "cmd" " /C time /T" OUTPUT_VARIABLE TIME)
- string(REGEX REPLACE "(..):(..)" "\\1\\2" TIME ${TIME})
- set (${RESULT} "${DATE}${TIME}")
- else ()
- EXECUTE_PROCESS(COMMAND "date" "+%Y%m%d%H%M" OUTPUT_VARIABLE ${RESULT})
- endif ()
-ENDMACRO()
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake
deleted file mode 100644
index 68e8ae5126..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/MacrosAutotools.cmake
+++ /dev/null
@@ -1,100 +0,0 @@
-#
-# @Author Ralf Habacker
-#
-# extracts version information from autoconf config file
-# and set related cmake variables
-#
-# returns
-# ${prefix}_VERSION
-# ${prefix}_VERSION_STRING
-# ${prefix}_MAJOR_VERSION
-# ${prefix}_MINOR_VERSION
-# ${prefix}_MICRO_VERSION
-#
-macro(autoversion config prefix)
- file (READ ${config} _configure_ac)
- string(TOUPPER ${prefix} prefix_upper)
- string (REGEX REPLACE ".*${prefix}_major_version], .([0-9]+).*" "\\1" ${prefix_upper}_MAJOR_VERSION ${_configure_ac})
- string (REGEX REPLACE ".*${prefix}_minor_version], .([0-9]+).*" "\\1" ${prefix_upper}_MINOR_VERSION ${_configure_ac})
- string (REGEX REPLACE ".*${prefix}_micro_version], .([0-9]+).*" "\\1" ${prefix_upper}_MICRO_VERSION ${_configure_ac})
- set (${prefix_upper}_VERSION ${${prefix_upper}_MAJOR_VERSION}.${${prefix_upper}_MINOR_VERSION}.${${prefix_upper}_MICRO_VERSION})
- set (${prefix_upper}_VERSION_STRING "${${prefix_upper}_VERSION}")
-
-endmacro()
-
-#
-# Defines package related variables (PACKAGE_..., PACKAGE and VERSION)
-# as done by autotools.
-#
-# Additional it defines a cmake variable named PACKAGE_CONFIG_H_TEMPLATE
-# which could be placed in config.h templates to have those variables
-# defined at code level like shown below:
-#
-# config.h.template
-# ...
-# @AUTOPACKAGE_CONFIG_H_TEMPLATE@
-# ...
-#
-macro(autopackage name version url support_url)
- # Define to the full name of this package.
- set(PACKAGE_NAME ${name})
-
- # Define to the version of this package.
- set(PACKAGE_VERSION ${version})
-
- # Define to the home page for this package.
- set(PACKAGE_URL ${url})
-
- # Define to the address where bug reports for this package should be sent.
- set(PACKAGE_BUGREPORT ${support_url})
-
- # Define to the full name and version of this package.
- set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
-
- # Define to the one symbol short name of this package.
- set(PACKAGE_TARNAME ${PACKAGE_NAME})
-
- set(PACKAGE ${name})
- set(VERSION ${DBUS_VERSION_STRING})
-
- set(AUTOPACKAGE_CONFIG_H_TEMPLATE "/* generated by cmake macro autopackage */\n
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT \"@PACKAGE_BUGREPORT@\"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME \"@PACKAGE_NAME@\"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING \"@PACKAGE_STRING@\"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME \"@PACKAGE_TARNAME@\"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL \"@PACKAGE_URL@\"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION \"@PACKAGE_VERSION@\"
-
-/* defined by autotools package */
-#define PACKAGE \"@PACKAGE@\"
-#define VERSION \"@VERSION@\"
-")
-endmacro(autopackage)
-
-#
-# parses config.h template and create cmake equivalent
-# not implemented yet
-#
-macro(autoconfig template output)
- file(READ ${template} contents)
- # Convert file contents into a CMake list (where each element in the list
- # is one line of the file)
- STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}")
- STRING(REGEX REPLACE "\n" ";" contents "${contents}")
- foreach(line contents)
- message(STATUS ${line})
- # find #undef lines
- # append to config.h #define <variable-name> <variable-content>
- endforeach()
-endmacro()
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake
deleted file mode 100644
index 713a67a1ed..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/ProjectSourceGroup.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-# folders in the msvc projects
-# mode==flat : headers and ourses in no folders
-# mode==split : standard behavior of cmake, split headers and sources
-# mode== <other values" : code is in this folder
-macro(project_source_group mode sources headers)
- #message(STATUS ${mode})
- #message(STATUS ${sources} ${headers})
- if(${mode} MATCHES "flat")
- source_group("Source Files" Files)
- source_group("Header Files" Files)
- source_group("cmake" FILES CMakeLists.txt)
- else(${mode} MATCHES "flat")
- if(NOT ${mode} MATCHES "split")
- source_group("${mode}" FILES ${${sources}} ${${headers}})
- endif(NOT ${mode} MATCHES "split")
- endif(${mode} MATCHES "flat")
-endmacro(project_source_group mode sources headers)
-
diff --git a/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake b/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake
deleted file mode 100644
index 4385cc97e1..0000000000
--- a/src/3rd_party/dbus-1.7.8/cmake/modules/Win32Macros.cmake
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# win32 macros
-#
-# Copyright (c) 2006-2007, Ralf Habacker
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-#
-
-if (WIN32)
- #
- # addExplorerWrapper creates batch files for fast access
- # to the build environment from the win32 explorer.
- #
- # For mingw and nmake projects it's opens a command shell,
- # for Visual Studio IDE's (at least tested with VS 8 2005) it
- # opens the related .sln file with paths setting specified at
- # configure time.
- #
- MACRO (addExplorerWrapper _projectname)
- # write explorer wrappers
- get_filename_component(CMAKE_BIN_PATH ${CMAKE_COMMAND} PATH)
- set (ADD_PATH "${CMAKE_BIN_PATH}")
-
- if (QT_QMAKE_EXECUTABLE)
- get_filename_component(QT_BIN_PATH ${QT_QMAKE_EXECUTABLE} PATH)
- set (ADD_PATH "${ADD_PATH};${QT_BIN_PATH}")
- endif (QT_QMAKE_EXECUTABLE)
-
- # add here more pathes
-
- if (MINGW)
- get_filename_component(MINGW_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
- set (ADD_PATH "${ADD_PATH};${MINGW_BIN_PATH}")
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncmd.exe")
- else (MINGW)
- if (CMAKE_BUILD_TOOL STREQUAL "nmake")
- get_filename_component(VC_BIN_PATH ${CMAKE_CXX_COMPILER} PATH)
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-shell.bat "set PATH=${ADD_PATH};%PATH%\ncall \"${VC_BIN_PATH}\\vcvars32.bat\"\ncmd.exe")
- else (CMAKE_BUILD_TOOL STREQUAL "nmake")
- write_file (${CMAKE_BINARY_DIR}/${_projectname}-sln.bat "set PATH=${ADD_PATH};%PATH%\nstart ${_projectname}.sln")
- endif (CMAKE_BUILD_TOOL STREQUAL "nmake")
- endif (MINGW)
- ENDMACRO (addExplorerWrapper)
-endif(WIN32)