diff --git a/CMakeDoxyfile.in b/CMakeDoxyfile.in deleted file mode 100644 index 4b609872..00000000 --- a/CMakeDoxyfile.in +++ /dev/null @@ -1,285 +0,0 @@ -# -# DO NOT EDIT! THIS FILE WAS GENERATED BY CMAKE! -# - -DOXYFILE_ENCODING = @DOXYGEN_DOXYFILE_ENCODING@ -PROJECT_NAME = @DOXYGEN_PROJECT_NAME@ -PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@ -PROJECT_BRIEF = @DOXYGEN_PROJECT_BRIEF@ -PROJECT_LOGO = @DOXYGEN_PROJECT_LOGO@ -OUTPUT_DIRECTORY = @DOXYGEN_OUTPUT_DIRECTORY@ -CREATE_SUBDIRS = @DOXYGEN_CREATE_SUBDIRS@ -ALLOW_UNICODE_NAMES = @DOXYGEN_ALLOW_UNICODE_NAMES@ -OUTPUT_LANGUAGE = @DOXYGEN_OUTPUT_LANGUAGE@ -OUTPUT_TEXT_DIRECTION = @DOXYGEN_OUTPUT_TEXT_DIRECTION@ -BRIEF_MEMBER_DESC = @DOXYGEN_BRIEF_MEMBER_DESC@ -REPEAT_BRIEF = @DOXYGEN_REPEAT_BRIEF@ -ABBREVIATE_BRIEF = @DOXYGEN_ABBREVIATE_BRIEF@ -ALWAYS_DETAILED_SEC = @DOXYGEN_ALWAYS_DETAILED_SEC@ -INLINE_INHERITED_MEMB = @DOXYGEN_INLINE_INHERITED_MEMB@ -FULL_PATH_NAMES = @DOXYGEN_FULL_PATH_NAMES@ -STRIP_FROM_PATH = @DOXYGEN_STRIP_FROM_PATH@ -STRIP_FROM_INC_PATH = @DOXYGEN_STRIP_FROM_INC_PATH@ -SHORT_NAMES = @DOXYGEN_SHORT_NAMES@ -JAVADOC_AUTOBRIEF = @DOXYGEN_JAVADOC_AUTOBRIEF@ -JAVADOC_BANNER = @DOXYGEN_JAVADOC_BANNER@ -QT_AUTOBRIEF = @DOXYGEN_QT_AUTOBRIEF@ -MULTILINE_CPP_IS_BRIEF = @DOXYGEN_MULTILINE_CPP_IS_BRIEF@ -PYTHON_DOCSTRING = @DOXYGEN_PYTHON_DOCSTRING@ -INHERIT_DOCS = @DOXYGEN_INHERIT_DOCS@ -SEPARATE_MEMBER_PAGES = @DOXYGEN_SEPARATE_MEMBER_PAGES@ -TAB_SIZE = @DOXYGEN_TAB_SIZE@ -ALIASES = @DOXYGEN_ALIASES@ -OPTIMIZE_OUTPUT_FOR_C = @DOXYGEN_OPTIMIZE_OUTPUT_FOR_C@ -OPTIMIZE_OUTPUT_JAVA = @DOXYGEN_OPTIMIZE_OUTPUT_JAVA@ -OPTIMIZE_FOR_FORTRAN = @DOXYGEN_OPTIMIZE_FOR_FORTRAN@ -OPTIMIZE_OUTPUT_VHDL = @DOXYGEN_OPTIMIZE_OUTPUT_VHDL@ -OPTIMIZE_OUTPUT_SLICE = @DOXYGEN_OPTIMIZE_OUTPUT_SLICE@ -EXTENSION_MAPPING = @DOXYGEN_EXTENSION_MAPPING@ -MARKDOWN_SUPPORT = @DOXYGEN_MARKDOWN_SUPPORT@ -TOC_INCLUDE_HEADINGS = @DOXYGEN_TOC_INCLUDE_HEADINGS@ -AUTOLINK_SUPPORT = @DOXYGEN_AUTOLINK_SUPPORT@ -BUILTIN_STL_SUPPORT = @DOXYGEN_BUILTIN_STL_SUPPORT@ -CPP_CLI_SUPPORT = @DOXYGEN_CPP_CLI_SUPPORT@ -SIP_SUPPORT = @DOXYGEN_SIP_SUPPORT@ -IDL_PROPERTY_SUPPORT = @DOXYGEN_IDL_PROPERTY_SUPPORT@ -DISTRIBUTE_GROUP_DOC = @DOXYGEN_DISTRIBUTE_GROUP_DOC@ -GROUP_NESTED_COMPOUNDS = @DOXYGEN_GROUP_NESTED_COMPOUNDS@ -SUBGROUPING = @DOXYGEN_SUBGROUPING@ -INLINE_GROUPED_CLASSES = @DOXYGEN_INLINE_GROUPED_CLASSES@ -INLINE_SIMPLE_STRUCTS = @DOXYGEN_INLINE_SIMPLE_STRUCTS@ -TYPEDEF_HIDES_STRUCT = @DOXYGEN_TYPEDEF_HIDES_STRUCT@ -LOOKUP_CACHE_SIZE = @DOXYGEN_LOOKUP_CACHE_SIZE@ -NUM_PROC_THREADS = @DOXYGEN_NUM_PROC_THREADS@ -EXTRACT_ALL = @DOXYGEN_EXTRACT_ALL@ -EXTRACT_PRIVATE = @DOXYGEN_EXTRACT_PRIVATE@ -EXTRACT_PRIV_VIRTUAL = @DOXYGEN_EXTRACT_PRIV_VIRTUAL@ -EXTRACT_PACKAGE = @DOXYGEN_EXTRACT_PACKAGE@ -EXTRACT_STATIC = @DOXYGEN_EXTRACT_STATIC@ -EXTRACT_LOCAL_CLASSES = @DOXYGEN_EXTRACT_LOCAL_CLASSES@ -EXTRACT_LOCAL_METHODS = @DOXYGEN_EXTRACT_LOCAL_METHODS@ -EXTRACT_ANON_NSPACES = @DOXYGEN_EXTRACT_ANON_NSPACES@ -RESOLVE_UNNAMED_PARAMS = @DOXYGEN_RESOLVE_UNNAMED_PARAMS@ -HIDE_UNDOC_MEMBERS = @DOXYGEN_HIDE_UNDOC_MEMBERS@ -HIDE_UNDOC_CLASSES = @DOXYGEN_HIDE_UNDOC_CLASSES@ -HIDE_FRIEND_COMPOUNDS = @DOXYGEN_HIDE_FRIEND_COMPOUNDS@ -HIDE_IN_BODY_DOCS = @DOXYGEN_HIDE_IN_BODY_DOCS@ -INTERNAL_DOCS = @DOXYGEN_INTERNAL_DOCS@ -CASE_SENSE_NAMES = @DOXYGEN_CASE_SENSE_NAMES@ -HIDE_SCOPE_NAMES = @DOXYGEN_HIDE_SCOPE_NAMES@ -HIDE_COMPOUND_REFERENCE= @DOXYGEN_HIDE_COMPOUND_REFERENCE@ -SHOW_INCLUDE_FILES = @DOXYGEN_SHOW_INCLUDE_FILES@ -SHOW_GROUPED_MEMB_INC = @DOXYGEN_SHOW_GROUPED_MEMB_INC@ -FORCE_LOCAL_INCLUDES = @DOXYGEN_FORCE_LOCAL_INCLUDES@ -INLINE_INFO = @DOXYGEN_INLINE_INFO@ -SORT_MEMBER_DOCS = @DOXYGEN_SORT_MEMBER_DOCS@ -SORT_BRIEF_DOCS = @DOXYGEN_SORT_BRIEF_DOCS@ -SORT_MEMBERS_CTORS_1ST = @DOXYGEN_SORT_MEMBERS_CTORS_1ST@ -SORT_GROUP_NAMES = @DOXYGEN_SORT_GROUP_NAMES@ -SORT_BY_SCOPE_NAME = @DOXYGEN_SORT_BY_SCOPE_NAME@ -STRICT_PROTO_MATCHING = @DOXYGEN_STRICT_PROTO_MATCHING@ -GENERATE_TODOLIST = @DOXYGEN_GENERATE_TODOLIST@ -GENERATE_TESTLIST = @DOXYGEN_GENERATE_TESTLIST@ -GENERATE_BUGLIST = @DOXYGEN_GENERATE_BUGLIST@ -GENERATE_DEPRECATEDLIST= @DOXYGEN_GENERATE_DEPRECATEDLIST@ -ENABLED_SECTIONS = @DOXYGEN_ENABLED_SECTIONS@ -MAX_INITIALIZER_LINES = @DOXYGEN_MAX_INITIALIZER_LINES@ -SHOW_USED_FILES = @DOXYGEN_SHOW_USED_FILES@ -SHOW_FILES = @DOXYGEN_SHOW_FILES@ -SHOW_NAMESPACES = @DOXYGEN_SHOW_NAMESPACES@ -FILE_VERSION_FILTER = @DOXYGEN_FILE_VERSION_FILTER@ -LAYOUT_FILE = @DOXYGEN_LAYOUT_FILE@ -CITE_BIB_FILES = @DOXYGEN_CITE_BIB_FILES@ -QUIET = @DOXYGEN_QUIET@ -WARNINGS = @DOXYGEN_WARNINGS@ -WARN_IF_UNDOCUMENTED = @DOXYGEN_WARN_IF_UNDOCUMENTED@ -WARN_IF_DOC_ERROR = @DOXYGEN_WARN_IF_DOC_ERROR@ -WARN_NO_PARAMDOC = @DOXYGEN_WARN_NO_PARAMDOC@ -WARN_AS_ERROR = @DOXYGEN_WARN_AS_ERROR@ -WARN_FORMAT = @DOXYGEN_WARN_FORMAT@ -WARN_LOGFILE = @DOXYGEN_WARN_LOGFILE@ -INPUT = @DOXYGEN_INPUT@ -INPUT_ENCODING = @DOXYGEN_INPUT_ENCODING@ -FILE_PATTERNS = @DOXYGEN_FILE_PATTERNS@ -RECURSIVE = @DOXYGEN_RECURSIVE@ -EXCLUDE = @DOXYGEN_EXCLUDE@ -EXCLUDE_SYMLINKS = @DOXYGEN_EXCLUDE_SYMLINKS@ -EXCLUDE_PATTERNS = @DOXYGEN_EXCLUDE_PATTERNS@ -EXCLUDE_SYMBOLS = @DOXYGEN_EXCLUDE_SYMBOLS@ -EXAMPLE_PATH = @DOXYGEN_EXAMPLE_PATH@ -EXAMPLE_PATTERNS = @DOXYGEN_EXAMPLE_PATTERNS@ -EXAMPLE_RECURSIVE = @DOXYGEN_EXAMPLE_RECURSIVE@ -IMAGE_PATH = @DOXYGEN_IMAGE_PATH@ -INPUT_FILTER = @DOXYGEN_INPUT_FILTER@ -FILTER_PATTERNS = @DOXYGEN_FILTER_PATTERNS@ -FILTER_SOURCE_FILES = @DOXYGEN_FILTER_SOURCE_FILES@ -FILTER_SOURCE_PATTERNS = @DOXYGEN_FILTER_SOURCE_PATTERNS@ -USE_MDFILE_AS_MAINPAGE = @DOXYGEN_USE_MDFILE_AS_MAINPAGE@ -SOURCE_BROWSER = @DOXYGEN_SOURCE_BROWSER@ -INLINE_SOURCES = @DOXYGEN_INLINE_SOURCES@ -STRIP_CODE_COMMENTS = @DOXYGEN_STRIP_CODE_COMMENTS@ -REFERENCED_BY_RELATION = @DOXYGEN_REFERENCED_BY_RELATION@ -REFERENCES_RELATION = @DOXYGEN_REFERENCES_RELATION@ -REFERENCES_LINK_SOURCE = @DOXYGEN_REFERENCES_LINK_SOURCE@ -SOURCE_TOOLTIPS = @DOXYGEN_SOURCE_TOOLTIPS@ -USE_HTAGS = @DOXYGEN_USE_HTAGS@ -VERBATIM_HEADERS = @DOXYGEN_VERBATIM_HEADERS@ -CLANG_ASSISTED_PARSING = @DOXYGEN_CLANG_ASSISTED_PARSING@ -CLANG_ADD_INC_PATHS = @DOXYGEN_CLANG_ADD_INC_PATHS@ -CLANG_OPTIONS = @DOXYGEN_CLANG_OPTIONS@ -CLANG_DATABASE_PATH = @DOXYGEN_CLANG_DATABASE_PATH@ -ALPHABETICAL_INDEX = @DOXYGEN_ALPHABETICAL_INDEX@ -IGNORE_PREFIX = @DOXYGEN_IGNORE_PREFIX@ -GENERATE_HTML = @DOXYGEN_GENERATE_HTML@ -HTML_OUTPUT = @DOXYGEN_HTML_OUTPUT@ -HTML_FILE_EXTENSION = @DOXYGEN_HTML_FILE_EXTENSION@ -HTML_HEADER = @DOXYGEN_HTML_HEADER@ -HTML_FOOTER = @DOXYGEN_HTML_FOOTER@ -HTML_STYLESHEET = @DOXYGEN_HTML_STYLESHEET@ -HTML_EXTRA_STYLESHEET = @DOXYGEN_HTML_EXTRA_STYLESHEET@ -HTML_EXTRA_FILES = @DOXYGEN_HTML_EXTRA_FILES@ -HTML_COLORSTYLE_HUE = @DOXYGEN_HTML_COLORSTYLE_HUE@ -HTML_COLORSTYLE_SAT = @DOXYGEN_HTML_COLORSTYLE_SAT@ -HTML_COLORSTYLE_GAMMA = @DOXYGEN_HTML_COLORSTYLE_GAMMA@ -HTML_TIMESTAMP = @DOXYGEN_HTML_TIMESTAMP@ -HTML_DYNAMIC_MENUS = @DOXYGEN_HTML_DYNAMIC_MENUS@ -HTML_DYNAMIC_SECTIONS = @DOXYGEN_HTML_DYNAMIC_SECTIONS@ -HTML_INDEX_NUM_ENTRIES = @DOXYGEN_HTML_INDEX_NUM_ENTRIES@ -GENERATE_DOCSET = @DOXYGEN_GENERATE_DOCSET@ -DOCSET_FEEDNAME = @DOXYGEN_DOCSET_FEEDNAME@ -DOCSET_BUNDLE_ID = @DOXYGEN_DOCSET_BUNDLE_ID@ -DOCSET_PUBLISHER_ID = @DOXYGEN_DOCSET_PUBLISHER_ID@ -DOCSET_PUBLISHER_NAME = @DOXYGEN_DOCSET_PUBLISHER_NAME@ -GENERATE_HTMLHELP = @DOXYGEN_GENERATE_HTMLHELP@ -CHM_FILE = @DOXYGEN_CHM_FILE@ -HHC_LOCATION = @DOXYGEN_HHC_LOCATION@ -GENERATE_CHI = @DOXYGEN_GENERATE_CHI@ -CHM_INDEX_ENCODING = @DOXYGEN_CHM_INDEX_ENCODING@ -BINARY_TOC = @DOXYGEN_BINARY_TOC@ -TOC_EXPAND = @DOXYGEN_TOC_EXPAND@ -GENERATE_QHP = @DOXYGEN_GENERATE_QHP@ -QCH_FILE = @DOXYGEN_QCH_FILE@ -QHP_NAMESPACE = @DOXYGEN_QHP_NAMESPACE@ -QHP_VIRTUAL_FOLDER = @DOXYGEN_QHP_VIRTUAL_FOLDER@ -QHP_CUST_FILTER_NAME = @DOXYGEN_QHP_CUST_FILTER_NAME@ -QHP_CUST_FILTER_ATTRS = @DOXYGEN_QHP_CUST_FILTER_ATTRS@ -QHP_SECT_FILTER_ATTRS = @DOXYGEN_QHP_SECT_FILTER_ATTRS@ -QHG_LOCATION = @DOXYGEN_QHG_LOCATION@ -GENERATE_ECLIPSEHELP = @DOXYGEN_GENERATE_ECLIPSEHELP@ -ECLIPSE_DOC_ID = @DOXYGEN_ECLIPSE_DOC_ID@ -DISABLE_INDEX = @DOXYGEN_DISABLE_INDEX@ -GENERATE_TREEVIEW = @DOXYGEN_GENERATE_TREEVIEW@ -ENUM_VALUES_PER_LINE = @DOXYGEN_ENUM_VALUES_PER_LINE@ -TREEVIEW_WIDTH = @DOXYGEN_TREEVIEW_WIDTH@ -EXT_LINKS_IN_WINDOW = @DOXYGEN_EXT_LINKS_IN_WINDOW@ -HTML_FORMULA_FORMAT = @DOXYGEN_HTML_FORMULA_FORMAT@ -FORMULA_FONTSIZE = @DOXYGEN_FORMULA_FONTSIZE@ -FORMULA_TRANSPARENT = @DOXYGEN_FORMULA_TRANSPARENT@ -FORMULA_MACROFILE = @DOXYGEN_FORMULA_MACROFILE@ -USE_MATHJAX = @DOXYGEN_USE_MATHJAX@ -MATHJAX_FORMAT = @DOXYGEN_MATHJAX_FORMAT@ -MATHJAX_RELPATH = @DOXYGEN_MATHJAX_RELPATH@ -MATHJAX_EXTENSIONS = @DOXYGEN_MATHJAX_EXTENSIONS@ -MATHJAX_CODEFILE = @DOXYGEN_MATHJAX_CODEFILE@ -SEARCHENGINE = @DOXYGEN_SEARCHENGINE@ -SERVER_BASED_SEARCH = @DOXYGEN_SERVER_BASED_SEARCH@ -EXTERNAL_SEARCH = @DOXYGEN_EXTERNAL_SEARCH@ -SEARCHENGINE_URL = @DOXYGEN_SEARCHENGINE_URL@ -SEARCHDATA_FILE = @DOXYGEN_SEARCHDATA_FILE@ -EXTERNAL_SEARCH_ID = @DOXYGEN_EXTERNAL_SEARCH_ID@ -EXTRA_SEARCH_MAPPINGS = @DOXYGEN_EXTRA_SEARCH_MAPPINGS@ -GENERATE_LATEX = @DOXYGEN_GENERATE_LATEX@ -LATEX_OUTPUT = @DOXYGEN_LATEX_OUTPUT@ -LATEX_CMD_NAME = @DOXYGEN_LATEX_CMD_NAME@ -MAKEINDEX_CMD_NAME = @DOXYGEN_MAKEINDEX_CMD_NAME@ -LATEX_MAKEINDEX_CMD = @DOXYGEN_LATEX_MAKEINDEX_CMD@ -COMPACT_LATEX = @DOXYGEN_COMPACT_LATEX@ -PAPER_TYPE = @DOXYGEN_PAPER_TYPE@ -EXTRA_PACKAGES = @DOXYGEN_EXTRA_PACKAGES@ -LATEX_HEADER = @DOXYGEN_LATEX_HEADER@ -LATEX_FOOTER = @DOXYGEN_LATEX_FOOTER@ -LATEX_EXTRA_STYLESHEET = @DOXYGEN_LATEX_EXTRA_STYLESHEET@ -LATEX_EXTRA_FILES = @DOXYGEN_LATEX_EXTRA_FILES@ -PDF_HYPERLINKS = @DOXYGEN_PDF_HYPERLINKS@ -USE_PDFLATEX = @DOXYGEN_USE_PDFLATEX@ -LATEX_BATCHMODE = @DOXYGEN_LATEX_BATCHMODE@ -LATEX_HIDE_INDICES = @DOXYGEN_LATEX_HIDE_INDICES@ -LATEX_SOURCE_CODE = @DOXYGEN_LATEX_SOURCE_CODE@ -LATEX_BIB_STYLE = @DOXYGEN_LATEX_BIB_STYLE@ -LATEX_TIMESTAMP = @DOXYGEN_LATEX_TIMESTAMP@ -LATEX_EMOJI_DIRECTORY = @DOXYGEN_LATEX_EMOJI_DIRECTORY@ -GENERATE_RTF = @DOXYGEN_GENERATE_RTF@ -RTF_OUTPUT = @DOXYGEN_RTF_OUTPUT@ -COMPACT_RTF = @DOXYGEN_COMPACT_RTF@ -RTF_HYPERLINKS = @DOXYGEN_RTF_HYPERLINKS@ -RTF_STYLESHEET_FILE = @DOXYGEN_RTF_STYLESHEET_FILE@ -RTF_EXTENSIONS_FILE = @DOXYGEN_RTF_EXTENSIONS_FILE@ -RTF_SOURCE_CODE = @DOXYGEN_RTF_SOURCE_CODE@ -GENERATE_MAN = @DOXYGEN_GENERATE_MAN@ -MAN_OUTPUT = @DOXYGEN_MAN_OUTPUT@ -MAN_EXTENSION = @DOXYGEN_MAN_EXTENSION@ -MAN_SUBDIR = @DOXYGEN_MAN_SUBDIR@ -MAN_LINKS = @DOXYGEN_MAN_LINKS@ -GENERATE_XML = @DOXYGEN_GENERATE_XML@ -XML_OUTPUT = @DOXYGEN_XML_OUTPUT@ -XML_PROGRAMLISTING = @DOXYGEN_XML_PROGRAMLISTING@ -XML_NS_MEMB_FILE_SCOPE = @DOXYGEN_XML_NS_MEMB_FILE_SCOPE@ -GENERATE_DOCBOOK = @DOXYGEN_GENERATE_DOCBOOK@ -DOCBOOK_OUTPUT = @DOXYGEN_DOCBOOK_OUTPUT@ -DOCBOOK_PROGRAMLISTING = @DOXYGEN_DOCBOOK_PROGRAMLISTING@ -GENERATE_AUTOGEN_DEF = @DOXYGEN_GENERATE_AUTOGEN_DEF@ -GENERATE_PERLMOD = @DOXYGEN_GENERATE_PERLMOD@ -PERLMOD_LATEX = @DOXYGEN_PERLMOD_LATEX@ -PERLMOD_PRETTY = @DOXYGEN_PERLMOD_PRETTY@ -PERLMOD_MAKEVAR_PREFIX = @DOXYGEN_PERLMOD_MAKEVAR_PREFIX@ -ENABLE_PREPROCESSING = @DOXYGEN_ENABLE_PREPROCESSING@ -MACRO_EXPANSION = @DOXYGEN_MACRO_EXPANSION@ -EXPAND_ONLY_PREDEF = @DOXYGEN_EXPAND_ONLY_PREDEF@ -SEARCH_INCLUDES = @DOXYGEN_SEARCH_INCLUDES@ -INCLUDE_PATH = @DOXYGEN_INCLUDE_PATH@ -INCLUDE_FILE_PATTERNS = @DOXYGEN_INCLUDE_FILE_PATTERNS@ -PREDEFINED = @DOXYGEN_PREDEFINED@ -EXPAND_AS_DEFINED = @DOXYGEN_EXPAND_AS_DEFINED@ -SKIP_FUNCTION_MACROS = @DOXYGEN_SKIP_FUNCTION_MACROS@ -TAGFILES = @DOXYGEN_TAGFILES@ -GENERATE_TAGFILE = @DOXYGEN_GENERATE_TAGFILE@ -ALLEXTERNALS = @DOXYGEN_ALLEXTERNALS@ -EXTERNAL_GROUPS = @DOXYGEN_EXTERNAL_GROUPS@ -EXTERNAL_PAGES = @DOXYGEN_EXTERNAL_PAGES@ -CLASS_DIAGRAMS = @DOXYGEN_CLASS_DIAGRAMS@ -DIA_PATH = @DOXYGEN_DIA_PATH@ -HIDE_UNDOC_RELATIONS = @DOXYGEN_HIDE_UNDOC_RELATIONS@ -HAVE_DOT = @DOXYGEN_HAVE_DOT@ -DOT_NUM_THREADS = @DOXYGEN_DOT_NUM_THREADS@ -DOT_FONTNAME = @DOXYGEN_DOT_FONTNAME@ -DOT_FONTSIZE = @DOXYGEN_DOT_FONTSIZE@ -DOT_FONTPATH = @DOXYGEN_DOT_FONTPATH@ -CLASS_GRAPH = @DOXYGEN_CLASS_GRAPH@ -COLLABORATION_GRAPH = @DOXYGEN_COLLABORATION_GRAPH@ -GROUP_GRAPHS = @DOXYGEN_GROUP_GRAPHS@ -UML_LOOK = @DOXYGEN_UML_LOOK@ -UML_LIMIT_NUM_FIELDS = @DOXYGEN_UML_LIMIT_NUM_FIELDS@ -DOT_UML_DETAILS = @DOXYGEN_DOT_UML_DETAILS@ -DOT_WRAP_THRESHOLD = @DOXYGEN_DOT_WRAP_THRESHOLD@ -TEMPLATE_RELATIONS = @DOXYGEN_TEMPLATE_RELATIONS@ -INCLUDE_GRAPH = @DOXYGEN_INCLUDE_GRAPH@ -INCLUDED_BY_GRAPH = @DOXYGEN_INCLUDED_BY_GRAPH@ -CALL_GRAPH = @DOXYGEN_CALL_GRAPH@ -CALLER_GRAPH = @DOXYGEN_CALLER_GRAPH@ -GRAPHICAL_HIERARCHY = @DOXYGEN_GRAPHICAL_HIERARCHY@ -DIRECTORY_GRAPH = @DOXYGEN_DIRECTORY_GRAPH@ -DOT_IMAGE_FORMAT = @DOXYGEN_DOT_IMAGE_FORMAT@ -INTERACTIVE_SVG = @DOXYGEN_INTERACTIVE_SVG@ -DOT_PATH = @DOXYGEN_DOT_PATH@ -DOTFILE_DIRS = @DOXYGEN_DOTFILE_DIRS@ -MSCFILE_DIRS = @DOXYGEN_MSCFILE_DIRS@ -DIAFILE_DIRS = @DOXYGEN_DIAFILE_DIRS@ -PLANTUML_JAR_PATH = @DOXYGEN_PLANTUML_JAR_PATH@ -PLANTUML_CFG_FILE = @DOXYGEN_PLANTUML_CFG_FILE@ -PLANTUML_INCLUDE_PATH = @DOXYGEN_PLANTUML_INCLUDE_PATH@ -DOT_GRAPH_MAX_NODES = @DOXYGEN_DOT_GRAPH_MAX_NODES@ -MAX_DOT_GRAPH_DEPTH = @DOXYGEN_MAX_DOT_GRAPH_DEPTH@ -DOT_TRANSPARENT = @DOXYGEN_DOT_TRANSPARENT@ -DOT_MULTI_TARGETS = @DOXYGEN_DOT_MULTI_TARGETS@ -GENERATE_LEGEND = @DOXYGEN_GENERATE_LEGEND@ -DOT_CLEANUP = @DOXYGEN_DOT_CLEANUP@ diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 7d97054b..00000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,842 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (C) 2017-2024 by Norbert Schlia (nschlia@oblivion-software.de) -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -# -# On Debian systems, the complete text of the GNU General Public License -# Version 3 can be found in `/usr/share/common-licenses/GPL-3'. -# -------------------------------------------------------------------------- -# To build run -# cmake --configure . -# once, then -# cmake --build . --target all -# or -# make -# -------------------------------------------------------------------------- -# Build source package: -# cmake --build . --target dist-gzip -# or -# make dist-gzip -# -# Note: -# The install target function clumsily inserts each worthless file it -# discovers in the source directory. -# -------------------------------------------------------------------------- -# Install package: -# cmake --build . --target install -# or -# make install -# -------------------------------------------------------------------------- -# Uninstall package: -# cmake --build . --target uninstall -# or -# make uninstall -# -# Keep in mind that this will only function if you kept the install manifest.txt -# file that was created during install. Sorry, but this is by design. -# -# What? Is this for real? Yes. -# -# https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake -# -# The Cmake team believes that once a file is installed, should stay there -# forever. There is workaround code available, but it won't function without -# the original install manifest.txt. -# -------------------------------------------------------------------------- - -cmake_minimum_required(VERSION 3.5) - -set(CMAKE_CXX_STANDARD 17) -set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_EXTENSIONS OFF) -#set(CMAKE_VERBOSE_MAKEFILE ON) # Enable if you are curious. Make builds very slow... - -project(ffmpegfs VERSION 2.15) - -# Project metadata -set(PROJECT_VENDOR "Oblivion Software/Norbert Schlia") -set(PROJECT_CONTACT "nschlia@oblivion-software.de") -set(PROJECT_URL "https://nschlia.github.io/ffmpegfs/") -set(PROJECT_COPYRIGHT "(c) Oblivion Software/Norbert Schlia nschlia@oblivion-software.de") -set(PROJECT_DESCRIPTION "FUSE-based transcoding filesystem with video support from many formats") -set(PROJECT ${PROJECT_NAME}) - -set(PACKAGE "ffmpegfs") -set(PACKAGE_BUGREPORT "https://github.com/nschlia/ffmpegfs/issues") -set(PACKAGE_NAME "FFMPEGFS") -set(PACKAGE_URL ${PROJECT_URL}) -set(PACKAGE_STRING "FFMPEGFS ${PROJECT_VERSION}") -set(PACKAGE_TARNAME "ffmpegfs") -set(PACKAGE_VERSION ${PROJECT_VERSION}) -set(VERSION ${PROJECT_VERSION}) - -# Includes for doing all of our 'configure' checks. Things like checking -# for headers, functions, libraries, types and size of types. -INCLUDE(CheckIncludeFile) -INCLUDE(CheckTypeSize) -#INCLUDE(CheckFunctionExists) -#INCLUDE(CheckCXXSourceCompiles) -#INCLUDE(TestBigEndian) -INCLUDE(CheckSymbolExists) -INCLUDE(CheckIncludeFiles) -INCLUDE(CheckLibraryExists) -INCLUDE(FindPkgConfig) - -set(CONFIGURE_ARGS " ") # TODO: Mimic this - -PKG_CHECK_MODULES(SQLITE3 REQUIRED sqlite3>=3.7.13) -CHECK_LIBRARY_EXISTS(sqlite3 sqlite3_errstr "/lib;/usr/lib;/usr/local/lib" HAVE_SQLITE_ERRSTR) -CHECK_LIBRARY_EXISTS(sqlite3 sqlite3_db_cacheflush "/lib;/usr/lib;/usr/local/lib" HAVE_SQLITE_CACHEFLUSH) -CHECK_LIBRARY_EXISTS(sqlite3 sqlite3_expanded_sql "/lib;/usr/lib;/usr/local/lib" HAVE_SQLITE_EXPANDED_SQL) - -PKG_CHECK_MODULES(FUSE REQUIRED fuse>=2.6.0) -PKG_CHECK_MODULES(LIBCUE REQUIRED libcue>=2.2.1) -PKG_CHECK_MODULES(CHARDET REQUIRED chardet>=1.0.4) - -PKG_CHECK_MODULES(LIBAVUTIL REQUIRED libavutil>=54.3.0) -PKG_CHECK_MODULES(LIBAVCODEC REQUIRED libavcodec>=56.1.0) -PKG_CHECK_MODULES(LIBAVFORMAT REQUIRED libavformat>=56.1.0) -PKG_CHECK_MODULES(LIBSWSCALE REQUIRED libswscale>=3.0.0) -PKG_CHECK_MODULES(LIBAVFILTER REQUIRED libavfilter>=5.40.0) -PKG_CHECK_MODULES(LIBSWRESAMPLE libswresample>=2.0.0) -IF (LIBAVUTIL_FOUND AND LIBAVCODEC_FOUND AND LIBAVFORMAT_FOUND AND LIBSWSCALE_FOUND AND LIBAVFILTER_FOUND AND LIBSWRESAMPLE_FOUND) - message( "-- Sufficiently recent FFmpeg library version found." ) - set(HAVE_FFMPEG 1) -ENDIF (LIBAVUTIL_FOUND AND LIBAVCODEC_FOUND AND LIBAVFORMAT_FOUND AND LIBSWSCALE_FOUND AND LIBAVFILTER_FOUND AND LIBSWRESAMPLE_FOUND) - -PKG_CHECK_MODULES(LIBDVDREAD dvdread>=5.0.0) -PKG_CHECK_MODULES(LIBBLURAY libbluray>=0.6.2) - -# Check for doxygen. If not installed, go on, but make doxy won't work. -FIND_PACKAGE(Doxygen - COMPONENTS dot) -IF (NOT DOXYGEN_FOUND) - message( WARNING "Doxygen could not be found; we must continue without it. It is advised to be installed if you intend to use \"make doxy\".") -ENDIF (NOT DOXYGEN_FOUND) - -# Check for curl binary. If not installed, go on, but make doxy won't work. -find_program (CURL curl) -IF (NOT CURL-NOTFOUND) - message("-- Found curl: ${CURL}") -ELSE (NOT CURL-NOTFOUND) - message( WARNING "curl could not be found; we must continue without it. It is advised to be installed if you intend to use \"make doxy\".") -ENDIF (NOT CURL-NOTFOUND) - -# Header checks -CHECK_INCLUDE_FILES ("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS) -IF (STDC_HEADERS) - MESSAGE (STATUS "ANSI C header files - found") - SET (STDC_HEADERS 1 CACHE INTERNAL "System has ANSI C header files") - SET (HAVE_STDLIB_H 1 CACHE INTERNAL "Have include stdlib.h") - SET (HAVE_STDARG_H 1 CACHE INTERNAL "Have include stdarg.h") - SET (HAVE_STRING_H 1 CACHE INTERNAL "Have include string.h") - SET (HAVE_FLOAT_H 1 CACHE INTERNAL "Have include float.h") -ELSE (STDC_HEADERS) - MESSAGE (STATUS "ANSI C header files - not found") - SET (STDC_HEADERS 0 CACHE INTERNAL "System has ANSI C header files") -ENDIF (STDC_HEADERS) -CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H) -CHECK_INCLUDE_FILE("memory.h" HAVE_MEMORY_H) -CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H) -CHECK_INCLUDE_FILE("strings.h" HAVE_STRINGS_H) -CHECK_INCLUDE_FILE("sys/stat.h" HAVE_SYS_STAT_H) -CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H) -CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) - -CHECK_TYPE_SIZE("int" SIZEOF_INT) -CHECK_TYPE_SIZE("long" SIZEOF_LONG) -CHECK_TYPE_SIZE("off_t" SIZEOF_OFF_T) -CHECK_TYPE_SIZE("pthread_t" SIZEOF_PTHREAD_T) -CHECK_TYPE_SIZE("time_t" SIZEOF_TIME_T) - -IF (SIZEOF_LONG EQUAL SIZEOF_TIME_T) - set(FFMPEGFS_FORMAT_TIME_T "ld") -ELSE (SIZEOF_LONG EQUAL SIZEOF_TIME_T) - set(FFMPEGFS_FORMAT_TIME_T "d") -ENDIF (SIZEOF_LONG EQUAL SIZEOF_TIME_T) - -IF (SIZEOF_LONG EQUAL SIZEOF_PTHREAD_T) - set(FFMPEGFS_FORMAT_PTHREAD_T "lx") -ELSE (SIZEOF_LONG EQUAL SIZEOF_PTHREAD_T) -set(FFMPEGFS_FORMAT_PTHREAD_T "x") -ENDIF (SIZEOF_LONG EQUAL SIZEOF_PTHREAD_T) - -set(HOST_OS ${CMAKE_SYSTEM}) -set(_POSIX_C_SOURCE 200809L) - -# Create config.h -configure_file(${CMAKE_SOURCE_DIR}/cmake/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h) - -# Project -project(ffmpegfs - DESCRIPTION ${PROJECT_DESCRIPTION} - HOMEPAGE_URL ${PROJECT_URL} - LANGUAGES CXX) - -# Source files -set(SOURCES - src/blurayio.cc - src/blurayparser.cc - src/buffer.cc - src/cache.cc - src/cache_entry.cc - src/cache_maintenance.cc - src/cuesheetparser.cc - src/diskio.cc - src/dvdio.cc - src/dvdparser.cc - src/ffmpeg_frame.cc - src/ffmpeg_subtitle.cc - src/ffmpeg_base.cc - src/ffmpegfs.cc - src/ffmpeg_profiles.cc - src/ffmpeg_transcoder.cc - src/ffmpeg_utils.cc - src/fileio.cc - src/fuseops.cc - src/logging.cc - src/transcode.cc - src/vcdio.cc - src/vcdparser.cc - src/vcd/vcdchapter.cc - src/vcd/vcdentries.cc - src/vcd/vcdinfo.cc - src/vcd/vcdutils.cc - src/thread_pool.cc -) - -# Header files -set(HEADERS - src/aiff.h - src/blurayio.h - src/blurayparser.h - src/buffer.h - src/cache_entry.h - src/cache.h - src/cache_maintenance.h - src/cuesheetparser.h - src/diskio.h - src/dvdio.h - src/dvdparser.h - src/ffmpeg_frame.h - src/ffmpeg_subtitle.h - src/ffmpeg_base.h - src/ffmpeg_compat.h - src/ffmpegfs.h - src/ffmpeg_profiles.h - src/ffmpeg_transcoder.h - src/ffmpeg_utils.h - src/fileio.h - src/id3v1tag.h - src/logging.h - src/transcode.h - src/vcdio.h - src/vcdparser.h - src/vcd/vcdchapter.h - src/vcd/vcdentries.h - src/vcd/vcdinfo.h - src/vcd/vcdutils.h - src/wave.h - src/thread_pool.h -) - -# Other files -#test/addtest -#test/mkvid -list(APPEND SOURCES - configure.ac - COPYING - COPYING.DOC - docker/Dockerfile - ffmpegfs.1.txt - HISTORY.md - INSTALL.md - Makefile.am - NEWS - README.md - PROBLEMS.md - FEATURES.md - sql/ffmpegfs.sql - src/Makefile.am - src/makehelp.sh - src/scripts/hls.html - src/scripts/videotag.php - src/scripts/videotag.txt - test/CMakeLists.txt - test/funcs.sh - test/Makefile.am - test/tags/ffmpeg4.2/raven_e.opus.tag - test/tags/ffmpeg4.2/raven_d.prores.tag - test/tags/ffmpeg4.2/raven_e.mp3.tag - test/tags/ffmpeg4.2/raven_d.ts.tag - test/tags/ffmpeg4.2/raven_e.webm.tag - test/tags/ffmpeg4.2/snowboard.webm.tag - test/tags/ffmpeg4.2/raven_d.wav.tag - test/tags/ffmpeg4.2/raven_e.ogg.tag - test/tags/ffmpeg4.2/snowboard.prores.tag - test/tags/ffmpeg4.2/raven_e.flac.tag - test/tags/ffmpeg4.2/snowboard.mp4.tag - test/tags/ffmpeg4.2/raven_e.mp4.tag - test/tags/ffmpeg4.2/raven_e.ts.tag - test/tags/ffmpeg4.2/raven.ts.tag - test/tags/ffmpeg4.2/raven_d.aiff.tag - test/tags/ffmpeg4.2/raven_d.flac.tag - test/tags/ffmpeg4.2/raven_e.aiff.tag - test/tags/ffmpeg4.2/raven_e.mov.tag - test/tags/ffmpeg4.2/raven_d.opus.tag - test/tags/ffmpeg4.2/raven_d.mp3.tag - test/tags/ffmpeg4.2/raven_d.webm.tag - test/tags/ffmpeg4.2/snowboard.ts.tag - test/tags/ffmpeg4.2/snowboard.mov.tag - test/tags/ffmpeg4.2/raven_e.wav.tag - test/tags/ffmpeg4.2/raven_e.prores.tag - test/tags/ffmpeg4.2/raven_d.mp4.tag - test/tags/ffmpeg4.2/raven_d.alac.tag - test/tags/ffmpeg4.2/raven_e.alac.tag - test/tags/ffmpeg4.2/raven_d.mov.tag - test/tags/ffmpeg4.2/raven_d.ogg.tag - test/tags/ffmpeg4.2/obama.ts.tag - test/tags/ffmpegN/raven_e.opus.tag - test/tags/ffmpegN/raven_d.prores.tag - test/tags/ffmpegN/raven_e.mp3.tag - test/tags/ffmpegN/raven_d.ts.tag - test/tags/ffmpegN/raven_e.webm.tag - test/tags/ffmpegN/snowboard.webm.tag - test/tags/ffmpegN/raven_d.wav.tag - test/tags/ffmpegN/raven_e.ogg.tag - test/tags/ffmpegN/snowboard.prores.tag - test/tags/ffmpegN/raven_e.flac.tag - test/tags/ffmpegN/snowboard.mp4.tag - test/tags/ffmpegN/raven_e.mp4.tag - test/tags/ffmpegN/raven_e.ts.tag - test/tags/ffmpegN/raven.ts.tag - test/tags/ffmpegN/raven_d.aiff.tag - test/tags/ffmpegN/raven_d.flac.tag - test/tags/ffmpegN/raven_e.aiff.tag - test/tags/ffmpegN/raven_e.mov.tag - test/tags/ffmpegN/raven_d.opus.tag - test/tags/ffmpegN/raven_d.mp3.tag - test/tags/ffmpegN/raven_d.webm.tag - test/tags/ffmpegN/snowboard.ts.tag - test/tags/ffmpegN/snowboard.mov.tag - test/tags/ffmpegN/raven_e.wav.tag - test/tags/ffmpegN/raven_e.prores.tag - test/tags/ffmpegN/raven_d.mp4.tag - test/tags/ffmpegN/raven_d.alac.tag - test/tags/ffmpegN/raven_e.alac.tag - test/tags/ffmpegN/raven_d.mov.tag - test/tags/ffmpegN/raven_d.ogg.tag - test/tags/ffmpegN/obama.ts.tag - test/tags/ffmpeg4.0/raven_e.opus.tag - test/tags/ffmpeg4.0/raven_d.prores.tag - test/tags/ffmpeg4.0/raven_e.mp3.tag - test/tags/ffmpeg4.0/raven_d.ts.tag - test/tags/ffmpeg4.0/raven_e.webm.tag - test/tags/ffmpeg4.0/snowboard.webm.tag - test/tags/ffmpeg4.0/raven_d.wav.tag - test/tags/ffmpeg4.0/raven_e.ogg.tag - test/tags/ffmpeg4.0/snowboard.prores.tag - test/tags/ffmpeg4.0/raven_e.flac.tag - test/tags/ffmpeg4.0/snowboard.mp4.tag - test/tags/ffmpeg4.0/raven_e.mp4.tag - test/tags/ffmpeg4.0/raven_e.ts.tag - test/tags/ffmpeg4.0/raven.ts.tag - test/tags/ffmpeg4.0/raven_d.aiff.tag - test/tags/ffmpeg4.0/raven_d.flac.tag - test/tags/ffmpeg4.0/raven_e.aiff.tag - test/tags/ffmpeg4.0/raven_e.mov.tag - test/tags/ffmpeg4.0/raven_d.opus.tag - test/tags/ffmpeg4.0/raven_d.mp3.tag - test/tags/ffmpeg4.0/raven_d.webm.tag - test/tags/ffmpeg4.0/snowboard.ts.tag - test/tags/ffmpeg4.0/snowboard.mov.tag - test/tags/ffmpeg4.0/raven_e.wav.tag - test/tags/ffmpeg4.0/raven_e.prores.tag - test/tags/ffmpeg4.0/raven_d.mp4.tag - test/tags/ffmpeg4.0/raven_d.alac.tag - test/tags/ffmpeg4.0/raven_e.alac.tag - test/tags/ffmpeg4.0/raven_d.mov.tag - test/tags/ffmpeg4.0/raven_d.ogg.tag - test/tags/ffmpeg4.0/obama.ts.tag - test/tags/ffmpeg4.3/raven_e.opus.tag - test/tags/ffmpeg4.3/raven_d.prores.tag - test/tags/ffmpeg4.3/raven_e.mp3.tag - test/tags/ffmpeg4.3/raven_d.ts.tag - test/tags/ffmpeg4.3/raven_e.webm.tag - test/tags/ffmpeg4.3/snowboard.webm.tag - test/tags/ffmpeg4.3/raven_d.wav.tag - test/tags/ffmpeg4.3/raven_e.ogg.tag - test/tags/ffmpeg4.3/snowboard.prores.tag - test/tags/ffmpeg4.3/raven_e.flac.tag - test/tags/ffmpeg4.3/snowboard.mp4.tag - test/tags/ffmpeg4.3/raven_e.mp4.tag - test/tags/ffmpeg4.3/raven_e.ts.tag - test/tags/ffmpeg4.3/raven.ts.tag - test/tags/ffmpeg4.3/raven_d.aiff.tag - test/tags/ffmpeg4.3/raven_d.flac.tag - test/tags/ffmpeg4.3/raven_e.aiff.tag - test/tags/ffmpeg4.3/raven_e.mov.tag - test/tags/ffmpeg4.3/raven_d.opus.tag - test/tags/ffmpeg4.3/raven_d.mp3.tag - test/tags/ffmpeg4.3/raven_d.webm.tag - test/tags/ffmpeg4.3/snowboard.ts.tag - test/tags/ffmpeg4.3/snowboard.mov.tag - test/tags/ffmpeg4.3/raven_e.wav.tag - test/tags/ffmpeg4.3/raven_e.prores.tag - test/tags/ffmpeg4.3/raven_d.mp4.tag - test/tags/ffmpeg4.3/raven_d.alac.tag - test/tags/ffmpeg4.3/raven_e.alac.tag - test/tags/ffmpeg4.3/raven_d.mov.tag - test/tags/ffmpeg4.3/raven_d.ogg.tag - test/tags/ffmpeg4.3/obama.ts.tag - test/test_audio - test/test_audio_aiff - test/test_audio_alac - test/test_audio_flac - test/test_audio_mov - test/test_audio_mp3 - test/test_audio_mp4 - test/test_audio_ogg - test/test_audio_opus - test/test_audio_prores - test/test_audio_ts - test/test_audio_wav - test/test_audio_webm - test/test_cuesheet - test/test_cuesheet_embedded - test/test_cuesheet_file - test/test_filecount_hls - test/test_filenames - test/test_filenames_aiff - test/test_filenames_alac - test/test_filenames_flac - test/test_filenames_hls - test/test_filenames_mov - test/test_filenames_mp3 - test/test_filenames_mp4 - test/test_filenames_ogg - test/test_filenames_opus - test/test_filenames_prores - test/test_filenames_ts - test/test_filenames_wav - test/test_filenames_webm - test/test_filesize - test/test_filesize_aiff - test/test_filesize_alac - test/test_filesize_flac - test/test_filesize_hls - test/test_filesize_mov - test/test_filesize_mp3 - test/test_filesize_mp4 - test/test_filesize_ogg - test/test_filesize_opus - test/test_filesize_prores - test/test_filesize_ts - test/test_filesize_video - test/test_filesize_video_mov - test/test_filesize_video_mp4 - test/test_filesize_video_prores - test/test_filesize_video_ts - test/test_filesize_video_webm - test/test_filesize_wav - test/test_filesize_webm - test/test_frameset - test/test_frameset_bmp - test/test_frameset_jpg - test/test_frameset_png - test/test_picture - test/test_picture_aiff - test/test_picture_alac - test/test_picture_flac - test/test_picture_mov - test/test_picture_mp3 - test/test_picture_mp4 - test/test_picture_ogg - test/test_picture_opus - test/test_picture_prores - test/test_picture_ts - test/test_picture_wav - test/test_picture_webm - test/test_tags - test/test_tags_aiff - test/test_tags_alac - test/test_tags_flac - test/test_tags_mov - test/test_tags_mp3 - test/test_tags_mp4 - test/test_tags_ogg - test/test_tags_opus - test/test_tags_prores - test/test_tags_ts - test/test_tags_wav - test/test_tags_webm - test/test_video_hw - test/test_video_hw_dec_cuda - test/test_video_hw_dec_mmal - test/test_video_hw_dec_v4l2m2m - test/test_video_hw_dec_vaapi - test/test_video_hw_enc_cuda - test/test_video_hw_enc_omx - test/test_video_hw_enc_v4l2m2m - test/test_video_hw_enc_vaapi - TODO - Doxyfile -) - -# The binary -add_executable(${PROJECT_NAME} ${OPTIONS} ${SOURCES} ${HEADERS}) -set_target_properties(${PROJECT_NAME} - PROPERTIES - ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src" - LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src" - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/src" -) - -# manpages -execute_process(COMMAND "date +'%B %Y'" - RESULT_VARIABLE REVDATE -) - -# make manpage-text -add_custom_command( - COMMENT "Building text version of manpages" - DEPENDS ${CMAKE_SOURCE_DIR}/ffmpegfs.1.txt - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND a2x -a revnumber=\"${PACKAGE_VERSION}\" -a revdate=\"${REVDATE}\" -f text ffmpegfs.1.txt - OUTPUT ${CMAKE_BINARY_DIR}/ffmpegfs.1.text -) -add_custom_target(manpage-text DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1.text) -add_dependencies(${PROJECT_NAME} manpage-text) - -# make manpage-header -#sed in makefiles is a menace so we use a helper script -add_custom_command( - COMMENT "Building header version of manpages" - DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1.text - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ - COMMAND ${CMAKE_SOURCE_DIR}/src/makehelp.sh \"${CMAKE_BINARY_DIR}/src/ffmpegfshelp.h\" - OUTPUT ${CMAKE_BINARY_DIR}/src/ffmpegfshelp.h -) -add_custom_target(manpage-header DEPENDS ${CMAKE_BINARY_DIR}/src/ffmpegfshelp.h) -add_dependencies(${PROJECT_NAME} manpage-header) - -# make manpage -add_custom_command( - COMMENT "Building manpages" - DEPENDS ${CMAKE_SOURCE_DIR}/ffmpegfs.1.txt - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND a2x -a revnumber=\"${PACKAGE_VERSION}\" -a revdate=\"${REVDATE}\" -f manpage --xsltproc-opts=\"-param ulink.show 1\" ffmpegfs.1.txt - OUTPUT ${CMAKE_BINARY_DIR}/ffmpegfs.1 -) -add_custom_target(manpage DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1) -add_dependencies(${PROJECT_NAME} manpage) - -# make help-pdf -add_custom_command( - COMMENT "Building PDF help" - DEPENDS ${CMAKE_SOURCE_DIR}/ffmpegfs.1.txt - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND a2x -a revnumber=\"${PACKAGE_VERSION}\" -a revdate=\"${REVDATE}\" -f pdf --fop --xsltproc-opts=\"-param ulink.show 1\" ffmpegfs.1.txt - OUTPUT ${CMAKE_BINARY_DIR}/ffmpegfs.1.pdf -) -add_custom_target(help-pdf DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1.pdf) -#add_dependencies(${PROJECT_NAME} help-pdf) - -# make help-html -add_custom_command( - COMMENT "Building HTML help" - DEPENDS ${CMAKE_SOURCE_DIR}/ffmpegfs.1.txt - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND a2x -a revnumber=\"${PACKAGE_VERSION}\" -a revdate=\"${REVDATE}\" -f htmlhelp ffmpegfs.1.txt - COMMAND mv ffmpegfs.1.htmlhelp/index.html ffmpegfs.1.htmlhelp/manpages.html - COMMAND echo a2x -a revnumber=\"${PACKAGE_VERSION}\" -a revdate=\"${REVDATE}\" -f htmlhelp ffmpegfs.1.txt - OUTPUT ${CMAKE_BINARY_DIR}/ffmpegfs.1.htmlhelp/manpages.html -) -add_custom_target(help-html DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1.htmlhelp/manpages.html) -#add_dependencies(${PROJECT_NAME} help-html) - -# make doxy -add_custom_command( - COMMENT "Building Doxygen" - DEPENDS ${CMAKE_BINARY_DIR}/Doxyfile - DEPENDS ${CMAKE_BINARY_DIR}/doxyfile.inc - DEPENDS ${CMAKE_BINARY_DIR}/ffmpegfs.1.htmlhelp/manpages.html - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND doxygen Doxyfile - OUTPUT ${CMAKE_BINARY_DIR}/doxygen/html/index.html -) -add_custom_target(doxy DEPENDS ${CMAKE_BINARY_DIR}/doxygen/html/index.html) -#add_dependencies(${PROJECT_NAME} doxy) - -# make doxyfile-inc -add_custom_command( - COMMENT "Building doxyfile.inc" - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - DEPENDS ${CMAKE_SOURCE_DIR}/Doxyfile - COMMAND @echo "PROJECT_NAME = \"${PROJECT_DESCRIPTION}\"" > ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "OUTPUT_DIRECTORY = doxygen" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "PREDEFINED = USE_LIBBLURAY" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "PREDEFINED += USE_LIBDVD" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "PREDEFINED += USE_LIBVCD" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT = src test" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "FILE_PATTERNS = *.h *.cc" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXCLUDE = src/config.h" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXCLUDE += src/ffmpegfshelp.h" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXCLUDE += doxyfile.inc" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "HTML_EXTRA_FILES += ffmpegfs.1.htmlhelp/manpages.html" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "HTML_EXTRA_FILES += ffmpegfs.1.htmlhelp/docbook-xsl.css" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT += README.md" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT += INSTALL.md" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT += HISTORY.md" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT += FEATURES.md" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "INPUT += PROBLEMS.md" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXAMPLE_PATH += NEWS" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXAMPLE_PATH += TODO" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXAMPLE_PATH += COPYING" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXAMPLE_PATH += COPYING.DOC" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXAMPLE_PATH += COPYING.CC0" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "RECURSIVE = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "SOURCE_BROWSER = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "DISTRIBUTE_GROUP_DOC = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "REFERENCED_BY_RELATION = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "REFERENCES_RELATION = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXTRACT_STATIC = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "EXTRACT_PRIVATE = YES" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - COMMAND @echo "PROJECT_NUMBER = ${VERSION}" >> ${CMAKE_BINARY_DIR}/doxyfile.inc - OUTPUT ${CMAKE_BINARY_DIR}/doxyfile.inc -) -add_custom_target(doxyfile-inc DEPENDS ${CMAKE_BINARY_DIR}/doxyfile.inc) -add_dependencies(doxy doxyfile-inc) -add_dependencies(doxy help-html) - -# Additional headers and libraries -target_include_directories(${PROJECT_NAME} BEFORE PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/src/ ${CMAKE_CURRENT_SOURCE_DIR}/src/ /usr/include/fuse/ /usr/include/chardet/) -# Debug library -target_include_directories(${PROJECT_NAME} BEFORE PUBLIC "$ENV{HOME}/dev/builds/ffmpeg/include") -target_link_directories(${PROJECT_NAME} BEFORE PRIVATE "$ENV{HOME}/dev/builds/ffmpeg/lib") - -set(FLAGS "-Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wpedantic -Wall") - -set(CMAKE_C_FLAGS_DEBUG "-std=c99 ${FLAGS} -D_DEBUG -ggdb") -set(CMAKE_C_FLAGS_MINSIZEREL "-std=c99 ${FLAGS} -DNDEBUG -Osize") -set(CMAKE_C_FLAGS_RELWITHDEBINFO "-std=c99 ${FLAGS} -DNDEBUG -O0 -g") -set(CMAKE_C_FLAGS_RELEASE "-std=c99 ${FLAGS} -DNDEBUG -Ofast") - -set(CMAKE_CXX_FLAGS_DEBUG "-std=c++17 ${FLAGS} -ggdb") -set(CMAKE_CXX_FLAGS_MINSIZEREL "-std=c++17 ${FLAGS} -DNDEBUG -Osize") -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-std=c++17 ${FLAGS} -DNDEBUG -O0 -g") -set(CMAKE_CXX_FLAGS_RELEASE "-std=c++17 ${FLAGS} -DNDEBUG -Ofast") - -target_compile_definitions(${PROJECT_NAME} PUBLIC - -D_FILE_OFFSET_BITS=64 - -DHAVE_CONFIG_H - -D_GNU_SOURCE - -DUSE_LIBVCD=1 -) - -IF (LIBDVDREAD_FOUND) -target_compile_definitions(${PROJECT_NAME} PUBLIC - -DUSE_LIBDVD=1 -) -ENDIF (LIBDVDREAD_FOUND) -IF (LIBBLURAY_FOUND) -target_compile_definitions(${PROJECT_NAME} PUBLIC - -DUSE_LIBBLURAY=1 -) -ENDIF (LIBBLURAY_FOUND) - -target_link_libraries(${PROJECT_NAME} - pthread - fuse - avfilter - avformat - avcodec - avutil - swscale - swresample - chardet - sqlite3 - rt - dvdnav - dvdread - bluray - cue -) - -# Test suite -ENABLE_TESTING() -add_subdirectory(test) - -# cppcheck -add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/cppcheck.log" - COMMAND cppcheck --force --enable=all --inconclusive --library=posix --output-file="${CMAKE_CURRENT_BINARY_DIR}/cppcheck.log" --suppressions-list=${CMAKE_CURRENT_SOURCE_DIR}/cppcheck-suppressions.txt -I "${CMAKE_CURRENT_SOURCE_DIR}/src/" -I "${CMAKE_CURRENT_SOURCE_DIR}/src/vcd/" -DUSE_LIBBLURAY -DUSE_LIBDVD -DUSE_LIBVCD -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DUSE_LIBSWRESAMPLE -D__GNUC_ -DPACKAGE_NAME="FFmpegfs" -DFFMPEFS_VERSION="V0.0" -U__clang_version__ -UPRESCAN_FRAMES -DEXTRA_VERSION="" "${CMAKE_CURRENT_SOURCE_DIR}/src/" "${CMAKE_CURRENT_SOURCE_DIR}/src/vcd/" - WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" - COMMENT "Running cppcheck" - VERBATIM -) -add_custom_target(cppcheck DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/cppcheck.log") -#add_dependencies(${PROJECT_NAME} cppcheck) - -# Package -#foreach ( file ${SOURCES} ${HEADERS} test/fpcompare.c test/metadata.c ) -# get_filename_component( dir ${file} DIRECTORY ) -# install( FILES ${file} DESTINATION ./${dir} ) -#endforeach() -#install(DIRECTORY test/srcdir/ DESTINATION test/srcdir/) -#install(FILES configure ChangeLog DESTINATION .) - -install(TARGETS ${PROJECT_NAME} DESTINATION bin) -set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17) -install(DIRECTORY DESTINATION /var/cache/ffmpegfs/) -SET(CPACK_DEBIAN_PACKAGE_DEPENDS "asciidoc-base automake bc libavfilter-dev libavcodec-dev libavformat-dev libavutil-dev libbluray-dev libchromaprint-dev libdvdnav-dev libdvdread-dev libfuse-dev libsqlite3-dev libswresample-dev libswscale-dev libcue-dev libchardet-dev libtool docbook-xml docbook-xsl xsltproc xxd w3m") - -set(CPACK_GENERATOR "TGZ;DEB") -set(CPACK_PACKAGE_NAME ${PROJECT_NAME}) -set(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION}) -set(CPACK_PACKAGE_VENDOR ${PROJECT_VENDOR}) -set(CPACK_PACKAGE_CONTACT ${PROJECT_CONTACT}) -#set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt") -set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md") -#set(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/package") -set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-install) - -# Source Package -# https://jtanx.github.io/2019/08/22/cmake-dist-customisation/ -# https://cliutils.gitlab.io/modern-cmake/chapters/install/packaging.html -# https://cmake.org/cmake/help/git-stage/module/CPack.html -# https://cmake.org/cmake/help/book/mastering-cmake/chapter/Packaging%20With%20CPack.html - -add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/configure" - COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/autogen.sh" - WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" - DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/autogen.sh" - COMMENT "Making configure" - VERBATIM -) -add_custom_target(configure DEPENDS configure) -#add_dependencies(${PROJECT_NAME} configure) - -add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ChangeLog" - COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/changelog.sh" - WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" - DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/changelog.sh" - COMMENT "Creating ChangeLog file from git log" - VERBATIM -) -add_custom_target(changelog DEPENDS ChangeLog) -#add_dependencies(${PROJECT_NAME} changelog) - -add_custom_target(dist-gzip - COMMAND "${CMAKE_COMMAND}" - --build "${CMAKE_BINARY_DIR}" - --target package_source - DEPENDS configure changelog - VERBATIM - USES_TERMINAL - ) -set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}) -#CPACK_SOURCE_STRIP_FILES List of files in the source tree that will be stripped. Starting with CMake 2.6.0, CPACK_SOURCE_STRIP_FILES will be a boolean variable which enables stripping of all files (a list of files evaluates to TRUE in CMake, so this change is compatible). -set(CPACK_SOURCE_INSTALLED_DIRECTORIES "${CMAKE_SOURCE_DIR};/") -set(CPACK_SOURCE_IGNORE_FILES - ${CMAKE_SOURCE_DIR}/autogen.sh - ${CMAKE_SOURCE_DIR}/autom4te.cache - ${CMAKE_SOURCE_DIR}/bin - ${CMAKE_SOURCE_DIR}/.*build.* - ${CMAKE_SOURCE_DIR}/.*\.cache$ - ${CMAKE_SOURCE_DIR}/changelog.sh - ${CMAKE_SOURCE_DIR}/check - ${CMAKE_SOURCE_DIR}/cmake - ${CMAKE_SOURCE_DIR}/config/ - ${CMAKE_SOURCE_DIR}_config.yml - ${CMAKE_SOURCE_DIR}/COPYING.CC0 - ${CMAKE_SOURCE_DIR}/_CPack_Packages - ${CMAKE_SOURCE_DIR}/cppcheck.cppcheck - ${CMAKE_SOURCE_DIR}/cppcheck-suppressions.txt - ${CMAKE_SOURCE_DIR}/dashtest - ${CMAKE_SOURCE_DIR}/deb HOWTO.txt - ${CMAKE_SOURCE_DIR}/dev$ - ${CMAKE_SOURCE_DIR}/dev_dbg$ - ${CMAKE_SOURCE_DIR}/dist - ${CMAKE_SOURCE_DIR}/DOC - ${CMAKE_SOURCE_DIR}/docker - ${CMAKE_SOURCE_DIR}/Doxyfile - ${CMAKE_SOURCE_DIR}/doxygen - ${CMAKE_SOURCE_DIR}/\\\\.DS_Store - ${CMAKE_SOURCE_DIR}/ffmpegfs$ - ${CMAKE_SOURCE_DIR}/ffmpegfs.1.htmlhelp - ${CMAKE_SOURCE_DIR}/ffmpegfs.1.text - ${CMAKE_SOURCE_DIR}/ffmpegfs.cbp - ${CMAKE_SOURCE_DIR}/ffmpegfs.depend - ${CMAKE_SOURCE_DIR}/ffmpegfshelp.h - ${CMAKE_SOURCE_DIR}/fpcompare$ - ${CMAKE_SOURCE_DIR}/.git - ${CMAKE_SOURCE_DIR}/.*\.gz - ${CMAKE_SOURCE_DIR}/.*\.deb - ${CMAKE_SOURCE_DIR}/jenkins - ${CMAKE_SOURCE_DIR}/lurch - ${CMAKE_SOURCE_DIR}/.mailmap - ${CMAKE_SOURCE_DIR}Makefile.in - ${CMAKE_SOURCE_DIR}/metadata$ - ${CMAKE_SOURCE_DIR}/mkconf - ${CMAKE_SOURCE_DIR}/mkdoxy - ${CMAKE_SOURCE_DIR}/mkjenkins - ${CMAKE_SOURCE_DIR}/obj - ${CMAKE_SOURCE_DIR}/rep - ${CMAKE_SOURCE_DIR}/scripts - ${CMAKE_SOURCE_DIR}/sql - ${CMAKE_SOURCE_DIR}/src/config.h - ${CMAKE_SOURCE_DIR}/test/addtest$ - ${CMAKE_SOURCE_DIR}/test/mkvid - ${CMAKE_SOURCE_DIR}/test/srcdir.org - ${CMAKE_SOURCE_DIR}/upd - .cmake - CMakeCache.txt - CMakeFiles - CMakeLists.txt - .deps - Makefile$ - /Testing - ) - -#message("CPACK_SOURCE_IGNORE_FILES = ${CPACK_SOURCE_IGNORE_FILES}") - -#my_install_script.cmake.in: - -# if(CPACK_SOURCE_INSTALLED_DIRECTORIES) -# file( -# INSTALL "@CMAKE_BINARY_DIR@/extras" -# DESTINATION "${CMAKE_CURRENT_BINARY_DIR}" -# ) -# endif() - - -#configure_file(my_install_script.cmake.in my_install_script.cmake) -#... -#set(CPACK_INSTALL_SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/my_install_script.cmake") - -include(CPack) - -# make uninstall -# uninstall target -if(NOT TARGET uninstall) - configure_file( - "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" - IMMEDIATE @ONLY) - - add_custom_target(uninstall - COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) -endif() diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in deleted file mode 100644 index 12148968..00000000 --- a/cmake_uninstall.cmake.in +++ /dev/null @@ -1,22 +0,0 @@ -if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") - message(FATAL_ERROR "Cannot find install manifest: @CMAKE_BINARY_DIR@/install_manifest.txt") -endif() - -file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) -string(REGEX REPLACE "\n" ";" files "${files}") -foreach(file ${files}) - message(STATUS "Uninstalling $ENV{DESTDIR}${file}") - if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") - exec_program( - "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" - OUTPUT_VARIABLE rm_out - RETURN_VALUE rm_retval - ) - if(NOT "${rm_retval}" STREQUAL 0) - message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") - endif() - else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") - message(STATUS "File $ENV{DESTDIR}${file} does not exist.") - endif() -endforeach() -