diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-09-17 05:53:04 +0200 |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-09-17 05:53:04 +0200 |
commit | 0bb4d2714905876432ffc95b6132814ccdc1588d (patch) | |
tree | 1bfb2c544408b3126c410e027acb709617e8dcbe /attic | |
parent | 5cde65eb60ae71bfd908230e5c20ac16a795a9ca (diff) | |
download | extra-cmake-modules-0bb4d2714905876432ffc95b6132814ccdc1588d.tar.gz extra-cmake-modules-0bb4d2714905876432ffc95b6132814ccdc1588d.tar.bz2 |
automoc is now part of cmake, no need for this anymore
Alex
Diffstat (limited to 'attic')
-rw-r--r-- | attic/modules/FindAutomoc4.cmake | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/attic/modules/FindAutomoc4.cmake b/attic/modules/FindAutomoc4.cmake deleted file mode 100644 index e08ae802..00000000 --- a/attic/modules/FindAutomoc4.cmake +++ /dev/null @@ -1,56 +0,0 @@ -# - Try to find automoc4 -# Once done this will define -# -# AUTOMOC4_FOUND - automoc4 has been found -# AUTOMOC4_EXECUTABLE - the automoc4 tool -# AUTOMOC4_VERSION - the full version of automoc4 -# AUTOMOC4_VERSION_MAJOR, AUTOMOC4_VERSION_MINOR, AUTOMOC4_VERSION_PATCH - AUTOMOC4_VERSION -# broken into its components -# -# It also adds the following macros -# AUTOMOC4(<target> <SRCS_VAR>) -# Use this to run automoc4 on all files contained in the list <SRCS_VAR>. -# -# AUTOMOC4_MOC_HEADERS(<target> header1.h header2.h ...) -# Use this to add more header files to be processed with automoc4. -# -# AUTOMOC4_ADD_EXECUTABLE(<target_NAME> src1 src2 ...) -# This macro does the same as ADD_EXECUTABLE, but additionally -# adds automoc4 handling for all source files. -# -# AUTOMOC4_ADD_LIBRARY(<target_NAME> src1 src2 ...) -# This macro does the same as ADD_LIBRARY, but additionally -# adds automoc4 handling for all source files. - -# Internal helper macro, may change or be removed anytime: -# _ADD_AUTOMOC4_TARGET(<target_NAME> <SRCS_VAR>) -# -# Since version 0.9.88: -# The following two macros are only to be used for KDE4 projects -# and do something which makes sure automoc4 works for KDE. Don't -# use them anywhere else. -# _AUTOMOC4_KDE4_PRE_TARGET_HANDLING(<target_NAME> <SRCS_VAR>) -# _AUTOMOC4_KDE4_POST_TARGET_HANDLING(<target_NAME>) - - -# Copyright (c) 2008-2009, Alexander Neundorf, <neundorf@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -# check if we are inside KDESupport and automoc is enabled -if("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") - # when building this project as part of kdesupport - include("${KDESupport_SOURCE_DIR}/automoc/Automoc4Config.cmake") -else("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") - # when building this project outside kdesupport - # use the new "config-mode" of cmake 2.6, which searches the installed Automoc4Config.cmake file - # see the man page for details - set(_Automoc4_FIND_QUIETLY ${Automoc4_FIND_QUIETLY}) - find_package(Automoc4 QUIET NO_MODULE) - set(Automoc4_FIND_QUIETLY ${_Automoc4_FIND_QUIETLY}) -endif("${KDESupport_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Automoc4 "Did not find automoc4 (Automoc4Config.cmake, part of kdesupport)." AUTOMOC4_EXECUTABLE) |