]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Remove an obsolete file
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 22:18:35 +0000 (22:18 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 22:18:35 +0000 (22:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@30390 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_split_debug_release.cmake [deleted file]

diff --git a/deal.II/cmake/macros/macro_split_debug_release.cmake b/deal.II/cmake/macros/macro_split_debug_release.cmake
deleted file mode 100644 (file)
index dd05b98..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-## ---------------------------------------------------------------------
-## $Id$
-##
-## Copyright (C) 2013 by the deal.II authors
-##
-## This file is part of the deal.II library.
-##
-## The deal.II library is free software; you can use it, redistribute
-## it, and/or modify it under the terms of the GNU Lesser General
-## Public License as published by the Free Software Foundation; either
-## version 2.1 of the License, or (at your option) any later version.
-## The full text of the license can be found in the file LICENSE at
-## the top level of the deal.II distribution.
-##
-## ---------------------------------------------------------------------
-
-
-#
-# A small macro to split a list of libraries with debug, optimized and
-# general keywords into two lists consisting of all libraries necessary for
-# the debug and release target only. If no keyword is given "optimized" is
-# assumed.
-#
-# Usage:
-#     SPLIT_DEBUG_RELEASE(list_debug list_release <...list of libraries...>)
-#
-#
-
-MACRO(SPLIT_DEBUG_RELEASE _list_debug _list_release)
-
-  SET(_toggle "optimized")
-  FOREACH(_tmp ${ARGN})
-    IF("${_tmp}" STREQUAL "debug" OR
-       "${_tmp}" STREQUAL "optimized" OR
-       "${_tmp}" STREQUAL "general")
-      SET(_toggle "${_tmp}")
-    ELSE()
-      IF("${_toggle}" STREQUAL "general")
-        LIST(APPEND ${_list_debug} "${_tmp}")
-        LIST(APPEND ${_list_release} "${_tmp}")
-      ELSEIF("${_toggle}" STREQUAL "debug")
-        LIST(APPEND ${_list_debug} "${_tmp}")
-      ELSEIF("${_toggle}" STREQUAL "optimized")
-        LIST(APPEND ${_list_release} "${_tmp}")
-      ENDIF()
-    ENDIF()
-  ENDFOREACH()
-
-  IF("${${_list_debug}}" STREQUAL "")
-    SET(${_list_debug} ${${_list_release}})
-  ELSEIF("${${_list_release}}" STREQUAL "")
-    SET(${_list_release} ${${_list_debug}})
-  ENDIF()
-
-ENDMACRO()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.