summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-06-26 09:36:03 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-06-26 09:36:03 +0200
commitd6d430491cc7f81945e4061d3ae3bbe67593c0a7 (patch)
treeea0b55882b9df456cc8106e3d748cee53bb44b49 /cmake
parent0c7f86b1fa01faab960093ab6b7841acd5b06345 (diff)
downloaduca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.gz
uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.bz2
uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.tar.xz
uca-d6d430491cc7f81945e4061d3ae3bbe67593c0a7.zip
Fix #71: remove pco, pf and ufo plugins
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindClSerMe4.cmake46
-rw-r--r--cmake/FindClSerSis.cmake44
-rw-r--r--cmake/FindFgLib5.cmake46
-rw-r--r--cmake/FindIPE.cmake19
-rw-r--r--cmake/FindPCO.cmake19
-rw-r--r--cmake/FindPF.cmake26
-rw-r--r--cmake/SisoLibDir.cmake111
7 files changed, 0 insertions, 311 deletions
diff --git a/cmake/FindClSerMe4.cmake b/cmake/FindClSerMe4.cmake
deleted file mode 100644
index 803b620..0000000
--- a/cmake/FindClSerMe4.cmake
+++ /dev/null
@@ -1,46 +0,0 @@
-FILE(TO_CMAKE_PATH "$ENV{SISODIR5}" SISODIR5)
-FILE(TO_CMAKE_PATH "$ENV{SISODIR4}" SISODIR4)
-FILE(TO_CMAKE_PATH "$ENV{SISODIR}" SISODIRME4)
-
-IF (CLSERME4_INCLUDE_DIR AND CLSERME4_LIBRARY)
- SET(CLSERME4_FIND_QUIETLY TRUE)
-ENDIF (CLSERME4_INCLUDE_DIR AND CLSERME4_LIBRARY)
-
-FIND_PATH(CLSERME4_INCLUDE_DIR clser.h
- PATHS
- $ENV{CLSERME4}/include
- ${SISODIR5}/include
- ${SISODIR4}/include
- ${SISODIRME4}/include
- ${CMAKE_INSTALL_PREFIX}/include
- "/opt/siso/include"
-)
-
-INCLUDE(SisoLibDir)
-SISO_LIB_DIR("${SISODIR5}/lib" LIB_DIRS COMPILER_LIB_DIR)
-SISO_LIB_DIR("${SISODIR4}/lib" LIB_DIRS)
-SISO_LIB_DIR("${SISODIRME4}/lib" LIB_DIRS)
-
-FIND_LIBRARY(CLSERME4_LIBRARY NAMES clserme4 clsersisome4
- PATHS
- $ENV{CLSERME4}/lib
- $ENV{CLSERME4}
- ${LIB_DIRS}
- ${CMAKE_INSTALL_PREFIX}/lib
- "/opt/siso/lib"
-)
-
-IF(CLSERME4_INCLUDE_DIR AND CLSERME4_LIBRARY)
- SET(CLSERME4_FOUND TRUE)
-ENDIF(CLSERME4_INCLUDE_DIR AND CLSERME4_LIBRARY)
-
-IF(CLSERME4_FOUND)
- IF(NOT CLSERME4_FIND_QUIETLY)
- MESSAGE(STATUS "Found clser library for meIV: ${CLSERME4_LIBRARY}")
- ENDIF(NOT CLSERME4_FIND_QUIETLY)
- SET(CLSERME4_LIBRARIES ${CLSERME4_LIBRARY})
-ELSE(CLSERME4_FOUND)
- IF(CLSERME4_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "clser library not found")
- ENDIF(CLSERME4_FIND_REQUIRED)
-ENDIF(CLSERME4_FOUND)
diff --git a/cmake/FindClSerSis.cmake b/cmake/FindClSerSis.cmake
deleted file mode 100644
index be7ff6d..0000000
--- a/cmake/FindClSerSis.cmake
+++ /dev/null
@@ -1,44 +0,0 @@
-IF (NOT clsersis_FOUND)
- FILE(TO_CMAKE_PATH "$ENV{SISODIR5}" SISODIR5)
-
- IF (clsersis_INCLUDE_DIR AND clsersis_LIBRARY)
- SET(CLSERSIS_FIND_QUIETLY TRUE)
- ENDIF (clsersis_INCLUDE_DIR AND clsersis_LIBRARY)
-
- FIND_PATH(clsersis_INCLUDE_DIR clser.h
- PATHS
- $ENV{CLSERSIS}/include
- ${CMAKE_INSTALL_PREFIX}/include
- ${SISODIR5}/include
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/include"
- )
-MESSAGE(STATUS "clsersis_INCLUDE_DIR ${clsersis_INCLUDE_DIR}")
-
- INCLUDE(SisoLibDir)
- SISO_LIB_DIR("${SISODIR5}/lib" LIB_DIRS COMPILER_LIB_DIR)
-
- IF (UNIX)
- SET(CLSERSIS_NAME clsersis.a clsersis)
- ELSE (UNIX)
- SET(CLSERSIS_NAME clsersis)
- ENDIF (UNIX)
-
- FIND_LIBRARY(clsersis_LIBRARY NAMES ${CLSERSIS_NAME}
- PATHS
- $ENV{CLSERSIS}/lib/${COMPILER_LIB_DIR}
- $ENV{CLSERSIS}/lib
- ${CMAKE_INSTALL_PREFIX}/lib/${COMPILER_LIB_DIR}
- ${CMAKE_INSTALL_PREFIX}/lib
- ${LIB_DIRS}
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib/${COMPILER_LIB_DIR}"
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib"
- )
-
- INCLUDE(FindPackageHandleStandardArgs)
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLSERSIS DEFAULT_MSG clsersis_LIBRARY clsersis_INCLUDE_DIR)
- SET(clsersis_LIBRARIES ${clsersis_LIBRARY})
-ENDIF (NOT clsersis_FOUND)
-
-IF (clsersis_FOUND)
- SET(clsersis_LIBRARIES ${clsersis_LIBRARY})
-ENDIF (clsersis_FOUND)
diff --git a/cmake/FindFgLib5.cmake b/cmake/FindFgLib5.cmake
deleted file mode 100644
index 79964b7..0000000
--- a/cmake/FindFgLib5.cmake
+++ /dev/null
@@ -1,46 +0,0 @@
-FILE(TO_CMAKE_PATH "$ENV{SISODIR5}" SISODIR5)
-
-FIND_PATH(FgLib5_INCLUDE_DIR fgrab_define.h
- PATHS
- "$ENV{FGLIB5}/include"
- "${CMAKE_INSTALL_PREFIX}/include"
- "${SISODIR5}/include"
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/include"
-)
-
-INCLUDE(SisoLibDir)
-SISO_LIB_DIR("${SISODIR5}/lib" LIB_DIRS COMPILER_LIB_DIR)
-
-FIND_LIBRARY(FgLib5_LIBRARY NAMES fglib5
- PATHS
- "$ENV{FGLIB5}/lib"
- "$ENV{FGLIB5}"
- "${CMAKE_INSTALL_PREFIX}/lib"
- ${LIB_DIRS}
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib/${COMPILER_LIB_DIR}"
- "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Silicon Software GmbH\\Runtime5;Info]/lib"
-)
-
-IF (FgLib5_INCLUDE_DIR AND EXISTS "${FgLib5_INCLUDE_DIR}/fgrab_define.h")
- FILE(STRINGS "${FgLib5_INCLUDE_DIR}/fgrab_define.h" FGLIB_H_VERSION REGEX "^#define[ \\t]*FGLIB_VERSION_STRING[ \\t]*\"[^\"]*\"")
- IF (FGLIB_H_VERSION)
- STRING(REGEX REPLACE "^#define FGLIB_VERSION_STRING[ \\t]*\"([^\"]*)\".*" "\\1" FgLib5_VERSION_STRING "${FGLIB_H_VERSION}")
- ENDIF (FGLIB_H_VERSION)
-ENDIF (FgLib5_INCLUDE_DIR AND EXISTS "${FgLib5_INCLUDE_DIR}/fgrab_define.h")
-
-INCLUDE(FindPackageHandleStandardArgs)
-IF (CMAKE_VERSION VERSION_LESS 2.8.4)
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(FgLib5 DEFAULT_MSG FGLIB5_LIBRARY FGLIB5_INCLUDE_DIR)
-ELSE (CMAKE_VERSION VERSION_LESS 2.8.4)
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(FgLib5
- REQUIRED_VARS FgLib5_LIBRARY FgLib5_INCLUDE_DIR
- VERSION_VAR FgLib5_VERSION_STRING)
-ENDIF (CMAKE_VERSION VERSION_LESS 2.8.4)
-
-SET(FgLib5_LIBRARIES ${FgLib5_LIBRARY})
-
-# backward compatibility
-SET(FGLIB5_LIBRARY ${FgLib5_LIBRARY})
-SET(FGLIB5_LIBRARIES ${FgLib5_LIBRARIES})
-SET(FGLIB5_INCLUDE_DIR ${FgLib5_INCLUDE_DIR})
-SET(FGLIB5_FOUND ${FgLib5_FOUND})
diff --git a/cmake/FindIPE.cmake b/cmake/FindIPE.cmake
deleted file mode 100644
index 11e8d90..0000000
--- a/cmake/FindIPE.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-# Try to find user-space driver for the IPE camera
-#
-# Defines
-#
-# IPE_FOUND - system has libpcidriver
-# IPE_INCLUDE_DIRS - libpci include directory
-# IPE_LIBRARIES - pci library
-
-find_package(PackageHandleStandardArgs)
-
-find_path(IPE_INCLUDE_DIRS pcilib.h)
-find_library(IPE_LIBRARIES pcilib)
-
-find_package_handle_standard_args(IPE DEFAULT_MSG IPE_LIBRARIES IPE_INCLUDE_DIRS)
-
-mark_as_advanced(
- IPE_INCLUDE_DIRS
- IPE_LIBRARIES
-)
diff --git a/cmake/FindPCO.cmake b/cmake/FindPCO.cmake
deleted file mode 100644
index 86bbe9a..0000000
--- a/cmake/FindPCO.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-# Try to find libpco.so
-#
-# Defines
-#
-# PCO_FOUND - system has libpco
-# PCO_INCLUDE_DIRS - libpco include directory
-# PCO_LIBRARIES - pco library
-
-find_package(PackageHandleStandardArgs)
-
-find_path(PCO_INCLUDE_DIRS libpco/libpco.h)
-find_library(PCO_LIBRARIES pco)
-
-find_package_handle_standard_args(PCO DEFAULT_MSG PCO_LIBRARIES PCO_INCLUDE_DIRS)
-
-mark_as_advanced(
- PCO_INCLUDE_DIRS
- PCO_LIBRARIES
-)
diff --git a/cmake/FindPF.cmake b/cmake/FindPF.cmake
deleted file mode 100644
index 926bea7..0000000
--- a/cmake/FindPF.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-# Try to find libpco.so
-#
-# Defines
-#
-# PF_FOUND - system has libpco
-# PF_INCLUDE_DIRS - libpco include directory
-# PF_LIBRARIES - pco library
-
-find_package(PackageHandleStandardArgs)
-
-find_path(PF_INCLUDE_DIRS libpf/pfcam.h)
-find_library(PF_LIBRARY_COMDLL NAMES comdll)
-find_library(PF_LIBRARY_COMDLL_FG NAMES comdll_fg)
-find_library(PF_LIBRARY_MV2 NAMES mv2_d1280_640)
-find_library(PF_LIBRARY_PFCAM NAMES pfcam)
-
-set(PF_LIBRARIES
- ${PF_LIBRARY_MV2}
- )
-
-find_package_handle_standard_args(PF DEFAULT_MSG PF_LIBRARIES PF_INCLUDE_DIRS)
-
-mark_as_advanced(
- PF_INCLUDE_DIRS
- PF_LIBRARIES
-)
diff --git a/cmake/SisoLibDir.cmake b/cmake/SisoLibDir.cmake
deleted file mode 100644
index 594b2f9..0000000
--- a/cmake/SisoLibDir.cmake
+++ /dev/null
@@ -1,111 +0,0 @@
-# This makro sets up additional library directories depending on the compiler.
-# The reason behind this are the binary incompatible libraries generated by
-# different compilers on Windows (e.g. Microsoft Visual Studio vs. Borland).
-#
-# Although newer versions of MSVC can operate with older libraries there may
-# be libs compiled for a more recent version as MSVC6. Scan through all the
-# possible directories for the matching lib.
-#
-# This makro expects the /lib directory (usually $ENV{SISODIRsomething}) as
-# argument BASEDIR and will append a list of all valid library paths to
-# variable LIB_DIRS. This may or may not include BASE_DIR depending on the
-# platform. If BASEDIR is empty or is just "/lib" nothing will happen to
-# LIB_DIRS.
-#
-# An optional variable name may be passed as third argument. If that argument
-# is given the best matching suffix will be stored in that variable (e.g.
-# "visualc2008" if you are using MSVC9). This will even work if LIB_DIRS would
-# not be touched.
-
-MACRO (SISO_LIB_DIR BASE_DIR LIB_DIRS)
- IF (WIN32)
- IF (CMAKE_GENERATOR STREQUAL "Borland Makefiles")
- IF ("${BASE_DIR}" AND NOT "${BASE_DIR}" STREQUAL "/lib")
- LIST(APPEND ${LIB_DIRS} "borland")
- ENDIF ("${BASE_DIR}" AND NOT "${BASE_DIR}" STREQUAL "/lib")
- IF (${ARGC} EQUAL 3)
- set(${ARGV2} "borland")
- ENDIF (${ARGC} EQUAL 3)
- ELSE (CMAKE_GENERATOR STREQUAL "Borland Makefiles")
- # assume MSVC
- SET(TMP_MSVC 0)
- SET(TMP_MSVC_64 0)
-
- IF (CMAKE_GENERATOR STREQUAL "Visual Studio 6")
- SET(TMP_MSVC 6)
- SET(TMP_MSVC_64 0)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005")
- SET(TMP_MSVC 8)
- SET(TMP_MSVC_64 0)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005 Win64")
- SET(TMP_MSVC 8)
- SET(TMP_MSVC_64 1)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 9 2008")
- SET(TMP_MSVC 9)
- SET(TMP_MSVC_64 0)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 9 2008 Win64")
- SET(TMP_MSVC 9)
- SET(TMP_MSVC_64 1)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 10")
- SET(TMP_MSVC 10)
- SET(TMP_MSVC_64 0)
- ELSEIF (CMAKE_GENERATOR STREQUAL "Visual Studio 10 Win64")
- SET(TMP_MSVC 10)
- SET(TMP_MSVC_64 1)
- ELSEIF (CMAKE_GENERATOR STREQUAL "NMake Makefiles" OR CMAKE_GENERATOR STREQUAL "MinGW Makefiles"
- OR CMAKE_GENERATOR STREQUAL "NMake Makefiles JOM")
- SET(TMP_MSVC_64 ${CMAKE_CL_64})
- IF (MSVC_VERSION EQUAL 1400)
- SET(TMP_MSVC 8)
- ELSEIF (MSVC_VERSION GREATER 1599)
- SET(TMP_MSVC 10)
- ELSEIF (MSVC_VERSION GREATER 1499)
- SET(TMP_MSVC 9)
- ELSEIF (CMAKE_COMPILER_2005)
- SET(TMP_MSVC 8)
- ELSE (MSVC_VERSION EQUAL 1400)
- SET(TMP_MSVC 6)
- ENDIF (MSVC_VERSION EQUAL 1400)
- ELSE (CMAKE_GENERATOR STREQUAL "Visual Studio 6")
- MESSAGE(FATAL_ERROR "Compiler not detected in SisoLibDir.cmake")
- ENDIF (CMAKE_GENERATOR STREQUAL "Visual Studio 6")
-
- SET(TMP_DIRS "")
-
- IF (TMP_MSVC GREATER 7)
- LIST(APPEND TMP_DIRS "visualc")
- ENDIF (TMP_MSVC GREATER 7)
- IF (TMP_MSVC GREATER 5 AND NOT TMP_MSVC_64)
- LIST(APPEND TMP_DIRS "visualc")
- ENDIF (TMP_MSVC GREATER 5 AND NOT TMP_MSVC_64)
-
- IF (${ARGC} EQUAL 3)
- LIST(GET TMP_DIRS 0 TMPSTR)
- IF (TMP_MSVC_64)
- SET(TMPSTR "${TMPSTR}")
- ENDIF (TMP_MSVC_64)
- set(${ARGV2} ${TMPSTR})
- ENDIF (${ARGC} EQUAL 3)
-
- IF (NOT BASE_DIR STREQUAL "" AND NOT BASE_DIR STREQUAL "/lib")
- FOREACH (TMP_ITEM ${TMP_DIRS})
- IF (TMP_MSVC_64)
- LIST(APPEND ${LIB_DIRS} "${BASE_DIR}/${TMP_ITEM}")
- ELSE (TMP_MSVC_64)
- LIST(APPEND ${LIB_DIRS} "${BASE_DIR}/${TMP_ITEM}")
- ENDIF (TMP_MSVC_64)
- ENDFOREACH (TMP_ITEM ${TMP_DIRS})
- ENDIF (NOT BASE_DIR STREQUAL "" AND NOT BASE_DIR STREQUAL "/lib")
- ENDIF (CMAKE_GENERATOR STREQUAL "Borland Makefiles")
- ELSE (WIN32)
- IF (NOT BASE_DIR STREQUAL "" AND NOT BASE_DIR STREQUAL "/lib")
- LIST(APPEND ${LIB_DIRS} ${BASE_DIR})
- ENDIF (NOT BASE_DIR STREQUAL "" AND NOT BASE_DIR STREQUAL "/lib")
- IF (${ARGC} EQUAL 3)
- set(${ARGV2} "interface")
- ENDIF (${ARGC} EQUAL 3)
- ENDIF (WIN32)
- IF (${LIB_DIRS})
- LIST(REMOVE_ITEM ${LIB_DIRS} "/lib")
- ENDIF (${LIB_DIRS})
-ENDMACRO (SISO_LIB_DIR BASE_DIR LIB_DIRS)