|
From: <kin...@us...> - 2025-09-04 03:46:21
|
Revision: 7352
http://sourceforge.net/p/teem/code/7352
Author: kindlmann
Date: 2025-09-04 03:46:19 +0000 (Thu, 04 Sep 2025)
Log Message:
-----------
temp copies of pre V2 CMake stuff, to simplify experiments involving switching between old and new v2 stuff
Added Paths:
-----------
teem/trunk/CMakeLists-v1.txt
teem/trunk/src/air/CMakeLists-v1.txt
teem/trunk/src/alan/CMakeLists-v1.txt
teem/trunk/src/bane/CMakeLists-v1.txt
teem/trunk/src/biff/CMakeLists-v1.txt
teem/trunk/src/bin/CMakeLists-v1.txt
teem/trunk/src/coil/CMakeLists-v1.txt
teem/trunk/src/dye/CMakeLists-v1.txt
teem/trunk/src/echo/CMakeLists-v1.txt
teem/trunk/src/elf/CMakeLists-v1.txt
teem/trunk/src/ell/CMakeLists-v1.txt
teem/trunk/src/gage/CMakeLists-v1.txt
teem/trunk/src/hest/CMakeLists-v1.txt
teem/trunk/src/hex/CMakeLists-v1.txt
teem/trunk/src/hoover/CMakeLists-v1.txt
teem/trunk/src/limn/CMakeLists-v1.txt
teem/trunk/src/meet/CMakeLists-v1.txt
teem/trunk/src/mite/CMakeLists-v1.txt
teem/trunk/src/moss/CMakeLists-v1.txt
teem/trunk/src/nrrd/CMakeLists-v1.txt
teem/trunk/src/pull/CMakeLists-v1.txt
teem/trunk/src/push/CMakeLists-v1.txt
teem/trunk/src/seek/CMakeLists-v1.txt
teem/trunk/src/ten/CMakeLists-v1.txt
teem/trunk/src/tijk/CMakeLists-v1.txt
teem/trunk/src/unrrdu/CMakeLists-v1.txt
Added: teem/trunk/CMakeLists-v1.txt
===================================================================
--- teem/trunk/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,439 @@
+#
+# Teem: Tools to process and visualize scientific data and images
+# Copyright (C) 2009--2022 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/>.
+#
+# This is the root Teem CMakeLists file
+
+# assume a recent-ish version of CMake
+cmake_minimum_required(VERSION 3.20)
+
+#-----------------------------------------------------------------------------
+# Teem version number. Must reflect the values in teem/src/air/air.h
+# means the version number is 1.12.0
+set(Teem_VERSION_MAJOR "1")
+set(Teem_VERSION_MINOR "12")
+set(Teem_VERSION_PATCH "0")
+
+# Version string (no space in version numbers, so doesn't have to be quoted)
+set(Teem_VERSION_STRING ${Teem_VERSION_MAJOR}.${Teem_VERSION_MINOR}.${Teem_VERSION_PATCH})
+
+# DESCRIPTION was added to set a project description in CMake 3.9
+project(Teem VERSION ${Teem_VERSION_STRING}
+ DESCRIPTION "Teem libraries developed by Gordon Kindlmann et al."
+ LANGUAGES C)
+
+# specifying a search path for CMake modules to be loaded by the include() or find_package()
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
+
+# Include directory
+# path directory variable should always be quoted since path may contain spaces
+include_directories("${Teem_BINARY_DIR}/include/" "${Teem_SOURCE_DIR}/include/")
+
+# Turn on all of the warnings for debug builds
+if (CMAKE_BUILD_TYPE STREQUAL "Debug")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+ # Exclude no-type-limits as it flags extra checks in macros vs unsigned
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-type-limits")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")
+endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
+
+# We need ansi c-flags, especially on HP
+set(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
+set(CMAKE_REQUIRED_FLAGS ${CMAKE_ANSI_CFLAGS})
+
+#-----------------------------------------------------------------------------
+# Test for some required system information.
+# This checks size of various C type (int, long, void*, char, short, float, double),
+# existence of some headers (limits.h, unistd.h, pthread.h, sys/types.h, sys/prctl.h),
+# and then (why?!?) X11, gethostbyname, connect, remove, shmat, IceConnectionNumber?
+# GLK wonders if this can't be pruned down to what is actually needed (certainly not X11)
+## HEY for Teem v2 can this be removed??
+#include (CMakeBackwardCompatibilityC)
+
+#-----------------------------------------------------------------------------
+# set all output directories to be teem-build/bin unless defined
+foreach(type LIBRARY RUNTIME ARCHIVE)
+ if(DEFINED CMAKE_${type}_OUTPUT_DIRECTORY AND NOT EXISTS ${CMAKE_${type}_OUTPUT_DIRECTORY})
+ # message(FATAL_ERROR "CMAKE_${type}_OUTPUT_DIRECTORY is set to a non-existing directory [${CMAKE_${type}_OUTPUT_DIRECTORY}]")
+ message("CMAKE_${type}_OUTPUT_DIRECTORY is set to a non-existing directory [${CMAKE_${type}_OUTPUT_DIRECTORY}]")
+ file(MAKE_DIRECTORY ${CMAKE_${type}_OUTPUT_DIRECTORY})
+ message("${CMAKE_${type}_OUTPUT_DIRECTORY} has been created")
+ endif()
+
+ if(NOT DEFINED CMAKE_${type}_OUTPUT_DIRECTORY)
+ set(CMAKE_${type}_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+ endif()
+endforeach()
+
+# build shared libraries option
+if(BUILD_SHARED_LIBS)
+ set(__LIBRARY_OUTPUT_PATH__ "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
+else()
+ set(__LIBRARY_OUTPUT_PATH__ "${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}")
+endif()
+
+set(__RUNTIME_OUTPUT_PATH_ "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
+
+# output directory for installing all include files
+file(MAKE_DIRECTORY ${Teem_BINARY_DIR}/include)
+file(MAKE_DIRECTORY ${Teem_BINARY_DIR}/include/teem)
+
+#-----------------------------------------------------------------------------
+# test if AIR_EXISTS macro fails
+message(STATUS "Check if AIR_EXISTS works to detect IEEE754 special values")
+# try_run(<runResultVar> <compileResultVar> <bindir> <srcfile>)
+try_run(AIR_EXISTS_MACRO_FAILS AIR_EXISTS_TEST_COMPILES
+ ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/CMake/TestAIR_EXISTS.c)
+if (NOT AIR_EXISTS_TEST_COMPILES)
+ message(FATAL_ERROR "Failed to compile TestAIR_EXISTS.c so could not test AIR_EXISTS macro")
+endif()
+if(AIR_EXISTS_MACRO_FAILS)
+ file(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log "No, AIR_EXISTS macro FAILS to detect IEEE754 special values")
+ message(STATUS "No, AIR_EXISTS macro FAILS to detect IEEE754 special values")
+else()
+ file(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log "Yes, AIR_EXISTS macro works to detect IEEE754 special values")
+ message(STATUS "Yes, AIR_EXISTS macro works to detect IEEE754 special values")
+endif()
+
+#-----------------------------------------------------------------------------
+# All the Teem build configuration options.
+# Option 1 - BUILD_SHARED_LIBS is a global flag that causes add_library to create shared libraries if on.
+option(BUILD_SHARED_LIBS "Build Teem with shared libraries." OFF)
+# If present and true, this will cause all libraries to be built shared unless the library was explicitly added as a static library
+set(Teem_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
+if(NOT Teem_BUILD_SHARED_LIBS)
+ add_definitions(-DTEEM_STATIC)
+endif()
+# Option 2 - if we are using ZLIB library
+option(Teem_ZLIB "Build Teem with support for gzip compression." ON)
+# Option 3 - if we are using PNG library
+option(Teem_PNG "Build Teem with support for PNG images." ON)
+# Can't build PNG without ZLIB, so force it on.
+if(Teem_PNG AND NOT Teem_ZLIB)
+ message(WARNING "Can't build PNG without ZLIB, so Teem_ZLIB option has been turned on.")
+ set(Teem_ZLIB ON)
+endif()
+# Option 4 - if we are using bzip library
+option(Teem_BZIP2 "Build Teem with support for bzip compression." OFF)
+# Option 5 - if we are using threading libraries
+option(Teem_PTHREAD "Build Teem with pthread library support." ON)
+# Option 6 - Look for "levmar" library <http://www.ics.forth.gr/~lourakis/levmar/>
+option(Teem_LEVMAR "Build Teem with levmar library support." OFF)
+# Option 7 - Look for fftw <http://www.fftw.org/>
+option(Teem_FFTW3 "Build Teem with fftw library support." OFF)
+# For Teem v2 support for SGI IRIX Direct I/O is removed
+## Option 8
+# option(USE_DIRECTIO "Use DirectIO for Nrrd file IO. Only valid on SGI systems." OFF)
+# Option 9-->8
+option(Teem_USE_LIB_INSTALL_SUBDIR "Add a Teem-X.Y.Z directory layer to the installation tree for libraries and archives." OFF)
+# Option 10-->9 - Stand-alone programs to process hex encoding of data
+option(BUILD_HEX "Build dehex and enhex" OFF)
+# Option 11-->10 - For testing
+option(BUILD_TESTING "Enable this to perform testing of Teem" ON)
+
+#-----------------------------------------------------------------------------
+# Obtain these libraries if requested
+# Option 2
+if (Teem_ZLIB)
+ # Find ZLIB
+ find_package(ZLIB)
+ if(ZLIB_FOUND)
+ add_definitions(-DTEEM_ZLIB)
+ set(Teem_ZLIB_LIB ${ZLIB_LIBRARIES})
+ set(Teem_ZLIB_IPATH ${ZLIB_INCLUDE_DIR})
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_ZLIB, because it wasn't found.")
+ set(Teem_ZLIB OFF CACHE BOOL "Build Teem with support for gzip compression." FORCE)
+ endif()
+endif()
+# Option 3
+if (Teem_PNG)
+ find_package(PNG)
+ if(PNG_FOUND)
+ add_definitions(-DTEEM_PNG ${PNG_DEFINITIONS})
+ set(Teem_PNG_LIB ${PNG_LIBRARIES})
+ set(Teem_PNG_IPATH ${PNG_INCLUDE_DIR})
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_PNG, because it wasn't found.")
+ set(Teem_PNG OFF CACHE BOOL "Build Teem with support for PNG images." FORCE)
+ endif()
+endif()
+# Option 4
+if(Teem_BZIP2)
+ find_package(BZ2)
+ if(BZ2_FOUND)
+ add_definitions(-DTEEM_BZIP2)
+ set(Teem_BZIP2_LIB ${BZ2_LIBRARIES})
+ set(Teem_BZIP2_IPATH ${BZ2_INCLUDE_DIR})
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_BZIP2, because it wasn't found.")
+ set(Teem_BZIP2 OFF CACHE BOOL "Build Teem with support for bzip compression." FORCE)
+ endif()
+endif()
+# Option 5
+if(Teem_PTHREAD)
+ include(FindThreads)
+ if(CMAKE_USE_PTHREADS_INIT)
+ add_definitions(-DTEEM_PTHREAD)
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_PTHREAD, because it wasn't found.")
+ set(Teem_PTHREAD OFF CACHE BOOL "Build Teem with pthread library support." FORCE)
+ set(Teem_PTHREAD OFF)
+ endif()
+endif()
+# Option 6
+if(Teem_LEVMAR)
+ find_package(LEVMAR)
+ if(LEVMAR_FOUND)
+ add_definitions(-DTEEM_LEVMAR)
+ set(Teem_LEVMAR_LIB ${LEVMAR_LIBRARIES})
+ set(Teem_LEVMAR_IPATH ${LEVMAR_INCLUDE_DIR})
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_LEVMAR, because it wasn't found.")
+ set(Teem_LEVMAR OFF CACHE BOOL "Build Teem with levmar library support." FORCE)
+ endif()
+endif()
+# Option 7
+if(Teem_FFTW3)
+ find_package(FFTW3)
+ if(FFTW3_FOUND)
+ add_definitions(-DTEEM_FFTW3)
+ set(Teem_FFTW3_LIB ${FFTW3_LIBRARIES})
+ set(Teem_FFTW3_IPATH ${FFTW3_INCLUDE_DIR})
+ else()
+ # We need to set this as a cache variable, so that it will show up as being turned off in the cache.
+ message("warning: Turning off Teem_FFTW3, because it wasn't found.")
+ set(Teem_FFTW3 OFF CACHE BOOL "Build Teem with fftw library support." FORCE)
+ endif()
+endif()
+# Option 8
+# DirectIO is the fast way to do multi-gigabyte I/O and currently only available for SGI platforms.
+# (and given the fate of SGI, this has been removed from Teem v2)
+#if(USE_DIRECTIO)
+# add_definitions(-DTEEM_DIO=1)
+#else()
+# add_definitions(-DTEEM_DIO=0)
+#endif()
+# Option 9->8
+if(Teem_USE_LIB_INSTALL_SUBDIR)
+ set(EXTRA_INSTALL_PATH /Teem-${Teem_VERSION_STRING})
+else()
+ set(EXTRA_INSTALL_PATH "")
+endif()
+# Option 10->9 - Stand-alone programs to process hex encoding of data
+if(BUILD_HEX)
+ add_subdirectory(src/hex)
+endif()
+# Option 11->10 - For testing
+if(BUILD_TESTING)
+ include(CTest)
+ enable_testing()
+ set(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard")
+ mark_as_advanced(BUILDNAME)
+ mark_as_advanced(TCL_TCLSH)
+ add_subdirectory(Testing)
+endif()
+
+#-----------------------------------------------------------------------------
+# For Visual Studio we don't care about warnings about deprecated sprintf and the like.
+if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
+ add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
+endif()
+
+# set the Teem library as a list (TEEM_LIB_LIST)
+set(Teem_LIBRARIES
+ "air" "hest" "biff" "nrrd" "ell" "moss" "unrrdu" "alan" "tijk" "gage" "dye"
+ "bane" "limn" "echo" "hoover" "seek" "ten" "elf" "pull" "coil" "push" "mite" "meet")
+
+# set the Teem headers as a list
+set(Teem_HEADER_FILES
+ "air/air.h"
+ "hest/hest.h"
+ "biff/biff.h"
+ "nrrd/nrrd.h" "nrrd/nrrdDefines.h" "nrrd/nrrdMacros.h" "nrrd/nrrdEnums.h"
+ "ell/ell.h" "ell/ellMacros.h"
+ "moss/moss.h"
+ "unrrdu/unrrdu.h"
+ "alan/alan.h"
+ "tijk/tijk.h"
+ "gage/gage.h"
+ "dye/dye.h"
+ "bane/bane.h"
+ "limn/limn.h"
+ "echo/echo.h"
+ "hoover/hoover.h"
+ "seek/seek.h"
+ "ten/ten.h" "ten/tenMacros.h"
+ "elf/elf.h"
+ "pull/pull.h"
+ "coil/coil.h"
+ "push/push.h"
+ "mite/mite.h"
+ "meet/meet.h")
+
+set(Teem_INSTALLED_HEADER_FILES)
+foreach(header_file IN LISTS Teem_HEADER_FILES)
+ # When debugging, uncomment this line
+ # message(STATUS "Copy header file: ${header_file}")
+ get_filename_component(file_no_path "${header_file}" NAME)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/${header_file}"
+ "${CMAKE_CURRENT_BINARY_DIR}/include/teem/${file_no_path}" COPYONLY IMMEDIATE)
+ list(APPEND Teem_INSTALLED_HEADER_FILES "${CMAKE_CURRENT_BINARY_DIR}/include/teem/${file_no_path}")
+endforeach()
+
+#-----------------------------------------------------------------------------
+# header that defines AIR_EXISTS_MACRO_FAILS
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMake/airExistsConf.h
+ ${CMAKE_CURRENT_BINARY_DIR}/include/teem/airExistsConf.h)
+list(APPEND Teem_INSTALLED_HEADER_FILES "${CMAKE_CURRENT_BINARY_DIR}/include/teem/airExistsConf.h")
+
+#-----------------------------------------------------------------------------
+# Build the Mega library
+add_library(teem "")
+foreach(dir IN LISTS Teem_LIBRARIES)
+ add_subdirectory(src/${dir})
+endforeach()
+
+#-----------------------------------------------------------------------------
+# Set up some library paths for installation. Windows will ingore the
+# RPATH stuff, and mac will ingore the INSTALL_RPATH. Make sure for
+# macs to set BUILD_WITH_INSTALL_RPATH OFF and set INSTALL_NAME_DIR.
+# I belive INSTALL_NAME_DIR will be ignored on linux.
+set_target_properties(teem PROPERTIES
+ BUILD_WITH_INSTALL_RPATH OFF
+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
+ INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib
+ SOVERSION 1
+ VERSION ${Teem_VERSION_STRING})
+
+if(Teem_ZLIB_LIB)
+ target_include_directories(teem PUBLIC ${Teem_ZLIB_IPATH})
+ target_include_directories(teem PUBLIC ${Teem_ZLIB_DLLCONF_IPATH})
+ target_link_libraries(teem ${Teem_ZLIB_LIB})
+endif()
+if(Teem_PNG_LIB)
+ target_include_directories(teem PUBLIC ${Teem_PNG_IPATH})
+ target_include_directories(teem PUBLIC ${Teem_PNG_DLLCONF_IPATH})
+ target_link_libraries(teem ${Teem_PNG_LIB})
+endif()
+if(Teem_BZIP2_LIB)
+ target_include_directories(teem PUBLIC ${Teem_BZIP2_IPATH})
+ target_include_directories(teem PUBLIC ${Teem_BZIP2_DLLCONF_IPATH})
+ target_link_libraries(teem ${Teem_BZIP2_LIB})
+endif()
+if(Teem_LEVMAR_LIB)
+ target_include_directories(teem PUBLIC ${Teem_LEVMAR_IPATH})
+ target_include_directories(teem PUBLIC ${Teem_LEVMAR_DLLCONF_IPATH})
+ target_link_libraries(teem ${Teem_LEVMAR_LIB})
+endif()
+if(Teem_FFTW3_LIB)
+ target_include_directories(teem PUBLIC ${Teem_FFTW3_IPATH})
+ target_include_directories(teem PUBLIC ${Teem_FFTW3_DLLCONF_IPATH})
+ target_link_libraries(teem ${Teem_FFTW3_LIB})
+endif()
+if(Teem_PTHREAD)
+ target_link_libraries(teem ${CMAKE_THREAD_LIBS_INIT})
+endif()
+if(UNIX)
+ target_link_libraries(teem -lm)
+endif()
+
+# install targets
+install(TARGETS teem EXPORT teem
+ RUNTIME DESTINATION bin COMPONENT RuntimeLibraries
+ LIBRARY DESTINATION lib${EXTRA_INSTALL_PATH} COMPONENT RuntimeLibraries
+ ARCHIVE DESTINATION lib${EXTRA_INSTALL_PATH} COMPONENT Development)
+
+export(TARGETS teem FILE ${Teem_BINARY_DIR}/TeemLibraryDepends.cmake)
+
+#-----------------------------------------------------------------------------
+# Now compile the binaries
+add_subdirectory(src/bin)
+
+#-----------------------------------------------------------------------------
+set(CFLAGS "${CMAKE_C_FLAGS}")
+set(CC "${CMAKE_C_COMPILER}")
+
+set(Teem_EXECUTABLE_DIRS ${__RUNTIME_OUTPUT_PATH_} CACHE INTERNAL "Single output directory for building all executables.")
+
+
+# Teem_CV_ prefixed variables are only used inside TeemConfig.cmake.in for
+# replacement during the following two CONFIGURE_FILE calls. One is for use
+# from the build tree, one is for use from the install tree.
+
+
+# For build tree usage
+
+# In the build tree, TeemConfig.cmake is in Teem_BINARY_DIR. The root of the
+# tree for finding include files relative to TeemConfig.cmake is "."
+set(Teem_CV_CONFIG_TO_ROOT ".")
+set(Teem_CV_BUILD_SETTINGS_FILE ${Teem_BINARY_DIR}/TeemBuildSettings.cmake)
+set(Teem_CV_LIBRARY_DEPENDS_FILE ${Teem_BINARY_DIR}/TeemLibraryDepends.cmake)
+set(Teem_CV_EXECUTABLE_DIRS ${Teem_EXECUTABLE_DIRS})
+set(Teem_CV_LIBRARY_DIRS ${__LIBRARY_OUTPUT_PATH__})
+set(Teem_CV_USE_FILE ${Teem_SOURCE_DIR}/CMake/TeemUse.cmake)
+set(Teem_CV_INCLUDE_DIRS "${Teem_BINARY_DIR}/include")
+set(Teem_CV_BUILT_LIBRARIES teem) # The libraries built by teem. Currently we only build the mega library.
+
+configure_file("${Teem_SOURCE_DIR}/CMake/TeemConfig.cmake.in"
+ "${Teem_BINARY_DIR}/TeemConfig.cmake" @ONLY IMMEDIATE)
+
+
+# For install tree usage
+
+# In the install tree, TeemConfig.cmake is in lib/cmake/teem or lib/Teem-X.Y/cmake/teem based on the
+# value of Teem_USE_LIB_INSTALL_SUBDIR. The root of the tree for finding
+# include files relative to TeemConfig.cmake is therefore "../../../.." or "../../.."
+if(Teem_USE_LIB_INSTALL_SUBDIR)
+ set(Teem_CV_CONFIG_TO_ROOT "../../../..")
+else()
+ set(Teem_CV_CONFIG_TO_ROOT "../../..")
+endif()
+
+set(Teem_CV_LIBRARY_DEPENDS_FILE "\${Teem_ROOT_DIR}/lib${EXTRA_INSTALL_PATH}/cmake/teem/TeemLibraryDepends.cmake")
+set(Teem_CV_EXECUTABLE_DIRS "\${Teem_ROOT_DIR}/bin")
+set(Teem_CV_LIBRARY_DIRS "\${Teem_ROOT_DIR}/lib${EXTRA_INSTALL_PATH}")
+set(Teem_CV_USE_FILE "\${Teem_ROOT_DIR}/lib${EXTRA_INSTALL_PATH}/TeemUse.cmake")
+set(Teem_CV_INCLUDE_DIRS "\${Teem_ROOT_DIR}/include")
+set(Teem_CV_BUILT_LIBRARIES teem) # single library containing all teem "libraries"
+
+configure_file("${Teem_SOURCE_DIR}/CMake/TeemConfig.cmake.in"
+ "${Teem_BINARY_DIR}/CMake/TeemConfig.cmake" @ONLY IMMEDIATE)
+
+# install headers
+install(FILES ${Teem_INSTALLED_HEADER_FILES}
+ DESTINATION include/teem
+ COMPONENT Development)
+
+# make install and cpack
+# ${Teem_BINARY_DIR} is the build directory like /Teem-build
+set(Teem_CV_BUILD_SETTINGS_FILE "\${Teem_ROOT_DIR}/lib${EXTRA_INSTALL_PATH}/cmake/teem/TeemBuildSettings.cmake")
+file(WRITE ${Teem_BINARY_DIR}/TeemBuildSettings.cmake)
+install(EXPORT teem DESTINATION lib${EXTRA_INSTALL_PATH}/cmake/teem FILE TeemLibraryDepends.cmake)
+install(FILES
+ "${Teem_BINARY_DIR}/CMake/TeemConfig.cmake"
+ "${Teem_SOURCE_DIR}/CMake/TeemUse.cmake"
+ "${Teem_BINARY_DIR}/TeemBuildSettings.cmake"
+ DESTINATION lib${EXTRA_INSTALL_PATH}/cmake/teem
+ COMPONENT Development)
Added: teem/trunk/src/air/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/air/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/air/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,24 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(AIR_SOURCES
+ 754.c
+ air.h
+ array.c
+ endianAir.c
+ enum.c
+ heap.c
+ math.c
+ miscAir.c
+ mop.c
+ parseAir.c
+ privateAir.h
+ randMT.c
+ randJSF.c
+ sane.c
+ string.c
+ threadAir.c
+ )
+
+target_sources(teem PRIVATE ${AIR_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( air FILES ${AIR_SOURCES} )
Added: teem/trunk/src/alan/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/alan/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/alan/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,12 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(ALAN_SOURCES
+ alan.h
+ coreAlan.c
+ enumsAlan.c
+ methodsAlan.c
+ )
+
+target_sources(teem PRIVATE ${ALAN_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( alan FILES ${ALAN_SOURCES} )
Added: teem/trunk/src/bane/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/bane/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/bane/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,29 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(BANE_SOURCES
+ bane.h
+ clip.c
+ defaultsBane.c
+ gkmsFlotsam.c
+ gkmsHvol.c
+ gkmsInfo.c
+ gkmsMite.c
+ gkmsOpac.c
+ gkmsPvg.c
+ gkmsScat.c
+ gkmsTxf.c
+ hvol.c
+ inc.c
+ measr.c
+ methodsBane.c
+ privateBane.h
+ rangeBane.c
+ scat.c
+ trex.c
+ trnsf.c
+ valid.c
+ )
+
+target_sources(teem PRIVATE ${BANE_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( bane FILES ${BANE_SOURCES} )
Added: teem/trunk/src/biff/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/biff/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/biff/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,12 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(BIFF_SOURCES
+ privateBiff.h
+ biff.h
+ biffmsg.c
+ biffbiff.c
+ )
+
+target_sources(teem PRIVATE ${BIFF_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( BIFF FILES ${BIFF_SOURCES} )
Added: teem/trunk/src/bin/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/bin/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/bin/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,67 @@
+#
+# Teem: Tools to process and visualize scientific data and images
+# Copyright (C) 2009--2025 University of Chicago
+# Copyright (C) 2005--2008 Gordon Kindlmann
+# Copyright (C) 1998--2004 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/>.
+#
+
+macro(CREATE_EXEC name sources)
+ add_executable(${name} ${sources})
+ target_link_libraries(${name} teem)
+ install(TARGETS ${name}
+ RUNTIME DESTINATION ${BIN_INSTALL_DIR}
+ COMPONENT Runtime
+ )
+ set_target_properties(${name} PROPERTIES
+ INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
+ )
+endmacro()
+
+# unu starts by calling nrrdSanityOrDie; other build info moved to "unu built"
+# CREATE_EXEC(nrrdSanity nrrdSanity.c)
+CREATE_EXEC(overrgb overrgb.c)
+CREATE_EXEC(mrender mrender.c)
+CREATE_EXEC(miter miter.c)
+CREATE_EXEC(vprobe vprobe.c)
+CREATE_EXEC(gprobe gprobe.c)
+# CREATE_EXEC(ninspect ninspect.c) # moved to "unu ninspect"
+CREATE_EXEC(unu unu.c)
+CREATE_EXEC(puller puller.c)
+CREATE_EXEC(tend tend.c)
+
+### For TeemV2, these were removed from compilation: they have no compelling
+### general purpose, for reasons indicated with further comments. No reason
+### to delete the sources though; they can still be compiled by other means.
+##
+## NOTE: The BUILD_EXPERIMENTAL_LIBS-dependent inclusion of binaries has to be
+## done with knowledge of how BUILD_EXPERIMENTAL_LIBS behaves in the top-level
+## CMakeLists.txt file
+# if(BUILD_EXPERIMENTAL_APPS)
+# CREATE_EXEC(airSanity airSanity.c) # tests included in nrrdSanity
+# CREATE_EXEC(cubic cubic.c) # just calls ell_cubic; more easily done via Python wrappers
+# CREATE_EXEC(qbert qbert.c) # created for volume rendering on GPUs from 20 years ago
+# CREATE_EXEC(ilk ilk.c) # now part of unu: "unu ilk"
+# CREATE_EXEC(emap emap.c) # functionality not currently handled elsewhere,
+# but nor is it is really needed for anything
+# CREATE_EXEC(talkweb talkweb.c) # the web has changed in 20 years
+# CREATE_EXEC(pprobe pprobe.c) # gprobe can do this
+# CREATE_EXEC(ungantry ungantry.c) # gprobe can do this
+# CREATE_EXEC(deconv deconv.c) # functionality not currently handled elsewhere,
+# but nor is it is really needed for anything
+# if(BUILD_EXPERIMENTAL_LIBS)
+# CREATE_EXEC(gkms gkms.c) # hasn't been tested in a long time
+# CREATE_EXEC(spots spots.c) # hasn't been tested in a long time
+# endif()
+# endif()
Added: teem/trunk/src/coil/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/coil/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/coil/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,16 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(COIL_SOURCES
+ coil.h
+ coreCoil.c
+ defaultsCoil.c
+ enumsCoil.c
+ methodsCoil.c
+ realmethods.c
+ scalarCoil.c
+ tensorCoil.c
+ )
+
+target_sources(teem PRIVATE ${COIL_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( coil FILES ${COIL_SOURCES} )
Added: teem/trunk/src/dye/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/dye/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/dye/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,11 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(DYE_SOURCES
+ convertDye.c
+ dye.h
+ methodsDye.c
+ )
+
+target_sources(teem PRIVATE ${DYE_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( dye FILES ${DYE_SOURCES} )
Added: teem/trunk/src/echo/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/echo/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/echo/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,23 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(ECHO_SOURCES
+ bounds.c
+ color.c
+ echo.h
+ enumsEcho.c
+ intx.c
+ lightEcho.c
+ list.c
+ matter.c
+ methodsEcho.c
+ model.c
+ objmethods.c
+ privateEcho.h
+ renderEcho.c
+ set.c
+ sqd.c
+ )
+
+target_sources(teem PRIVATE ${ECHO_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( echo FILES ${ECHO_SOURCES} )
Added: teem/trunk/src/elf/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/elf/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/elf/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,13 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(ELF_SOURCES
+ ballStickElf.c
+ ESHEstimElf.c
+ glyphElf.c
+ maximaElf.c
+ elf.h
+ )
+
+target_sources(teem PRIVATE ${ELF_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( elf FILES ${ELF_SOURCES} )
Added: teem/trunk/src/ell/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/ell/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/ell/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,17 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(ELL_SOURCES
+ cubicEll.c
+ eigen.c
+ ell.h
+ ellMacros.h
+ genmat.c
+ mat.c
+ miscEll.c
+ quat.c
+ vecEll.c
+ )
+
+target_sources(teem PRIVATE ${ELL_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( ell FILES ${ELL_SOURCES} )
Added: teem/trunk/src/gage/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/gage/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/gage/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,31 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(GAGE_SOURCES
+ ctx.c
+ deconvolve.c
+ defaultsGage.c
+ filter.c
+ gage.h
+ kind.c
+ miscGage.c
+ print.c
+ privateGage.h
+ pvl.c
+ scl.c
+ sclanswer.c
+ sclfilter.c
+ sclprint.c
+ shape.c
+ st.c
+ stack.c
+ stackBlur.c
+ update.c
+ vecGage.c
+ twovecGage.c
+ vecprint.c
+ optimsig.c
+ )
+
+target_sources(teem PRIVATE ${GAGE_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( gage FILES ${GAGE_SOURCES} )
Added: teem/trunk/src/hest/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/hest/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/hest/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,15 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(HEST_SOURCES
+ defaultsHest.c
+ hest.h
+ methodsHest.c
+ parseHest.c
+ privateHest.h
+ usage.c
+ adders.c
+ )
+
+target_sources(teem PRIVATE ${HEST_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( hest FILES ${HEST_SOURCES} )
Added: teem/trunk/src/hex/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/hex/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/hex/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,26 @@
+#
+# Teem: Tools to process and visualize scientific data and images
+# Copyright (C) 2009--2023 University of Chicago
+# Copyright (C) 2005--2008 Gordon Kindlmann
+# Copyright (C) 1998--2004 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/>.
+#
+
+add_executable(dehex
+ dehex.c
+)
+add_executable(enhex
+ enhex.c
+)
+
Added: teem/trunk/src/hoover/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/hoover/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/hoover/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,13 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(HOOVER_SOURCES
+ defaultsHoover.c
+ hoover.h
+ methodsHoover.c
+ rays.c
+ stub.c
+ )
+
+target_sources(teem PRIVATE ${HOOVER_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( hoover FILES ${HOOVER_SOURCES} )
Added: teem/trunk/src/limn/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/limn/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/limn/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,43 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+# NOTE: used to be that lpu_*.c files were not listed here, since the CMake
+# build didn't create the "lpu" utility. However, with the July 2022 CFFI
+# work, had to ensure that libteem was consistent with headers
+set(LIMN_SOURCES
+ cam.c
+ defaultsLimn.c
+ enumsLimn.c
+ envmap.c
+ hestLimn.c
+ io.c
+ light.c
+ limn.h
+ methodsLimn.c
+ obj.c
+ polydata.c
+ polyfilter.c
+ polymod.c
+ polyshapes.c
+ privateLimn.h
+ qn.c
+ renderLimn.c
+ shapes.c
+ splineEval.c
+ splineMethods.c
+ splineMisc.c
+ splineFit.c
+ transform.c
+ lpuFlotsam.c
+ lpu_about.c
+ lpu_ccfind.c
+ lpu_psel.c
+ lpu_rast.c
+ lpu_verts.c
+ lpu_meas.c
+ lpu_sort.c
+ lpu_cbfit.c
+ )
+
+target_sources(teem PRIVATE ${LIMN_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( limn FILES ${LIMN_SOURCES} )
Added: teem/trunk/src/meet/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/meet/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/meet/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,13 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(MEET_SOURCES
+ enumall.c
+ meetNrrd.c
+ meetGage.c
+ meetPull.c
+ meet.h
+ )
+
+target_sources(teem PRIVATE ${MEET_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( meet FILES ${MEET_SOURCES} )
Added: teem/trunk/src/mite/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/mite/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/mite/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,18 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(MITE_SOURCES
+ defaultsMite.c
+ kindnot.c
+ mite.h
+ privateMite.h
+ ray.c
+ renderMite.c
+ shade.c
+ thread.c
+ txf.c
+ user.c
+ )
+
+target_sources(teem PRIVATE ${MITE_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( mite FILES ${MITE_SOURCES} )
Added: teem/trunk/src/moss/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/moss/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/moss/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,15 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(MOSS_SOURCES
+ defaultsMoss.c
+ hestMoss.c
+ methodsMoss.c
+ moss.h
+ privateMoss.h
+ sampler.c
+ xform.c
+ )
+
+target_sources(teem PRIVATE ${MOSS_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( moss FILES ${MOSS_SOURCES} )
Added: teem/trunk/src/nrrd/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/nrrd/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/nrrd/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,65 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(NRRD_SOURCES
+ accessors.c
+ apply1D.c
+ apply2D.c
+ arith.c
+ arraysNrrd.c
+ axis.c
+ cc.c
+ ccmethods.c
+ comment.c
+ convertNrrd.c
+ defaultsNrrd.c
+ deringNrrd.c
+ encoding.c
+ encodingAscii.c
+ encodingBzip2.c
+ encodingGzip.c
+ encodingHex.c
+ encodingRaw.c
+ encodingZRL.c
+ endianNrrd.c
+ enumsNrrd.c
+ filt.c
+ format.c
+ formatEPS.c
+ formatNRRD.c
+ formatPNG.c
+ formatPNM.c
+ formatText.c
+ formatVTK.c
+ gzio.c
+ hestNrrd.c
+ histogram.c
+ iter.c
+ kernel.c
+ keyvalue.c
+ map.c
+ measure.c
+ methodsNrrd.c
+ nrrd.h
+ nrrdDefines.h
+ nrrdEnums.h
+ nrrdMacros.h
+ parseNrrd.c
+ privateNrrd.h
+ range.c
+ read.c
+ reorder.c
+ resampleContext.c
+ fftNrrd.c
+ resampleNrrd.c
+ simple.c
+ subset.c
+ superset.c
+ tmfKernel.c
+ winKernel.c
+ bsplKernel.c
+ write.c
+ )
+
+target_sources(teem PRIVATE ${NRRD_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( nrrd FILES ${NRRD_SOURCES} )
Added: teem/trunk/src/pull/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/pull/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/pull/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,27 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(PULL_SOURCES
+ actionPull.c
+ binningPull.c
+ constraints.c
+ contextPull.c
+ parmPull.c
+ initPull.c
+ corePull.c
+ defaultsPull.c
+ energy.c
+ infoPull.c
+ pointPull.c
+ privatePull.h
+ pull.h
+ taskPull.c
+ volumePull.c
+ popcntl.c
+ ccPull.c
+ enumsPull.c
+ trace.c
+ )
+
+target_sources(teem PRIVATE ${PULL_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( pull FILES ${PULL_SOURCES} )
Added: teem/trunk/src/push/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/push/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/push/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,17 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(PUSH_SOURCES
+ action.c
+ binning.c
+ corePush.c
+ defaultsPush.c
+ forces.c
+ methodsPush.c
+ privatePush.h
+ push.h
+ setup.c
+ )
+
+target_sources(teem PRIVATE ${PUSH_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( push FILES ${PUSH_SOURCES} )
Added: teem/trunk/src/seek/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/seek/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/seek/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,18 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(SEEK_SOURCES
+ descend.c
+ enumsSeek.c
+ extract.c
+ methodsSeek.c
+ privateSeek.h
+ seek.h
+ setSeek.c
+ tables.c
+ textract.c
+ updateSeek.c
+ )
+
+target_sources(teem PRIVATE ${SEEK_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( seek FILES ${SEEK_SOURCES} )
Added: teem/trunk/src/ten/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/ten/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/ten/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,87 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(TEN_SOURCES
+ aniso.c
+ bimod.c
+ bvec.c
+ chan.c
+ defaultsTen.c
+ enumsTen.c
+ epireg.c
+ estimate.c
+ fiber.c
+ fiberMethods.c
+ glyph.c
+ grads.c
+ miscTen.c
+ mod.c
+ path.c
+ privateTen.h
+ qglox.c
+ qseg.c
+ ten.h
+ tenDwiGage.c
+ tenGage.c
+ tenMacros.h
+ tendAbout.c
+ tendAnhist.c
+ tendAnplot.c
+ tendAnscale.c
+ tendAnvol.c
+ tendAvg.c
+ tendBfit.c
+ tendBmat.c
+ tendEllipse.c
+ tendEpireg.c
+ tendEstim.c
+ tendEval.c
+ tendEvaladd.c
+ tendEvalmult.c
+ tendEvalclamp.c
+ tendEvalpow.c
+ tendEvec.c
+ tendEvecrgb.c
+ tendEvq.c
+ tendExp.c
+ tendExpand.c
+ tendFiber.c
+ tendFlotsam.c
+ tendGlyph.c
+ tendGrads.c
+ tendHelix.c
+ tendLog.c
+ tendMake.c
+ tendNorm.c
+ tendPoint.c
+ tendSatin.c
+ tendShrink.c
+ tendSim.c
+ tendMsim.c
+ tendMfit.c
+ tendMconv.c
+ tendSlice.c
+ tendSten.c
+ tendTconv.c
+ tendTriple.c
+ tendUnmf.c
+ tensor.c
+ triple.c
+ experSpec.c
+ tenModel.c
+ modelZero.c
+ modelB0.c
+ modelBall.c
+ model1Stick.c
+ model1Vector2D.c
+ model1Unit2D.c
+ model2Unit2D.c
+ modelBall1StickEMD.c
+ modelBall1Stick.c
+ modelBall1Cylinder.c
+ model1Cylinder.c
+ model1Tensor2.c
+ )
+
+target_sources(teem PRIVATE ${TEN_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( ten FILES ${TEN_SOURCES} )
Added: teem/trunk/src/tijk/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/tijk/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/tijk/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,21 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(TIJK_SOURCES
+ 2dTijk.c
+ 3dTijk.c
+ approxTijk.c
+ enumsTijk.c
+ fsTijk.c
+ miscTijk.c
+ nrrdTijk.c
+ shTijk.c
+ privateTijk.h
+ convertQuietPush.h
+ convertQuietPop.h
+ shtables.h
+ tijk.h
+ )
+
+target_sources(teem PRIVATE ${TIJK_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( tijk FILES ${TIJK_SOURCES} )
Added: teem/trunk/src/unrrdu/CMakeLists-v1.txt
===================================================================
--- teem/trunk/src/unrrdu/CMakeLists-v1.txt (rev 0)
+++ teem/trunk/src/unrrdu/CMakeLists-v1.txt 2025-09-04 03:46:19 UTC (rev 7352)
@@ -0,0 +1,87 @@
+# This variable will help provide a master list of all the sources.
+# Add new source files here.
+set(UNRRDU_SOURCES
+ fft.c
+ i2w.c
+ w2i.c
+ 1op.c
+ 2op.c
+ 3op.c
+ affine.c
+ about.c
+ built.c
+ axdelete.c
+ axinfo.c
+ basinfo.c
+ axinsert.c
+ axmerge.c
+ axsplit.c
+ block.c
+ ccadj.c
+ ccfind.c
+ ccmerge.c
+ ccsettle.c
+ cmedian.c
+ convert.c
+ crop.c
+ acrop.c
+ data.c
+ dering.c
+ dhisto.c
+ dice.c
+ dist.c
+ env.c
+ flip.c
+ flotsam.c
+ gamma.c
+ head.c
+ heq.c
+ histax.c
+ histo.c
+ imap.c
+ inset.c
+ jhisto.c
+ join.c
+ lut.c
+ lut2.c
+ make.c
+ minmax.c
+ cksum.c
+ diff.c
+ dnorm.c
+ vidicon.c
+ grid.c
+ ilk.c
+ ninspect.c
+ hack.c
+ aabplot.c
+ undos.c
+ uncmt.c
+ mlut.c
+ mrmap.c
+ pad.c
+ permute.c
+ privateUnrrdu.h
+ project.c
+ quantize.c
+ resample.c
+ reshape.c
+ rmap.c
+ save.c
+ shuffle.c
+ slice.c
+ sselect.c
+ splice.c
+ subst.c
+ swap.c
+ tile.c
+ unorient.c
+ unquantize.c
+ unrrdu.h
+ untile.c
+ unblock.c
+)
+
+target_sources(teem PRIVATE ${UNRRDU_SOURCES})
+# This will group all the source files in the VS project by directory
+source_group( unrrdu FILES ${UNRRDU_SOURCES} )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|