diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2014-01-07 16:05:41 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-01-07 16:09:02 +0100 |
| commit | c41f32bcca518ff8eb2b56221d640edfd9173299 (patch) | |
| tree | 93c0cf4d4b29a497eacadfccc3624efb8c391d4f /cmake/Modules/MacroAddPlugin.cmake | |
| parent | 61e701caaa6228f5afa622e9dc77ae58f5605de3 (diff) | |
cmake: Remove unused macro modules.
Diffstat (limited to 'cmake/Modules/MacroAddPlugin.cmake')
| -rw-r--r-- | cmake/Modules/MacroAddPlugin.cmake | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cmake/Modules/MacroAddPlugin.cmake b/cmake/Modules/MacroAddPlugin.cmake deleted file mode 100644 index 36b5e57e..00000000 --- a/cmake/Modules/MacroAddPlugin.cmake +++ /dev/null @@ -1,30 +0,0 @@ -# - MACRO_ADD_PLUGIN(name [WITH_PREFIX] file1 .. fileN) -# -# Create a plugin from the given source files. -# If WITH_PREFIX is given, the resulting plugin will have the -# prefix "lib", otherwise it won't. -# -# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> -# Copyright (c) 2006, Laurent Montel, <montel@kde.org> -# Copyright (c) 2006, Andreas Schneider, <mail@cynapses.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -macro (MACRO_ADD_PLUGIN _target_NAME _with_PREFIX) - - if (${_with_PREFIX} STREQUAL "WITH_PREFIX") - set(_first_SRC) - else (${_with_PREFIX} STREQUAL "WITH_PREFIX") - set(_first_SRC ${_with_PREFIX}) - endif (${_with_PREFIX} STREQUAL "WITH_PREFIX") - - add_library(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) - - if (_first_SRC) - set_target_properties(${_target_NAME} PROPERTIES PREFIX "") - endif (_first_SRC) - -endmacro (MACRO_ADD_PLUGIN _name _sources) - |
