|
From: <kin...@us...> - 2025-08-21 04:06:47
|
Revision: 7313
http://sourceforge.net/p/teem/code/7313
Author: kindlmann
Date: 2025-08-21 04:06:45 +0000 (Thu, 21 Aug 2025)
Log Message:
-----------
there more modern ways of doing all this
Removed Paths:
-------------
teem/trunk/CMake/TeemConfig.cmake.in
teem/trunk/CMake/TeemUse.cmake
Deleted: teem/trunk/CMake/TeemConfig.cmake.in
===================================================================
--- teem/trunk/CMake/TeemConfig.cmake.in 2025-08-21 03:52:38 UTC (rev 7312)
+++ teem/trunk/CMake/TeemConfig.cmake.in 2025-08-21 04:06:45 UTC (rev 7313)
@@ -1,64 +0,0 @@
-#
-# Teem: Tools to process and visualize scientific data and images
-# Copyright (C) 2009--2019 University of Chicago
-# Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann
-# Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public License
-# (LGPL) as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-# The terms of redistributing and/or modifying this software also
-# include exceptions to the LGPL that facilitate static linking.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-# You should have received a copy of the GNU Lesser General Public License
-# along with this library; if not, see <https://www.gnu.org/licenses/>.
-#
-
-#-----------------------------------------------------------------------------
-#
-# TeemConfig.cmake - Teem CMake configuration file for external projects.
-#
-# This file is configured by Teem and used by the TeemUse.cmake module
-# to load Teem's settings for an external project.
-
-# The directory of TeemConfig.cmake is, by definition, Teem_DIR.
-# (this_dir == Teem_DIR)
-#
-get_filename_component(this_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
-get_filename_component(Teem_ROOT_DIR "${this_dir}/@Teem_CV_CONFIG_TO_ROOT@" ABSOLUTE)
-
-# CMake files required to build client applications that use Teem.
-set(Teem_BUILD_SETTINGS_FILE "@Teem_CV_BUILD_SETTINGS_FILE@")
-set(Teem_USE_FILE "@Teem_CV_USE_FILE@")
-
-# The Teem directories.
-set(Teem_EXECUTABLE_DIRS "@Teem_CV_EXECUTABLE_DIRS@")
-set(Teem_LIBRARY_DIRS "@Teem_CV_LIBRARY_DIRS@")
-set(Teem_INCLUDE_DIRS "@Teem_CV_INCLUDE_DIRS@")
-
-# The Teem libraries.
-set(Teem_LIBRARIES "@Teem_CV_BUILT_LIBRARIES@")
-
-# The C flags added by Teem to the cmake-configured flags.
-set(Teem_REQUIRED_C_FLAGS "@Teem_REQUIRED_C_FLAGS@")
-
-# The Teem version number
-set(Teem_VERSION_MAJOR "@Teem_VERSION_MAJOR@")
-set(Teem_VERSION_MINOR "@Teem_VERSION_MINOR@")
-set(Teem_VERSION_PATCH "@Teem_VERSION_PATCH@")
-
-# Is Teem using shared libraries?
-set(Teem_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
-
-# The list of tools in teem
-set(Teem_TOOLS "@Teem_TOOLS@")
-
-# The Teem library dependencies.
-if(NOT TARGET teem)
- include("@Teem_CV_LIBRARY_DEPENDS_FILE@")
-endif()
Deleted: teem/trunk/CMake/TeemUse.cmake
===================================================================
--- teem/trunk/CMake/TeemUse.cmake 2025-08-21 03:52:38 UTC (rev 7312)
+++ teem/trunk/CMake/TeemUse.cmake 2025-08-21 04:06:45 UTC (rev 7313)
@@ -1,46 +0,0 @@
-#
-# Teem: Tools to process and visualize scientific data and images
-# Copyright (C) 2009--2019 University of Chicago
-# Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann
-# Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public License
-# (LGPL) as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-# The terms of redistributing and/or modifying this software also
-# include exceptions to the LGPL that facilitate static linking.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-# You should have received a copy of the GNU Lesser General Public License
-# along with this library; if not, see <https://www.gnu.org/licenses/>.
-#
-
-if(NOT Teem_FOUND)
- message(FATAL_ERROR "Something went wrong. You are including TeemUse.cmake but Teem was not found")
-endif()
-
-# Make Teem easier to use
-include_directories(${Teem_INCLUDE_DIRS})
-link_directories(${Teem_LIBRARY_DIRS})
-
-# Load the compiler settings used for Teem.
-if(Teem_BUILD_SETTINGS_FILE)
- include(CMakeImportBuildSettings)
- CMAKE_IMPORT_BUILD_SETTINGS(${Teem_BUILD_SETTINGS_FILE})
-endif()
-
-# Support static builds
-if(NOT Teem_BUILD_SHARED_LIBS)
- add_definitions(-DTEEM_STATIC=1)
-endif()
-
-# Add compiler flags needed to use Teem.
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Teem_REQUIRED_C_FLAGS}")
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${Teem_REQUIRED_EXE_LINKER_FLAGS}")
-set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${Teem_REQUIRED_SHARED_LINKER_FLAGS}")
-set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${Teem_REQUIRED_MODULE_LINKER_FLAGS}")
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|