Remove support for building with system libraries

This commit is contained in:
Martin Natano
2022-05-30 23:58:19 +02:00
parent 5f08636ad0
commit 327278436d
26 changed files with 1389 additions and 1969 deletions
+3 -48
View File
@@ -4,7 +4,7 @@ name: Continuous integration
jobs:
ubuntu-build-bundled:
name: "Ubuntu: Build with bundled libraries"
name: Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -32,53 +32,8 @@ jobs:
- name: Build
run: cmake --build build
ubuntu-build-system:
name: "Ubuntu: Build with system libraries"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y
ffmpeg
libasound2-dev
libgl-dev
libglew-dev
libgtk-3-dev
libjack-dev
libjsoncpp-dev
libmad0-dev
libpng-dev
libpulse-dev
libtomcrypt-dev
libtommath-dev
libudev-dev
libva-dev
libvorbis-dev
libxinerama-dev
libx11-dev
libxrandr-dev
libxtst-dev
ninja-build
- name: Configure
run: cmake -G Ninja -B build
-DWITH_SYSTEM_FFMPEG=ON
-DWITH_SYSTEM_GLEW=ON
-DWITH_SYSTEM_JPEG=ON
-DWITH_SYSTEM_JSONCPP=ON
-DWITH_SYSTEM_MAD=ON
-DWITH_SYSTEM_OGG=ON
-DWITH_SYSTEM_PCRE=ON
-DWITH_SYSTEM_PNG=ON
-DWITH_SYSTEM_TOMCRYPT=ON
-DWITH_SYSTEM_TOMMATH=ON
-DWITH_SYSTEM_ZLIB=ON
- name: Build
run: cmake --build build
macos-build-bundled:
name: "macOS: Build with bundled libraries"
name: macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
@@ -93,7 +48,7 @@ jobs:
run: cmake --build build
windows-build-bundled:
name: "Windows: Build with bundled libraries"
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
-27
View File
@@ -27,34 +27,11 @@ option(
"Build without the ROLC assembly instructions for tomcrypt."
OFF)
# Turn this option off to disable using WAV files with the game. Note that it is
# recommended to keep this on.
option(WITH_WAV "Build with WAV Support." ON)
# Turn this option off to disable using MP3 files with the game.
option(WITH_MP3 "Build with MP3 Support." ON)
# Turn this option off to disable using OGG files with the game.
option(WITH_OGG "Build with OGG/Vorbis Support." ON)
# Turn this option on to log every segment added or removed.
option(WITH_LOGGING_TIMING_DATA
"Build with logging all Add and Erase Segment calls." OFF)
option(WITH_SYSTEM_PNG "Build with system PNG library (may not work on 1.6+)"
OFF)
option(WITH_SYSTEM_OGG "Build with system OGG libraries" OFF)
option(WITH_SYSTEM_GLEW "Build with system GLEW library" OFF)
option(WITH_SYSTEM_TOMCRYPT "Build with system libtomcrypt" OFF)
option(WITH_SYSTEM_MAD "Build with system libmad" OFF)
option(WITH_SYSTEM_JSONCPP "Build with system jsoncpp" OFF)
option(WITH_SYSTEM_JPEG "Build with system jpeglib" OFF)
option(WITH_SYSTEM_PCRE "Build with system PCRE" OFF)
option(WITH_SYSTEM_ZLIB "Build against system zlib" OFF)
if(NOT MSVC)
# Turn this option off to disable using FFMEPG.
option(WITH_FFMPEG "Build with FFMPEG." ON)
# Change this number to utilize a different number of jobs for building
# FFMPEG.
option(WITH_FFMPEG_JOBS "Build FFMPEG with this many jobs." 2)
@@ -71,10 +48,6 @@ endif()
if(WIN32)
option(WITH_MINIMAID "Build with Minimaid Lights Support." OFF)
elseif(LINUX)
# Builder beware: later versions of ffmpeg may break!
option(WITH_SYSTEM_FFMPEG
"Build with the system's FFMPEG, disabled build with bundled's FFMPEG"
OFF)
option(WITH_MINIMAID "Build with Minimaid Lights Support." OFF)
option(WITH_TTY "Build with Linux TTY Input Support." OFF)
option(WITH_PROFILING "Build with Profiling Support." OFF)
-141
View File
@@ -1,141 +0,0 @@
# This was copied from the robotology/ycm project.
# .rst: FindFFMPEG
# ----------
#
# Find the native FFMPEG includes and library
#
# This module defines::
#
# FFMPEG_INCLUDE_DIR, where to find avcodec.h, avformat.h ... FFMPEG_LIBRARIES,
# the libraries to link against to use FFMPEG. FFMPEG_FOUND, If false, do not
# try to use FFMPEG.
#
# also defined, but not for general use are::
#
# FFMPEG_avformat_LIBRARY, where to find the FFMPEG avformat library.
# FFMPEG_avcodec_LIBRARY, where to find the FFMPEG avcodec library.
#
# This is useful to do it this way so that we can always add more libraries if
# needed to ``FFMPEG_LIBRARIES`` if ffmpeg ever changes...
# =============================================================================
# Copyright: 1993-2008 Ken Martin, Will Schroeder, Bill Lorensen
#
# Distributed under the OSI-approved BSD License (the "License"); see
# accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# License for more information.
# =============================================================================
# (To distribute this file outside of YCM, substitute the full License text for
# the above reference.)
# Originally from VTK project
find_path(FFMPEG_INCLUDE_DIR
libavformat/avformat.h
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/ffmpeg
$ENV{FFMPEG_DIR}/include/ffmpeg
/usr/local/include/ffmpeg
/usr/include/ffmpeg
/usr/include/
/usr/local/include/)
find_library(FFMPEG_avformat_LIBRARY
avformat
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
$ENV{FFMPEG_DIR}/libavformat
/usr/local/lib
/usr/lib)
find_library(FFMPEG_avcodec_LIBRARY
avcodec
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
$ENV{FFMPEG_DIR}/libavcodec
/usr/local/lib
/usr/lib)
find_library(FFMPEG_avutil_LIBRARY
avutil
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
$ENV{FFMPEG_DIR}/libavutil
/usr/local/lib
/usr/lib)
if(NOT DISABLE_SWSCALE)
find_library(FFMPEG_swscale_LIBRARY
swscale
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
$ENV{FFMPEG_DIR}/libswscale
/usr/local/lib
/usr/lib)
endif(NOT DISABLE_SWSCALE)
find_library(FFMPEG_avdevice_LIBRARY
avdevice
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
$ENV{FFMPEG_DIR}/libavdevice
/usr/local/lib
/usr/lib)
find_library(_FFMPEG_z_LIBRARY_
z
$ENV{FFMPEG_DIR}
$ENV{FFMPEG_DIR}/lib
/usr/local/lib
/usr/lib)
if(FFMPEG_INCLUDE_DIR)
if(FFMPEG_avformat_LIBRARY)
if(FFMPEG_avcodec_LIBRARY)
if(FFMPEG_avutil_LIBRARY)
set(FFMPEG_FOUND "YES")
set(FFMPEG_LIBRARIES
${FFMPEG_avformat_LIBRARY}
${FFMPEG_avcodec_LIBRARY}
${FFMPEG_avutil_LIBRARY})
if(FFMPEG_swscale_LIBRARY)
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${FFMPEG_swscale_LIBRARY})
endif()
if(FFMPEG_avdevice_LIBRARY)
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${FFMPEG_avdevice_LIBRARY})
endif()
if(_FFMPEG_z_LIBRARY_)
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${_FFMPEG_z_LIBRARY_})
endif()
endif()
endif()
endif()
endif()
mark_as_advanced(FFMPEG_INCLUDE_DIR
FFMPEG_INCLUDE_DIR1
FFMPEG_INCLUDE_DIR2
FFMPEG_INCLUDE_DIR3
FFMPEG_INCLUDE_DIR4
FFMPEG_INCLUDE_DIR5
FFMPEG_avformat_LIBRARY
FFMPEG_avcodec_LIBRARY
FFMPEG_avutil_LIBRARY
FFMPEG_swscale_LIBRARY
FFMPEG_avdevice_LIBRARY
_FFMPEG_z_LIBRARY_)
# Set package properties if FeatureSummary was included
if(COMMAND set_package_properties)
set_package_properties(
FFMPEG
PROPERTIES
DESCRIPTION
"A complete, cross-platform solution to record, convert and stream audio and video"
)
set_package_properties(FFMPEG PROPERTIES URL "http://ffmpeg.org/")
endif()
-11
View File
@@ -1,11 +0,0 @@
find_path(LIBMAD_INCLUDE_DIR mad.h)
find_library(LIBMAD_LIBRARY mad)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LIBMAD
DEFAULT_MSG
LIBMAD_LIBRARY
LIBMAD_INCLUDE_DIR)
mark_as_advanced(LIBMAD_LIBRARY LIBMAD_INCLUDE_DIR)
-15
View File
@@ -1,15 +0,0 @@
# Borrowed from code.openhub.net
# Base Io build system Written by Jeremy Tregunna <jeremy.tregunna@me.com>
#
# Find libogg.
find_path(OGG_INCLUDE_DIR ogg/ogg.h)
set(OGG_NAMES ${OGG_NAMES} ogg libogg)
find_library(OGG_LIBRARY NAMES ${OGG_NAMES} PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OGG DEFAULT_MSG OGG_LIBRARY OGG_INCLUDE_DIR)
mark_as_advanced(OGG_LIBRARY OGG_INCLUDE_DIR)
-17
View File
@@ -1,17 +0,0 @@
# Find pcre using standard tools.
# The following will be set:
# PCRE_INCLUDE_DIR PCRE_LIBRARY PCRE_FOUND
find_path(PCRE_INCLUDE_DIR NAMES pcre.h)
find_library(PCRE_LIBRARY NAMES pcre)
# Properly pass QUIETLY and REQUIRED.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PCRE
DEFAULT_MSG
PCRE_INCLUDE_DIR
PCRE_LIBRARY)
mark_as_advanced(PCRE_INCLUDE_DIR PCRE_LIBRARY)
-18
View File
@@ -1,18 +0,0 @@
# Borrowed from code.openhub.net
# Base Io build system Written by Jeremy Tregunna <jeremy.tregunna@me.com>
#
# Find libvorbis.
find_path(VORBIS_INCLUDE_DIR vorbis/codec.h)
set(VORBIS_NAMES ${VORBIS_NAMES} vorbis libvorbis)
find_library(VORBIS_LIBRARY NAMES ${VORBIS_NAMES} PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(VORBIS
DEFAULT_MSG
VORBIS_LIBRARY
VORBIS_INCLUDE_DIR)
mark_as_advanced(VORBIS_LIBRARY VORBIS_INCLUDE_DIR)
-16
View File
@@ -1,16 +0,0 @@
# Inspired by Jeremy Tregunna's cmake work <jeremy.tregunna@me.com>
#
# Find libvorbisfile.
find_path(VORBISFILE_INCLUDE_DIR vorbis/vorbisfile.h)
set(VORBISFILE_NAMES ${VORBISFILE_NAMES} vorbisfile libvorbisfile)
find_library(VORBISFILE_LIBRARY NAMES ${VORBISFILE_NAMES} PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(VORBISFILE
DEFAULT_MSG
VORBISFILE_LIBRARY
VORBISFILE_INCLUDE_DIR)
mark_as_advanced(VORBISFILE_LIBRARY VORBISFILE_INCLUDE_DIR)
+10 -79
View File
@@ -196,46 +196,6 @@ endif()
# Dependencies go here.
include(ExternalProject)
if(WITH_WAV)
# TODO: Identify which headers to check for ensuring this will always work.
set(HAS_WAV TRUE)
endif()
if(WITH_MP3)
if(WIN32 OR MACOSX)
set(HAS_MP3 TRUE)
else()
find_package(Mad)
if(NOT LIBMAD_FOUND)
message(
FATAL_ERROR
"Libmad library not found. If you wish to skip mp3 support, set WITH_MP3 to OFF when configuring."
)
else()
set(HAS_MP3 TRUE)
endif()
endif()
endif(WITH_MP3)
if(WITH_OGG)
if(WIN32 OR MACOSX)
set(HAS_OGG TRUE)
else()
find_package(Ogg)
find_package(Vorbis)
find_package(VorbisFile)
if(NOT (OGG_FOUND AND VORBIS_FOUND AND VORBISFILE_FOUND))
message(
FATAL_ERROR
"Not all vorbis libraries were found. If you wish to skip vorbis support, set WITH_OGG to OFF when configuring."
)
else()
set(HAS_OGG TRUE)
endif()
endif()
endif()
find_package(nasm)
find_package(yasm)
@@ -259,9 +219,8 @@ else()
endif()
if(WIN32)
if(MINGW AND WITH_FFMPEG AND NOT WITH_SYSTEM_FFMPEG)
if(MINGW)
include("${SM_CMAKE_DIR}/SetupFfmpeg.cmake")
set(HAS_FFMPEG TRUE)
else()
# FFMPEG...it can be evil.
find_library(LIB_SWSCALE
@@ -300,10 +259,7 @@ if(WIN32)
endforeach()
endif()
elseif(MACOSX)
if(WITH_FFMPEG AND NOT WITH_SYSTEM_FFMPEG)
include("${SM_CMAKE_DIR}/SetupFfmpeg.cmake")
set(HAS_FFMPEG TRUE)
endif()
include("${SM_CMAKE_DIR}/SetupFfmpeg.cmake")
set(WITH_CRASH_HANDLER TRUE)
set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)
@@ -340,11 +296,9 @@ elseif(MACOSX)
MAC_FRAME_OPENGL
MAC_FRAME_SYSTEM)
if(HAS_FFMPEG)
find_library(MAC_FRAME_COREMEDIA CoreMedia ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
find_library(MAC_FRAME_COREVIDEO CoreVideo ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
find_library(MAC_FRAME_VIDEOTOOLBOX VideoToolbox ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
endif()
find_library(MAC_FRAME_COREMEDIA CoreMedia ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
find_library(MAC_FRAME_COREVIDEO CoreVideo ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
find_library(MAC_FRAME_VIDEOTOOLBOX VideoToolbox ${CMAKE_SYSTEM_FRAMEWORK_PATH} REQUIRED)
elseif(LINUX)
if(WITH_GTK3)
find_package("GTK3" 2.0)
@@ -424,37 +378,14 @@ elseif(LINUX)
)
endif()
if(WITH_FFMPEG AND NOT YASM_FOUND AND NOT NASM_FOUND)
message(
if(NOT YASM_FOUND AND NOT NASM_FOUND)
message(FATAL_ERROR
"Neither NASM nor YASM were found. Please install at least one of them if you wish for ffmpeg support."
)
set(WITH_FFMPEG OFF)
)
endif()
if(WITH_FFMPEG)
if(WITH_SYSTEM_FFMPEG)
find_package("FFMPEG")
if(NOT FFMPEG_FOUND)
message(
FATAL_ERROR
"System ffmpeg not found! Either install the libraries or remove the argument, then try again."
)
else()
message(
STATUS
"-- Warning! Your version of ffmpeg may be too high! If you want to use the system ffmpeg, clear your cmake cache and do not include the system ffmpeg argument."
)
set(HAS_FFMPEG TRUE)
endif()
else()
find_package("Va")
include("${SM_CMAKE_DIR}/SetupFfmpeg.cmake")
set(HAS_FFMPEG TRUE)
endif()
else()
set(HAS_FFMPEG FALSE)
endif()
find_package("Va")
include("${SM_CMAKE_DIR}/SetupFfmpeg.cmake")
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
+3 -11
View File
@@ -4,17 +4,9 @@ include(CMakeProject-json.cmake)
include(CMakeProject-mad.cmake)
include(CMakeProject-zlib.cmake)
include(CMakeProject-jpeg.cmake)
if(WITH_OGG)
if(WITH_SYSTEM_OGG)
find_package(Ogg REQUIRED)
find_package(Vorbis REQUIRED)
find_package(VorbisFile REQUIRED)
else()
include(CMakeProject-ogg.cmake)
include(CMakeProject-vorbis.cmake)
include(CMakeProject-vorbisfile.cmake)
endif()
endif()
include(CMakeProject-ogg.cmake)
include(CMakeProject-vorbis.cmake)
include(CMakeProject-vorbisfile.cmake)
include(CMakeProject-pcre.cmake)
include(CMakeProject-tomcrypt.cmake)
include(CMakeProject-tommath.cmake)
+13 -21
View File
@@ -1,28 +1,20 @@
if(WITH_SYSTEM_GLEW)
find_package(GLEW REQUIRED)
set(GLEW_INCLUDE_DIRS ${GLEW_INCLUDE_DIRS} PARENT_SCOPE)
set(GLEW_LIBRARIES ${GLEW_LIBRARIES} PARENT_SCOPE)
set(GLEW_LIBRARY_RELEASE ${GLEW_LIBRARY_RELEASE} PARENT_SCOPE)
else()
set(GLEW_SRC "glew/src/glew.c")
set(GLEW_SRC "glew/src/glew.c")
set(GLEW_HPP "glew/include/GL/eglew.h"
"glew/include/GL/glew.h"
"glew/include/GL/glxew.h"
"glew/include/GL/wglew.h")
set(GLEW_HPP "glew/include/GL/eglew.h"
"glew/include/GL/glew.h"
"glew/include/GL/glxew.h"
"glew/include/GL/wglew.h")
source_group("" FILES ${GLEW_SRC} ${GLEW_HPP})
source_group("" FILES ${GLEW_SRC} ${GLEW_HPP})
add_library("glew" STATIC ${GLEW_SRC} ${GLEW_HPP})
add_library("glew" STATIC ${GLEW_SRC} ${GLEW_HPP})
set_property(TARGET "glew" PROPERTY FOLDER "External Libraries")
set_property(TARGET "glew" PROPERTY FOLDER "External Libraries")
target_compile_definitions("glew" PRIVATE GLEW_STATIC)
target_compile_definitions("glew" PRIVATE GLEW_STATIC)
if(MSVC)
target_compile_definitions("glew" PRIVATE _MBCS)
endif(MSVC)
if(MSVC)
target_compile_definitions("glew" PRIVATE _MBCS)
endif(MSVC)
target_include_directories("glew" PUBLIC "glew/include")
endif()
target_include_directories("glew" PUBLIC "glew/include")
+84 -89
View File
@@ -1,97 +1,92 @@
if(WITH_SYSTEM_JPEG)
find_package(JPEG REQUIRED)
set(JPEG_LIBRARIES ${JPEG_LIBRARIES} PARENT_SCOPE)
else()
configure_file("config.jpeg.in.h" "libjpeg/jconfig.h")
configure_file("config.jpeg.in.h" "libjpeg/jconfig.h")
set(JPEG_SRC "libjpeg/cjpegalt.c"
"libjpeg/djpegalt.c"
"libjpeg/jaricom.c"
"libjpeg/jcapimin.c"
"libjpeg/jcapistd.c"
"libjpeg/jcarith.c"
"libjpeg/jccoefct.c"
"libjpeg/jccolor.c"
"libjpeg/jcdctmgr.c"
"libjpeg/jchuff.c"
"libjpeg/jcinit.c"
"libjpeg/jcmainct.c"
"libjpeg/jcmarker.c"
"libjpeg/jcmaster.c"
"libjpeg/jcomapi.c"
"libjpeg/jcparam.c"
"libjpeg/jcprepct.c"
"libjpeg/jcsample.c"
"libjpeg/jctrans.c"
"libjpeg/jdapimin.c"
"libjpeg/jdapistd.c"
"libjpeg/jdarith.c"
"libjpeg/jdatadst.c"
"libjpeg/jdcoefct.c"
"libjpeg/jdcolor.c"
"libjpeg/jddctmgr.c"
"libjpeg/jdhuff.c"
"libjpeg/jdinput.c"
"libjpeg/jdmainct.c"
"libjpeg/jdmarker.c"
"libjpeg/jdmaster.c"
"libjpeg/jdmerge.c"
"libjpeg/jdpostct.c"
"libjpeg/jdsample.c"
"libjpeg/jdtrans.c"
"libjpeg/jerror.c"
"libjpeg/jfdctflt.c"
"libjpeg/jfdctfst.c"
"libjpeg/jfdctint.c"
"libjpeg/jidctflt.c"
"libjpeg/jidctfst.c"
"libjpeg/jidctint.c"
"libjpeg/jmemmgr.c"
"libjpeg/jmemnobs.c"
"libjpeg/jquant1.c"
"libjpeg/jquant2.c"
"libjpeg/jutils.c"
"libjpeg/rdbmp.c"
"libjpeg/rdcolmap.c"
"libjpeg/rdgif.c"
"libjpeg/rdjpgcom.c"
"libjpeg/rdppm.c"
"libjpeg/rdrle.c"
"libjpeg/rdswitch.c"
"libjpeg/rdtarga.c"
"libjpeg/transupp.c"
"libjpeg/wrbmp.c"
"libjpeg/wrgif.c"
"libjpeg/wrjpgcom.c"
"libjpeg/wrppm.c"
"libjpeg/wrrle.c"
"libjpeg/wrtarga.c")
set(JPEG_SRC "libjpeg/cjpegalt.c"
"libjpeg/djpegalt.c"
"libjpeg/jaricom.c"
"libjpeg/jcapimin.c"
"libjpeg/jcapistd.c"
"libjpeg/jcarith.c"
"libjpeg/jccoefct.c"
"libjpeg/jccolor.c"
"libjpeg/jcdctmgr.c"
"libjpeg/jchuff.c"
"libjpeg/jcinit.c"
"libjpeg/jcmainct.c"
"libjpeg/jcmarker.c"
"libjpeg/jcmaster.c"
"libjpeg/jcomapi.c"
"libjpeg/jcparam.c"
"libjpeg/jcprepct.c"
"libjpeg/jcsample.c"
"libjpeg/jctrans.c"
"libjpeg/jdapimin.c"
"libjpeg/jdapistd.c"
"libjpeg/jdarith.c"
"libjpeg/jdatadst.c"
"libjpeg/jdcoefct.c"
"libjpeg/jdcolor.c"
"libjpeg/jddctmgr.c"
"libjpeg/jdhuff.c"
"libjpeg/jdinput.c"
"libjpeg/jdmainct.c"
"libjpeg/jdmarker.c"
"libjpeg/jdmaster.c"
"libjpeg/jdmerge.c"
"libjpeg/jdpostct.c"
"libjpeg/jdsample.c"
"libjpeg/jdtrans.c"
"libjpeg/jerror.c"
"libjpeg/jfdctflt.c"
"libjpeg/jfdctfst.c"
"libjpeg/jfdctint.c"
"libjpeg/jidctflt.c"
"libjpeg/jidctfst.c"
"libjpeg/jidctint.c"
"libjpeg/jmemmgr.c"
"libjpeg/jmemnobs.c"
"libjpeg/jquant1.c"
"libjpeg/jquant2.c"
"libjpeg/jutils.c"
"libjpeg/rdbmp.c"
"libjpeg/rdcolmap.c"
"libjpeg/rdgif.c"
"libjpeg/rdjpgcom.c"
"libjpeg/rdppm.c"
"libjpeg/rdrle.c"
"libjpeg/rdswitch.c"
"libjpeg/rdtarga.c"
"libjpeg/transupp.c"
"libjpeg/wrbmp.c"
"libjpeg/wrgif.c"
"libjpeg/wrjpgcom.c"
"libjpeg/wrppm.c"
"libjpeg/wrrle.c"
"libjpeg/wrtarga.c")
set(JPEG_HPP "libjpeg/jconfig.h"
"libjpeg/jdct.h"
"libjpeg/jerror.h"
"libjpeg/jinclude.h"
"libjpeg/jmemsys.h"
"libjpeg/jmorecfg.h"
"libjpeg/jpegint.h"
"libjpeg/jpeglib.h"
"libjpeg/jversion.h"
"libjpeg/transupp.h")
set(JPEG_HPP "libjpeg/jconfig.h"
"libjpeg/jdct.h"
"libjpeg/jerror.h"
"libjpeg/jinclude.h"
"libjpeg/jmemsys.h"
"libjpeg/jmorecfg.h"
"libjpeg/jpegint.h"
"libjpeg/jpeglib.h"
"libjpeg/jversion.h"
"libjpeg/transupp.h")
source_group("" FILES ${JPEG_SRC} ${JPEG_HPP})
source_group("" FILES ${JPEG_SRC} ${JPEG_HPP})
add_library("jpeg" STATIC ${JPEG_SRC} ${JPEG_HPP})
add_library("jpeg" STATIC ${JPEG_SRC} ${JPEG_HPP})
disable_project_warnings("jpeg")
disable_project_warnings("jpeg")
set_property(TARGET "jpeg" PROPERTY FOLDER "External Libraries")
set_property(TARGET "jpeg" PROPERTY FOLDER "External Libraries")
if(MSVC)
target_compile_definitions("jpeg" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif(MSVC)
if(MSVC)
target_compile_definitions("jpeg" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif(MSVC)
target_include_directories("jpeg" PUBLIC
"libjpeg"
"${CMAKE_CURRENT_BINARY_DIR}/libjpeg"
)
endif()
target_include_directories("jpeg" PUBLIC
"libjpeg"
"${CMAKE_CURRENT_BINARY_DIR}/libjpeg"
)
+13 -18
View File
@@ -1,26 +1,21 @@
if(WITH_SYSTEM_JSONCPP)
find_package(PkgConfig REQUIRED)
pkg_check_modules(JSONCPP REQUIRED jsoncpp)
else()
set(JSON_SRC "jsoncpp/jsoncpp.cpp")
set(JSON_SRC "jsoncpp/jsoncpp.cpp")
set(JSON_HPP "jsoncpp/json/json-forwards.h"
"jsoncpp/json/json.h")
set(JSON_HPP "jsoncpp/json/json-forwards.h"
"jsoncpp/json/json.h")
source_group("" FILES ${JSON_SRC} ${JSON_HPP})
source_group("" FILES ${JSON_SRC} ${JSON_HPP})
add_library("jsoncpp" STATIC ${JSON_SRC} ${JSON_HPP})
add_library("jsoncpp" STATIC ${JSON_SRC} ${JSON_HPP})
set_property(TARGET "jsoncpp" PROPERTY FOLDER "External Libraries")
set_property(TARGET "jsoncpp" PROPERTY CXX_STANDARD 11)
set_property(TARGET "jsoncpp" PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET "jsoncpp" PROPERTY CXX_EXTENSIONS OFF)
set_property(TARGET "jsoncpp" PROPERTY FOLDER "External Libraries")
set_property(TARGET "jsoncpp" PROPERTY CXX_STANDARD 11)
set_property(TARGET "jsoncpp" PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET "jsoncpp" PROPERTY CXX_EXTENSIONS OFF)
disable_project_warnings("jsoncpp")
disable_project_warnings("jsoncpp")
target_include_directories("jsoncpp" PUBLIC "jsoncpp")
target_include_directories("jsoncpp" PUBLIC "jsoncpp")
if(MSVC)
target_compile_definitions("jsoncpp" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
if(MSVC)
target_compile_definitions("jsoncpp" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
+67 -71
View File
@@ -1,79 +1,75 @@
if(WITH_SYSTEM_MAD)
find_package(Mad REQUIRED)
else()
set(MAD_SRC "libmad/bit.c"
"libmad/decoder.c"
"libmad/fixed.c"
"libmad/frame.c"
"libmad/huffman.c"
"libmad/layer12.c"
"libmad/layer3.c"
"libmad/stream.c"
"libmad/synth.c"
"libmad/timer.c"
"libmad/version.c")
set(MAD_SRC "libmad/bit.c"
"libmad/decoder.c"
"libmad/fixed.c"
"libmad/frame.c"
"libmad/huffman.c"
"libmad/layer12.c"
"libmad/layer3.c"
"libmad/stream.c"
"libmad/synth.c"
"libmad/timer.c"
"libmad/version.c")
set(MAD_HPP "libmad/bit.h"
"libmad/config.h"
"libmad/decoder.h"
"libmad/fixed.h"
"libmad/frame.h"
"libmad/global.h"
"libmad/huffman.h"
"libmad/layer12.h"
"libmad/layer3.h"
"libmad/mad.h"
"libmad/stream.h"
"libmad/synth.h"
"libmad/timer.h"
"libmad/version.h")
set(MAD_HPP "libmad/bit.h"
"libmad/config.h"
"libmad/decoder.h"
"libmad/fixed.h"
"libmad/frame.h"
"libmad/global.h"
"libmad/huffman.h"
"libmad/layer12.h"
"libmad/layer3.h"
"libmad/mad.h"
"libmad/stream.h"
"libmad/synth.h"
"libmad/timer.h"
"libmad/version.h")
set(MAD_DAT "libmad/D.dat"
"libmad/imdct_s.dat"
"libmad/qc_table.dat"
"libmad/rq_table.dat"
"libmad/sf_table.dat")
set(MAD_DAT "libmad/D.dat"
"libmad/imdct_s.dat"
"libmad/qc_table.dat"
"libmad/rq_table.dat"
"libmad/sf_table.dat")
source_group("Source Files" FILES ${MAD_SRC})
source_group("Header Files" FILES ${MAD_HPP})
source_group("Data Files" FILES ${MAD_DAT})
source_group("Source Files" FILES ${MAD_SRC})
source_group("Header Files" FILES ${MAD_HPP})
source_group("Data Files" FILES ${MAD_DAT})
add_library("mad" STATIC ${MAD_SRC} ${MAD_HPP} ${MAD_DAT})
add_library("mad" STATIC ${MAD_SRC} ${MAD_HPP} ${MAD_DAT})
set_property(TARGET "mad" PROPERTY FOLDER "External Libraries")
set_property(TARGET "mad" PROPERTY FOLDER "External Libraries")
disable_project_warnings("mad")
disable_project_warnings("mad")
if(ENDIAN_BIG)
set(WORDS_BIGENDIAN 1)
endif()
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Debug>:DEBUG>)
target_compile_definitions("mad" PRIVATE HAVE_CONFIG_H)
if(MSVC)
target_compile_definitions("mad" PRIVATE _CRT_SECURE_NO_WARNINGS)
# TODO: Remove the need for this check since it's tied to 32-bit builds from
# first glance.
target_compile_definitions("mad" PRIVATE ASO_ZEROCHECK)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Debug>:FPM_DEFAULT>)
if(SM_WIN32_ARCH MATCHES "x64")
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Release>:FPM_64BIT>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:MinSizeRel>:FPM_64BIT>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:RelWithDebInfo>:FPM_64BIT>)
else()
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Release>:FPM_INTEL>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:MinSizeRel>:FPM_INTEL>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:RelWithDebInfo>:FPM_INTEL>)
endif()
# TODO: Provide a proper define for inline.
target_compile_definitions("mad" PRIVATE inline=__inline)
elseif(APPLE OR UNIX)
target_compile_definitions("mad" PRIVATE FPM_64BIT=1)
endif(MSVC)
target_include_directories("mad" PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/libmad")
target_include_directories("mad" PUBLIC "libmad")
configure_file("config.mad.in.h" "libmad/config.h")
if(ENDIAN_BIG)
set(WORDS_BIGENDIAN 1)
endif()
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Debug>:DEBUG>)
target_compile_definitions("mad" PRIVATE HAVE_CONFIG_H)
if(MSVC)
target_compile_definitions("mad" PRIVATE _CRT_SECURE_NO_WARNINGS)
# TODO: Remove the need for this check since it's tied to 32-bit builds from
# first glance.
target_compile_definitions("mad" PRIVATE ASO_ZEROCHECK)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Debug>:FPM_DEFAULT>)
if(SM_WIN32_ARCH MATCHES "x64")
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Release>:FPM_64BIT>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:MinSizeRel>:FPM_64BIT>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:RelWithDebInfo>:FPM_64BIT>)
else()
target_compile_definitions("mad" PRIVATE $<$<CONFIG:Release>:FPM_INTEL>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:MinSizeRel>:FPM_INTEL>)
target_compile_definitions("mad" PRIVATE $<$<CONFIG:RelWithDebInfo>:FPM_INTEL>)
endif()
# TODO: Provide a proper define for inline.
target_compile_definitions("mad" PRIVATE inline=__inline)
elseif(APPLE OR UNIX)
target_compile_definitions("mad" PRIVATE FPM_64BIT=1)
endif(MSVC)
target_include_directories("mad" PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/libmad")
target_include_directories("mad" PUBLIC "libmad")
configure_file("config.mad.in.h" "libmad/config.h")
+37 -41
View File
@@ -1,49 +1,45 @@
if(WITH_SYSTEM_PCRE)
find_package(Pcre REQUIRED)
else()
set(PCRE_SRC "pcre/pcre_byte_order.c"
"pcre/pcre_chartables.c"
"pcre/pcre_compile.c"
"pcre/pcre_config.c"
"pcre/pcre_dfa_exec.c"
"pcre/pcre_exec.c"
"pcre/pcre_fullinfo.c"
"pcre/pcre_get.c"
"pcre/pcre_globals.c"
"pcre/pcre_jit_compile.c"
"pcre/pcre_maketables.c"
"pcre/pcre_newline.c"
"pcre/pcre_ord2utf8.c"
"pcre/pcre_refcount.c"
"pcre/pcre_string_utils.c"
"pcre/pcre_study.c"
"pcre/pcre_tables.c"
"pcre/pcre_ucd.c"
"pcre/pcre_valid_utf8.c"
"pcre/pcre_version.c"
"pcre/pcre_xclass.c")
set(PCRE_SRC "pcre/pcre_byte_order.c"
"pcre/pcre_chartables.c"
"pcre/pcre_compile.c"
"pcre/pcre_config.c"
"pcre/pcre_dfa_exec.c"
"pcre/pcre_exec.c"
"pcre/pcre_fullinfo.c"
"pcre/pcre_get.c"
"pcre/pcre_globals.c"
"pcre/pcre_jit_compile.c"
"pcre/pcre_maketables.c"
"pcre/pcre_newline.c"
"pcre/pcre_ord2utf8.c"
"pcre/pcre_refcount.c"
"pcre/pcre_string_utils.c"
"pcre/pcre_study.c"
"pcre/pcre_tables.c"
"pcre/pcre_ucd.c"
"pcre/pcre_valid_utf8.c"
"pcre/pcre_version.c"
"pcre/pcre_xclass.c")
set(PCRE_HPP "pcre/pcre_internal.h"
"pcre/pcre.h"
"pcre/ucp.h")
set(PCRE_HPP "pcre/pcre_internal.h"
"pcre/pcre.h"
"pcre/ucp.h")
configure_file("config.pcre.in.h" "pcre/config.h" COPYONLY)
configure_file("pcre/pcre.h.generic" "pcre/pcre.h" COPYONLY)
configure_file("pcre/pcre_chartables.c.dist" "pcre/pcre_chartables.c" COPYONLY)
configure_file("config.pcre.in.h" "pcre/config.h" COPYONLY)
configure_file("pcre/pcre.h.generic" "pcre/pcre.h" COPYONLY)
configure_file("pcre/pcre_chartables.c.dist" "pcre/pcre_chartables.c" COPYONLY)
source_group("" FILES ${PCRE_SRC} ${PCRE_HPP})
source_group("" FILES ${PCRE_SRC} ${PCRE_HPP})
add_library("pcre" STATIC ${PCRE_SRC} ${PCRE_HPP})
add_library("pcre" STATIC ${PCRE_SRC} ${PCRE_HPP})
set_property(TARGET "pcre" PROPERTY FOLDER "External Libraries")
set_property(TARGET "pcre" PROPERTY FOLDER "External Libraries")
disable_project_warnings("pcre")
disable_project_warnings("pcre")
target_compile_definitions("pcre" PRIVATE HAVE_CONFIG_H)
target_compile_definitions("pcre" PUBLIC PCRE_STATIC)
target_compile_definitions("pcre" PRIVATE HAVE_CONFIG_H)
target_compile_definitions("pcre" PUBLIC PCRE_STATIC)
target_include_directories("pcre" PUBLIC
"pcre"
"${CMAKE_CURRENT_BINARY_DIR}/pcre"
)
endif()
target_include_directories("pcre" PUBLIC
"pcre"
"${CMAKE_CURRENT_BINARY_DIR}/pcre"
)
+41 -48
View File
@@ -1,57 +1,50 @@
if(WITH_SYSTEM_PNG)
find_package(PNG REQUIRED)
set(PNG_LIBRARIES ${PNG_LIBRARIES} PARENT_SCOPE)
else()
set(PNG_SRC
"libpng/png.c"
"libpng/pngerror.c"
"libpng/pngget.c"
"libpng/pngmem.c"
"libpng/pngpread.c"
"libpng/pngread.c"
"libpng/pngrio.c"
"libpng/pngrtran.c"
"libpng/pngrutil.c"
"libpng/pngset.c"
"libpng/pngtest.c"
"libpng/pngtrans.c"
"libpng/pngwio.c"
"libpng/pngwrite.c"
"libpng/pngwtran.c"
"libpng/pngwutil.c")
set(PNG_SRC "libpng/png.c"
"libpng/pngerror.c"
"libpng/pngget.c"
"libpng/pngmem.c"
"libpng/pngpread.c"
"libpng/pngread.c"
"libpng/pngrio.c"
"libpng/pngrtran.c"
"libpng/pngrutil.c"
"libpng/pngset.c"
"libpng/pngtest.c"
"libpng/pngtrans.c"
"libpng/pngwio.c"
"libpng/pngwrite.c"
"libpng/pngwtran.c"
"libpng/pngwutil.c")
configure_file("libpng/scripts/pnglibconf.h.prebuilt"
"libpng/pnglibconf.h"
COPYONLY)
configure_file("libpng/scripts/pnglibconf.h.prebuilt"
"libpng/pnglibconf.h"
COPYONLY)
set(PNG_HPP
"libpng/png.h"
"libpng/pngconf.h"
"libpng/pngdebug.h"
"libpng/pnginfo.h"
"libpng/pnglibconf.h"
"libpng/pngpriv.h"
"libpng/pngstruct.h")
set(PNG_HPP "libpng/png.h"
"libpng/pngconf.h"
"libpng/pngdebug.h"
"libpng/pnginfo.h"
"libpng/pnglibconf.h"
"libpng/pngpriv.h"
"libpng/pngstruct.h")
source_group("" FILES ${PNG_SRC})
source_group("" FILES ${PNG_HPP})
source_group("" FILES ${PNG_SRC})
source_group("" FILES ${PNG_HPP})
add_library("png" STATIC ${PNG_SRC} ${PNG_HPP})
add_library("png" STATIC ${PNG_SRC} ${PNG_HPP})
set_property(TARGET "png" PROPERTY FOLDER "External Libraries")
set_property(TARGET "png" PROPERTY FOLDER "External Libraries")
disable_project_warnings("png")
disable_project_warnings("png")
target_compile_definitions("png" PRIVATE PNG_ARM_NEON_OPT=0
PNG_INTEL_SSE_OPT=0)
target_compile_definitions("png" PRIVATE PNG_ARM_NEON_OPT=0
PNG_INTEL_SSE_OPT=0)
if(MSVC)
target_compile_definitions("png" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
target_include_directories("png" PUBLIC
"zlib"
"libpng"
"${CMAKE_CURRENT_BINARY_DIR}/libpng"
)
if(MSVC)
target_compile_definitions("png" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
target_include_directories("png" PUBLIC
"zlib"
"libpng"
"${CMAKE_CURRENT_BINARY_DIR}/libpng"
)
+471 -477
View File
@@ -1,489 +1,483 @@
if(WITH_SYSTEM_TOMCRYPT)
find_library(TOMCRYPT_LIBRARY tomcrypt)
else()
set(TOMCRYPT_SRC
"libtomcrypt/src/ciphers/anubis.c"
"libtomcrypt/src/ciphers/blowfish.c"
"libtomcrypt/src/ciphers/camellia.c"
"libtomcrypt/src/ciphers/cast5.c"
"libtomcrypt/src/ciphers/des.c"
"libtomcrypt/src/ciphers/kasumi.c"
"libtomcrypt/src/ciphers/khazad.c"
"libtomcrypt/src/ciphers/kseed.c"
"libtomcrypt/src/ciphers/multi2.c"
"libtomcrypt/src/ciphers/noekeon.c"
"libtomcrypt/src/ciphers/rc2.c"
"libtomcrypt/src/ciphers/rc5.c"
"libtomcrypt/src/ciphers/rc6.c"
"libtomcrypt/src/ciphers/skipjack.c"
"libtomcrypt/src/ciphers/xtea.c"
"libtomcrypt/src/ciphers/aes/aes.c"
"libtomcrypt/src/ciphers/safer/safer.c"
"libtomcrypt/src/ciphers/safer/saferp.c"
"libtomcrypt/src/ciphers/twofish/twofish.c"
"libtomcrypt/src/encauth/ccm/ccm_add_aad.c"
"libtomcrypt/src/encauth/ccm/ccm_add_nonce.c"
"libtomcrypt/src/encauth/ccm/ccm_done.c"
"libtomcrypt/src/encauth/ccm/ccm_init.c"
"libtomcrypt/src/encauth/ccm/ccm_memory.c"
"libtomcrypt/src/encauth/ccm/ccm_process.c"
"libtomcrypt/src/encauth/ccm/ccm_reset.c"
"libtomcrypt/src/encauth/ccm/ccm_test.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_add_aad.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_decrypt.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_done.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_encrypt.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_init.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_memory.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_test.c"
"libtomcrypt/src/encauth/eax/eax_addheader.c"
"libtomcrypt/src/encauth/eax/eax_decrypt.c"
"libtomcrypt/src/encauth/eax/eax_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/eax/eax_done.c"
"libtomcrypt/src/encauth/eax/eax_encrypt.c"
"libtomcrypt/src/encauth/eax/eax_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/eax/eax_init.c"
"libtomcrypt/src/encauth/eax/eax_test.c"
"libtomcrypt/src/encauth/gcm/gcm_add_aad.c"
"libtomcrypt/src/encauth/gcm/gcm_add_iv.c"
"libtomcrypt/src/encauth/gcm/gcm_done.c"
"libtomcrypt/src/encauth/gcm/gcm_gf_mult.c"
"libtomcrypt/src/encauth/gcm/gcm_init.c"
"libtomcrypt/src/encauth/gcm/gcm_memory.c"
"libtomcrypt/src/encauth/gcm/gcm_mult_h.c"
"libtomcrypt/src/encauth/gcm/gcm_process.c"
"libtomcrypt/src/encauth/gcm/gcm_reset.c"
"libtomcrypt/src/encauth/gcm/gcm_test.c"
"libtomcrypt/src/encauth/ocb/ocb_decrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/ocb/ocb_done_decrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_done_encrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_encrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/ocb/ocb_init.c"
"libtomcrypt/src/encauth/ocb/ocb_ntz.c"
"libtomcrypt/src/encauth/ocb/ocb_shift_xor.c"
"libtomcrypt/src/encauth/ocb/ocb_test.c"
"libtomcrypt/src/encauth/ocb/s_ocb_done.c"
"libtomcrypt/src/encauth/ocb3/ocb3_add_aad.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt_last.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/ocb3/ocb3_done.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt_last.c"
"libtomcrypt/src/encauth/ocb3/ocb3_init.c"
"libtomcrypt/src/encauth/ocb3/ocb3_int_ntz.c"
"libtomcrypt/src/encauth/ocb3/ocb3_int_xor_blocks.c"
"libtomcrypt/src/encauth/ocb3/ocb3_test.c"
"libtomcrypt/src/hashes/blake2b.c"
"libtomcrypt/src/hashes/blake2s.c"
"libtomcrypt/src/hashes/md2.c"
"libtomcrypt/src/hashes/md4.c"
"libtomcrypt/src/hashes/md5.c"
"libtomcrypt/src/hashes/rmd128.c"
"libtomcrypt/src/hashes/rmd160.c"
"libtomcrypt/src/hashes/rmd256.c"
"libtomcrypt/src/hashes/rmd320.c"
"libtomcrypt/src/hashes/sha1.c"
"libtomcrypt/src/hashes/sha3.c"
"libtomcrypt/src/hashes/sha3_test.c"
"libtomcrypt/src/hashes/tiger.c"
"libtomcrypt/src/hashes/chc/chc.c"
"libtomcrypt/src/hashes/helper/hash_file.c"
"libtomcrypt/src/hashes/helper/hash_filehandle.c"
"libtomcrypt/src/hashes/helper/hash_memory.c"
"libtomcrypt/src/hashes/helper/hash_memory_multi.c"
"libtomcrypt/src/hashes/sha2/sha224.c"
"libtomcrypt/src/hashes/sha2/sha256.c"
"libtomcrypt/src/hashes/sha2/sha384.c"
"libtomcrypt/src/hashes/sha2/sha512.c"
"libtomcrypt/src/hashes/sha2/sha512_224.c"
"libtomcrypt/src/hashes/sha2/sha512_256.c"
"libtomcrypt/src/hashes/whirl/whirl.c"
"libtomcrypt/src/mac/blake2/blake2bmac.c"
"libtomcrypt/src/mac/blake2/blake2bmac_file.c"
"libtomcrypt/src/mac/blake2/blake2bmac_memory.c"
"libtomcrypt/src/mac/blake2/blake2bmac_memory_multi.c"
"libtomcrypt/src/mac/blake2/blake2bmac_test.c"
"libtomcrypt/src/mac/blake2/blake2smac.c"
"libtomcrypt/src/mac/blake2/blake2smac_file.c"
"libtomcrypt/src/mac/blake2/blake2smac_memory.c"
"libtomcrypt/src/mac/blake2/blake2smac_memory_multi.c"
"libtomcrypt/src/mac/blake2/blake2smac_test.c"
"libtomcrypt/src/mac/f9/f9_done.c"
"libtomcrypt/src/mac/f9/f9_file.c"
"libtomcrypt/src/mac/f9/f9_init.c"
"libtomcrypt/src/mac/f9/f9_memory.c"
"libtomcrypt/src/mac/f9/f9_memory_multi.c"
"libtomcrypt/src/mac/f9/f9_process.c"
"libtomcrypt/src/mac/f9/f9_test.c"
"libtomcrypt/src/mac/hmac/hmac_done.c"
"libtomcrypt/src/mac/hmac/hmac_file.c"
"libtomcrypt/src/mac/hmac/hmac_init.c"
"libtomcrypt/src/mac/hmac/hmac_memory.c"
"libtomcrypt/src/mac/hmac/hmac_memory_multi.c"
"libtomcrypt/src/mac/hmac/hmac_process.c"
"libtomcrypt/src/mac/hmac/hmac_test.c"
"libtomcrypt/src/mac/omac/omac_done.c"
"libtomcrypt/src/mac/omac/omac_file.c"
"libtomcrypt/src/mac/omac/omac_init.c"
"libtomcrypt/src/mac/omac/omac_memory.c"
"libtomcrypt/src/mac/omac/omac_memory_multi.c"
"libtomcrypt/src/mac/omac/omac_process.c"
"libtomcrypt/src/mac/omac/omac_test.c"
"libtomcrypt/src/mac/pelican/pelican.c"
"libtomcrypt/src/mac/pelican/pelican_memory.c"
"libtomcrypt/src/mac/pelican/pelican_test.c"
"libtomcrypt/src/mac/pmac/pmac_done.c"
"libtomcrypt/src/mac/pmac/pmac_file.c"
"libtomcrypt/src/mac/pmac/pmac_init.c"
"libtomcrypt/src/mac/pmac/pmac_memory.c"
"libtomcrypt/src/mac/pmac/pmac_memory_multi.c"
"libtomcrypt/src/mac/pmac/pmac_ntz.c"
"libtomcrypt/src/mac/pmac/pmac_process.c"
"libtomcrypt/src/mac/pmac/pmac_shift_xor.c"
"libtomcrypt/src/mac/pmac/pmac_test.c"
"libtomcrypt/src/mac/poly1305/poly1305.c"
"libtomcrypt/src/mac/poly1305/poly1305_file.c"
"libtomcrypt/src/mac/poly1305/poly1305_memory.c"
"libtomcrypt/src/mac/poly1305/poly1305_memory_multi.c"
"libtomcrypt/src/mac/poly1305/poly1305_test.c"
"libtomcrypt/src/mac/xcbc/xcbc_done.c"
"libtomcrypt/src/mac/xcbc/xcbc_file.c"
"libtomcrypt/src/mac/xcbc/xcbc_init.c"
"libtomcrypt/src/mac/xcbc/xcbc_memory.c"
"libtomcrypt/src/mac/xcbc/xcbc_memory_multi.c"
"libtomcrypt/src/mac/xcbc/xcbc_process.c"
"libtomcrypt/src/mac/xcbc/xcbc_test.c"
"libtomcrypt/src/math/gmp_desc.c"
"libtomcrypt/src/math/ltm_desc.c"
"libtomcrypt/src/math/multi.c"
"libtomcrypt/src/math/radix_to_bin.c"
"libtomcrypt/src/math/rand_bn.c"
"libtomcrypt/src/math/rand_prime.c"
"libtomcrypt/src/math/tfm_desc.c"
"libtomcrypt/src/math/fp/ltc_ecc_fp_mulmod.c"
"libtomcrypt/src/misc/adler32.c"
"libtomcrypt/src/misc/burn_stack.c"
"libtomcrypt/src/misc/compare_testvector.c"
"libtomcrypt/src/misc/crc32.c"
"libtomcrypt/src/misc/error_to_string.c"
"libtomcrypt/src/misc/mem_neq.c"
"libtomcrypt/src/misc/pk_get_oid.c"
"libtomcrypt/src/misc/zeromem.c"
"libtomcrypt/src/misc/base64/base64_decode.c"
"libtomcrypt/src/misc/base64/base64_encode.c"
"libtomcrypt/src/misc/crypt/crypt.c"
"libtomcrypt/src/misc/crypt/crypt_argchk.c"
"libtomcrypt/src/misc/crypt/crypt_cipher_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_cipher_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_constants.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher_any.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher_id.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_any.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_id.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_oid.c"
"libtomcrypt/src/misc/crypt/crypt_find_prng.c"
"libtomcrypt/src/misc/crypt/crypt_fsa.c"
"libtomcrypt/src/misc/crypt/crypt_hash_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_hash_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_inits.c"
"libtomcrypt/src/misc/crypt/crypt_ltc_mp_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_prng_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_prng_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_prng_rng_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_ciphers.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_hashes.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_prngs.c"
"libtomcrypt/src/misc/crypt/crypt_register_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_register_hash.c"
"libtomcrypt/src/misc/crypt/crypt_register_prng.c"
"libtomcrypt/src/misc/crypt/crypt_sizes.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_hash.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_prng.c"
"libtomcrypt/src/misc/hkdf/hkdf.c"
"libtomcrypt/src/misc/hkdf/hkdf_test.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_1.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_2.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_test.c"
"libtomcrypt/src/modes/cbc/cbc_decrypt.c"
"libtomcrypt/src/modes/cbc/cbc_done.c"
"libtomcrypt/src/modes/cbc/cbc_encrypt.c"
"libtomcrypt/src/modes/cbc/cbc_getiv.c"
"libtomcrypt/src/modes/cbc/cbc_setiv.c"
"libtomcrypt/src/modes/cbc/cbc_start.c"
"libtomcrypt/src/modes/cfb/cfb_decrypt.c"
"libtomcrypt/src/modes/cfb/cfb_done.c"
"libtomcrypt/src/modes/cfb/cfb_encrypt.c"
"libtomcrypt/src/modes/cfb/cfb_getiv.c"
"libtomcrypt/src/modes/cfb/cfb_setiv.c"
"libtomcrypt/src/modes/cfb/cfb_start.c"
"libtomcrypt/src/modes/ctr/ctr_decrypt.c"
"libtomcrypt/src/modes/ctr/ctr_done.c"
"libtomcrypt/src/modes/ctr/ctr_encrypt.c"
"libtomcrypt/src/modes/ctr/ctr_getiv.c"
"libtomcrypt/src/modes/ctr/ctr_setiv.c"
"libtomcrypt/src/modes/ctr/ctr_start.c"
"libtomcrypt/src/modes/ctr/ctr_test.c"
"libtomcrypt/src/modes/ecb/ecb_decrypt.c"
"libtomcrypt/src/modes/ecb/ecb_done.c"
"libtomcrypt/src/modes/ecb/ecb_encrypt.c"
"libtomcrypt/src/modes/ecb/ecb_start.c"
"libtomcrypt/src/modes/f8/f8_decrypt.c"
"libtomcrypt/src/modes/f8/f8_done.c"
"libtomcrypt/src/modes/f8/f8_encrypt.c"
"libtomcrypt/src/modes/f8/f8_getiv.c"
"libtomcrypt/src/modes/f8/f8_setiv.c"
"libtomcrypt/src/modes/f8/f8_start.c"
"libtomcrypt/src/modes/f8/f8_test_mode.c"
"libtomcrypt/src/modes/lrw/lrw_decrypt.c"
"libtomcrypt/src/modes/lrw/lrw_done.c"
"libtomcrypt/src/modes/lrw/lrw_encrypt.c"
"libtomcrypt/src/modes/lrw/lrw_getiv.c"
"libtomcrypt/src/modes/lrw/lrw_process.c"
"libtomcrypt/src/modes/lrw/lrw_setiv.c"
"libtomcrypt/src/modes/lrw/lrw_start.c"
"libtomcrypt/src/modes/lrw/lrw_test.c"
"libtomcrypt/src/modes/ofb/ofb_decrypt.c"
"libtomcrypt/src/modes/ofb/ofb_done.c"
"libtomcrypt/src/modes/ofb/ofb_encrypt.c"
"libtomcrypt/src/modes/ofb/ofb_getiv.c"
"libtomcrypt/src/modes/ofb/ofb_setiv.c"
"libtomcrypt/src/modes/ofb/ofb_start.c"
"libtomcrypt/src/modes/xts/xts_decrypt.c"
"libtomcrypt/src/modes/xts/xts_done.c"
"libtomcrypt/src/modes/xts/xts_encrypt.c"
"libtomcrypt/src/modes/xts/xts_init.c"
"libtomcrypt/src/modes/xts/xts_mult_x.c"
"libtomcrypt/src/modes/xts/xts_test.c"
"libtomcrypt/src/pk/asn1/der/bit/der_decode_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_decode_raw_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_encode_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_encode_raw_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_length_bit_string.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_decode_boolean.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_encode_boolean.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_length_boolean.c"
"libtomcrypt/src/pk/asn1/der/choice/der_decode_choice.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_decode_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_encode_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_length_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_decode_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_encode_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_length_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/integer/der_decode_integer.c"
"libtomcrypt/src/pk/asn1/der/integer/der_encode_integer.c"
"libtomcrypt/src/pk/asn1/der/integer/der_length_integer.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_decode_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_encode_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_length_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/octet/der_decode_octet_string.c"
"libtomcrypt/src/pk/asn1/der/octet/der_encode_octet_string.c"
"libtomcrypt/src/pk/asn1/der/octet/der_length_octet_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_decode_printable_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_encode_printable_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_length_printable_string.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_ex.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_multi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_ex.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_multi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_length_sequence.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_sequence_free.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_sequence_shrink.c"
"libtomcrypt/src/pk/asn1/der/set/der_encode_set.c"
"libtomcrypt/src/pk/asn1/der/set/der_encode_setof.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_decode_short_integer.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_encode_short_integer.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_length_short_integer.c"
"libtomcrypt/src/pk/asn1/der/teletex_string/der_decode_teletex_string.c"
"libtomcrypt/src/pk/asn1/der/teletex_string/der_length_teletex_string.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_encode_utctime.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_length_utctime.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_decode_utf8_string.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_encode_utf8_string.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_length_utf8_string.c"
"libtomcrypt/src/pk/dh/dh.c"
"libtomcrypt/src/pk/dh/dh_check_pubkey.c"
"libtomcrypt/src/pk/dh/dh_export.c"
"libtomcrypt/src/pk/dh/dh_export_key.c"
"libtomcrypt/src/pk/dh/dh_free.c"
"libtomcrypt/src/pk/dh/dh_generate_key.c"
"libtomcrypt/src/pk/dh/dh_import.c"
"libtomcrypt/src/pk/dh/dh_set.c"
"libtomcrypt/src/pk/dh/dh_set_pg_dhparam.c"
"libtomcrypt/src/pk/dh/dh_shared_secret.c"
"libtomcrypt/src/pk/dsa/dsa_decrypt_key.c"
"libtomcrypt/src/pk/dsa/dsa_encrypt_key.c"
"libtomcrypt/src/pk/dsa/dsa_export.c"
"libtomcrypt/src/pk/dsa/dsa_free.c"
"libtomcrypt/src/pk/dsa/dsa_generate_key.c"
"libtomcrypt/src/pk/dsa/dsa_generate_pqg.c"
"libtomcrypt/src/pk/dsa/dsa_import.c"
"libtomcrypt/src/pk/dsa/dsa_make_key.c"
"libtomcrypt/src/pk/dsa/dsa_set.c"
"libtomcrypt/src/pk/dsa/dsa_set_pqg_dsaparam.c"
"libtomcrypt/src/pk/dsa/dsa_shared_secret.c"
"libtomcrypt/src/pk/dsa/dsa_sign_hash.c"
"libtomcrypt/src/pk/dsa/dsa_verify_hash.c"
"libtomcrypt/src/pk/dsa/dsa_verify_key.c"
"libtomcrypt/src/pk/ecc/ecc.c"
"libtomcrypt/src/pk/ecc/ecc_ansi_x963_export.c"
"libtomcrypt/src/pk/ecc/ecc_ansi_x963_import.c"
"libtomcrypt/src/pk/ecc/ecc_decrypt_key.c"
"libtomcrypt/src/pk/ecc/ecc_encrypt_key.c"
"libtomcrypt/src/pk/ecc/ecc_export.c"
"libtomcrypt/src/pk/ecc/ecc_free.c"
"libtomcrypt/src/pk/ecc/ecc_get_size.c"
"libtomcrypt/src/pk/ecc/ecc_import.c"
"libtomcrypt/src/pk/ecc/ecc_make_key.c"
"libtomcrypt/src/pk/ecc/ecc_shared_secret.c"
"libtomcrypt/src/pk/ecc/ecc_sign_hash.c"
"libtomcrypt/src/pk/ecc/ecc_sizes.c"
"libtomcrypt/src/pk/ecc/ecc_test.c"
"libtomcrypt/src/pk/ecc/ecc_verify_hash.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_is_valid_idx.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_map.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_points.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c"
"libtomcrypt/src/pk/katja/katja_decrypt_key.c"
"libtomcrypt/src/pk/katja/katja_encrypt_key.c"
"libtomcrypt/src/pk/katja/katja_export.c"
"libtomcrypt/src/pk/katja/katja_exptmod.c"
"libtomcrypt/src/pk/katja/katja_free.c"
"libtomcrypt/src/pk/katja/katja_import.c"
"libtomcrypt/src/pk/katja/katja_make_key.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c"
"libtomcrypt/src/pk/rsa/rsa_decrypt_key.c"
"libtomcrypt/src/pk/rsa/rsa_encrypt_key.c"
"libtomcrypt/src/pk/rsa/rsa_export.c"
"libtomcrypt/src/pk/rsa/rsa_exptmod.c"
"libtomcrypt/src/pk/rsa/rsa_free.c"
"libtomcrypt/src/pk/rsa/rsa_get_size.c"
"libtomcrypt/src/pk/rsa/rsa_import.c"
"libtomcrypt/src/pk/rsa/rsa_import_pkcs8.c"
"libtomcrypt/src/pk/rsa/rsa_import_x509.c"
"libtomcrypt/src/pk/rsa/rsa_make_key.c"
"libtomcrypt/src/pk/rsa/rsa_set.c"
"libtomcrypt/src/pk/rsa/rsa_sign_hash.c"
"libtomcrypt/src/pk/rsa/rsa_sign_saltlen_get.c"
"libtomcrypt/src/pk/rsa/rsa_verify_hash.c"
"libtomcrypt/src/prngs/chacha20.c"
"libtomcrypt/src/prngs/fortuna.c"
"libtomcrypt/src/prngs/rc4.c"
"libtomcrypt/src/prngs/rng_get_bytes.c"
"libtomcrypt/src/prngs/rng_make_prng.c"
"libtomcrypt/src/prngs/sober128.c"
"libtomcrypt/src/prngs/sprng.c"
"libtomcrypt/src/prngs/yarrow.c"
"libtomcrypt/src/stream/chacha/chacha_crypt.c"
"libtomcrypt/src/stream/chacha/chacha_done.c"
"libtomcrypt/src/stream/chacha/chacha_ivctr32.c"
"libtomcrypt/src/stream/chacha/chacha_ivctr64.c"
"libtomcrypt/src/stream/chacha/chacha_keystream.c"
"libtomcrypt/src/stream/chacha/chacha_setup.c"
"libtomcrypt/src/stream/chacha/chacha_test.c"
"libtomcrypt/src/stream/rc4/rc4_stream.c"
"libtomcrypt/src/stream/rc4/rc4_test.c"
"libtomcrypt/src/stream/sober128/sober128_stream.c"
"libtomcrypt/src/stream/sober128/sober128_test.c"
)
set(TOMCRYPT_SRC "libtomcrypt/src/ciphers/anubis.c"
"libtomcrypt/src/ciphers/blowfish.c"
"libtomcrypt/src/ciphers/camellia.c"
"libtomcrypt/src/ciphers/cast5.c"
"libtomcrypt/src/ciphers/des.c"
"libtomcrypt/src/ciphers/kasumi.c"
"libtomcrypt/src/ciphers/khazad.c"
"libtomcrypt/src/ciphers/kseed.c"
"libtomcrypt/src/ciphers/multi2.c"
"libtomcrypt/src/ciphers/noekeon.c"
"libtomcrypt/src/ciphers/rc2.c"
"libtomcrypt/src/ciphers/rc5.c"
"libtomcrypt/src/ciphers/rc6.c"
"libtomcrypt/src/ciphers/skipjack.c"
"libtomcrypt/src/ciphers/xtea.c"
"libtomcrypt/src/ciphers/aes/aes.c"
"libtomcrypt/src/ciphers/safer/safer.c"
"libtomcrypt/src/ciphers/safer/saferp.c"
"libtomcrypt/src/ciphers/twofish/twofish.c"
"libtomcrypt/src/encauth/ccm/ccm_add_aad.c"
"libtomcrypt/src/encauth/ccm/ccm_add_nonce.c"
"libtomcrypt/src/encauth/ccm/ccm_done.c"
"libtomcrypt/src/encauth/ccm/ccm_init.c"
"libtomcrypt/src/encauth/ccm/ccm_memory.c"
"libtomcrypt/src/encauth/ccm/ccm_process.c"
"libtomcrypt/src/encauth/ccm/ccm_reset.c"
"libtomcrypt/src/encauth/ccm/ccm_test.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_add_aad.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_decrypt.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_done.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_encrypt.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_init.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_memory.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c"
"libtomcrypt/src/encauth/chachapoly/chacha20poly1305_test.c"
"libtomcrypt/src/encauth/eax/eax_addheader.c"
"libtomcrypt/src/encauth/eax/eax_decrypt.c"
"libtomcrypt/src/encauth/eax/eax_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/eax/eax_done.c"
"libtomcrypt/src/encauth/eax/eax_encrypt.c"
"libtomcrypt/src/encauth/eax/eax_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/eax/eax_init.c"
"libtomcrypt/src/encauth/eax/eax_test.c"
"libtomcrypt/src/encauth/gcm/gcm_add_aad.c"
"libtomcrypt/src/encauth/gcm/gcm_add_iv.c"
"libtomcrypt/src/encauth/gcm/gcm_done.c"
"libtomcrypt/src/encauth/gcm/gcm_gf_mult.c"
"libtomcrypt/src/encauth/gcm/gcm_init.c"
"libtomcrypt/src/encauth/gcm/gcm_memory.c"
"libtomcrypt/src/encauth/gcm/gcm_mult_h.c"
"libtomcrypt/src/encauth/gcm/gcm_process.c"
"libtomcrypt/src/encauth/gcm/gcm_reset.c"
"libtomcrypt/src/encauth/gcm/gcm_test.c"
"libtomcrypt/src/encauth/ocb/ocb_decrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/ocb/ocb_done_decrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_done_encrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_encrypt.c"
"libtomcrypt/src/encauth/ocb/ocb_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/ocb/ocb_init.c"
"libtomcrypt/src/encauth/ocb/ocb_ntz.c"
"libtomcrypt/src/encauth/ocb/ocb_shift_xor.c"
"libtomcrypt/src/encauth/ocb/ocb_test.c"
"libtomcrypt/src/encauth/ocb/s_ocb_done.c"
"libtomcrypt/src/encauth/ocb3/ocb3_add_aad.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt_last.c"
"libtomcrypt/src/encauth/ocb3/ocb3_decrypt_verify_memory.c"
"libtomcrypt/src/encauth/ocb3/ocb3_done.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt_authenticate_memory.c"
"libtomcrypt/src/encauth/ocb3/ocb3_encrypt_last.c"
"libtomcrypt/src/encauth/ocb3/ocb3_init.c"
"libtomcrypt/src/encauth/ocb3/ocb3_int_ntz.c"
"libtomcrypt/src/encauth/ocb3/ocb3_int_xor_blocks.c"
"libtomcrypt/src/encauth/ocb3/ocb3_test.c"
"libtomcrypt/src/hashes/blake2b.c"
"libtomcrypt/src/hashes/blake2s.c"
"libtomcrypt/src/hashes/md2.c"
"libtomcrypt/src/hashes/md4.c"
"libtomcrypt/src/hashes/md5.c"
"libtomcrypt/src/hashes/rmd128.c"
"libtomcrypt/src/hashes/rmd160.c"
"libtomcrypt/src/hashes/rmd256.c"
"libtomcrypt/src/hashes/rmd320.c"
"libtomcrypt/src/hashes/sha1.c"
"libtomcrypt/src/hashes/sha3.c"
"libtomcrypt/src/hashes/sha3_test.c"
"libtomcrypt/src/hashes/tiger.c"
"libtomcrypt/src/hashes/chc/chc.c"
"libtomcrypt/src/hashes/helper/hash_file.c"
"libtomcrypt/src/hashes/helper/hash_filehandle.c"
"libtomcrypt/src/hashes/helper/hash_memory.c"
"libtomcrypt/src/hashes/helper/hash_memory_multi.c"
"libtomcrypt/src/hashes/sha2/sha224.c"
"libtomcrypt/src/hashes/sha2/sha256.c"
"libtomcrypt/src/hashes/sha2/sha384.c"
"libtomcrypt/src/hashes/sha2/sha512.c"
"libtomcrypt/src/hashes/sha2/sha512_224.c"
"libtomcrypt/src/hashes/sha2/sha512_256.c"
"libtomcrypt/src/hashes/whirl/whirl.c"
"libtomcrypt/src/mac/blake2/blake2bmac.c"
"libtomcrypt/src/mac/blake2/blake2bmac_file.c"
"libtomcrypt/src/mac/blake2/blake2bmac_memory.c"
"libtomcrypt/src/mac/blake2/blake2bmac_memory_multi.c"
"libtomcrypt/src/mac/blake2/blake2bmac_test.c"
"libtomcrypt/src/mac/blake2/blake2smac.c"
"libtomcrypt/src/mac/blake2/blake2smac_file.c"
"libtomcrypt/src/mac/blake2/blake2smac_memory.c"
"libtomcrypt/src/mac/blake2/blake2smac_memory_multi.c"
"libtomcrypt/src/mac/blake2/blake2smac_test.c"
"libtomcrypt/src/mac/f9/f9_done.c"
"libtomcrypt/src/mac/f9/f9_file.c"
"libtomcrypt/src/mac/f9/f9_init.c"
"libtomcrypt/src/mac/f9/f9_memory.c"
"libtomcrypt/src/mac/f9/f9_memory_multi.c"
"libtomcrypt/src/mac/f9/f9_process.c"
"libtomcrypt/src/mac/f9/f9_test.c"
"libtomcrypt/src/mac/hmac/hmac_done.c"
"libtomcrypt/src/mac/hmac/hmac_file.c"
"libtomcrypt/src/mac/hmac/hmac_init.c"
"libtomcrypt/src/mac/hmac/hmac_memory.c"
"libtomcrypt/src/mac/hmac/hmac_memory_multi.c"
"libtomcrypt/src/mac/hmac/hmac_process.c"
"libtomcrypt/src/mac/hmac/hmac_test.c"
"libtomcrypt/src/mac/omac/omac_done.c"
"libtomcrypt/src/mac/omac/omac_file.c"
"libtomcrypt/src/mac/omac/omac_init.c"
"libtomcrypt/src/mac/omac/omac_memory.c"
"libtomcrypt/src/mac/omac/omac_memory_multi.c"
"libtomcrypt/src/mac/omac/omac_process.c"
"libtomcrypt/src/mac/omac/omac_test.c"
"libtomcrypt/src/mac/pelican/pelican.c"
"libtomcrypt/src/mac/pelican/pelican_memory.c"
"libtomcrypt/src/mac/pelican/pelican_test.c"
"libtomcrypt/src/mac/pmac/pmac_done.c"
"libtomcrypt/src/mac/pmac/pmac_file.c"
"libtomcrypt/src/mac/pmac/pmac_init.c"
"libtomcrypt/src/mac/pmac/pmac_memory.c"
"libtomcrypt/src/mac/pmac/pmac_memory_multi.c"
"libtomcrypt/src/mac/pmac/pmac_ntz.c"
"libtomcrypt/src/mac/pmac/pmac_process.c"
"libtomcrypt/src/mac/pmac/pmac_shift_xor.c"
"libtomcrypt/src/mac/pmac/pmac_test.c"
"libtomcrypt/src/mac/poly1305/poly1305.c"
"libtomcrypt/src/mac/poly1305/poly1305_file.c"
"libtomcrypt/src/mac/poly1305/poly1305_memory.c"
"libtomcrypt/src/mac/poly1305/poly1305_memory_multi.c"
"libtomcrypt/src/mac/poly1305/poly1305_test.c"
"libtomcrypt/src/mac/xcbc/xcbc_done.c"
"libtomcrypt/src/mac/xcbc/xcbc_file.c"
"libtomcrypt/src/mac/xcbc/xcbc_init.c"
"libtomcrypt/src/mac/xcbc/xcbc_memory.c"
"libtomcrypt/src/mac/xcbc/xcbc_memory_multi.c"
"libtomcrypt/src/mac/xcbc/xcbc_process.c"
"libtomcrypt/src/mac/xcbc/xcbc_test.c"
"libtomcrypt/src/math/gmp_desc.c"
"libtomcrypt/src/math/ltm_desc.c"
"libtomcrypt/src/math/multi.c"
"libtomcrypt/src/math/radix_to_bin.c"
"libtomcrypt/src/math/rand_bn.c"
"libtomcrypt/src/math/rand_prime.c"
"libtomcrypt/src/math/tfm_desc.c"
"libtomcrypt/src/math/fp/ltc_ecc_fp_mulmod.c"
"libtomcrypt/src/misc/adler32.c"
"libtomcrypt/src/misc/burn_stack.c"
"libtomcrypt/src/misc/compare_testvector.c"
"libtomcrypt/src/misc/crc32.c"
"libtomcrypt/src/misc/error_to_string.c"
"libtomcrypt/src/misc/mem_neq.c"
"libtomcrypt/src/misc/pk_get_oid.c"
"libtomcrypt/src/misc/zeromem.c"
"libtomcrypt/src/misc/base64/base64_decode.c"
"libtomcrypt/src/misc/base64/base64_encode.c"
"libtomcrypt/src/misc/crypt/crypt.c"
"libtomcrypt/src/misc/crypt/crypt_argchk.c"
"libtomcrypt/src/misc/crypt/crypt_cipher_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_cipher_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_constants.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher_any.c"
"libtomcrypt/src/misc/crypt/crypt_find_cipher_id.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_any.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_id.c"
"libtomcrypt/src/misc/crypt/crypt_find_hash_oid.c"
"libtomcrypt/src/misc/crypt/crypt_find_prng.c"
"libtomcrypt/src/misc/crypt/crypt_fsa.c"
"libtomcrypt/src/misc/crypt/crypt_hash_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_hash_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_inits.c"
"libtomcrypt/src/misc/crypt/crypt_ltc_mp_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_prng_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_prng_is_valid.c"
"libtomcrypt/src/misc/crypt/crypt_prng_rng_descriptor.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_ciphers.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_hashes.c"
"libtomcrypt/src/misc/crypt/crypt_register_all_prngs.c"
"libtomcrypt/src/misc/crypt/crypt_register_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_register_hash.c"
"libtomcrypt/src/misc/crypt/crypt_register_prng.c"
"libtomcrypt/src/misc/crypt/crypt_sizes.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_cipher.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_hash.c"
"libtomcrypt/src/misc/crypt/crypt_unregister_prng.c"
"libtomcrypt/src/misc/hkdf/hkdf.c"
"libtomcrypt/src/misc/hkdf/hkdf_test.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_1.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_2.c"
"libtomcrypt/src/misc/pkcs5/pkcs_5_test.c"
"libtomcrypt/src/modes/cbc/cbc_decrypt.c"
"libtomcrypt/src/modes/cbc/cbc_done.c"
"libtomcrypt/src/modes/cbc/cbc_encrypt.c"
"libtomcrypt/src/modes/cbc/cbc_getiv.c"
"libtomcrypt/src/modes/cbc/cbc_setiv.c"
"libtomcrypt/src/modes/cbc/cbc_start.c"
"libtomcrypt/src/modes/cfb/cfb_decrypt.c"
"libtomcrypt/src/modes/cfb/cfb_done.c"
"libtomcrypt/src/modes/cfb/cfb_encrypt.c"
"libtomcrypt/src/modes/cfb/cfb_getiv.c"
"libtomcrypt/src/modes/cfb/cfb_setiv.c"
"libtomcrypt/src/modes/cfb/cfb_start.c"
"libtomcrypt/src/modes/ctr/ctr_decrypt.c"
"libtomcrypt/src/modes/ctr/ctr_done.c"
"libtomcrypt/src/modes/ctr/ctr_encrypt.c"
"libtomcrypt/src/modes/ctr/ctr_getiv.c"
"libtomcrypt/src/modes/ctr/ctr_setiv.c"
"libtomcrypt/src/modes/ctr/ctr_start.c"
"libtomcrypt/src/modes/ctr/ctr_test.c"
"libtomcrypt/src/modes/ecb/ecb_decrypt.c"
"libtomcrypt/src/modes/ecb/ecb_done.c"
"libtomcrypt/src/modes/ecb/ecb_encrypt.c"
"libtomcrypt/src/modes/ecb/ecb_start.c"
"libtomcrypt/src/modes/f8/f8_decrypt.c"
"libtomcrypt/src/modes/f8/f8_done.c"
"libtomcrypt/src/modes/f8/f8_encrypt.c"
"libtomcrypt/src/modes/f8/f8_getiv.c"
"libtomcrypt/src/modes/f8/f8_setiv.c"
"libtomcrypt/src/modes/f8/f8_start.c"
"libtomcrypt/src/modes/f8/f8_test_mode.c"
"libtomcrypt/src/modes/lrw/lrw_decrypt.c"
"libtomcrypt/src/modes/lrw/lrw_done.c"
"libtomcrypt/src/modes/lrw/lrw_encrypt.c"
"libtomcrypt/src/modes/lrw/lrw_getiv.c"
"libtomcrypt/src/modes/lrw/lrw_process.c"
"libtomcrypt/src/modes/lrw/lrw_setiv.c"
"libtomcrypt/src/modes/lrw/lrw_start.c"
"libtomcrypt/src/modes/lrw/lrw_test.c"
"libtomcrypt/src/modes/ofb/ofb_decrypt.c"
"libtomcrypt/src/modes/ofb/ofb_done.c"
"libtomcrypt/src/modes/ofb/ofb_encrypt.c"
"libtomcrypt/src/modes/ofb/ofb_getiv.c"
"libtomcrypt/src/modes/ofb/ofb_setiv.c"
"libtomcrypt/src/modes/ofb/ofb_start.c"
"libtomcrypt/src/modes/xts/xts_decrypt.c"
"libtomcrypt/src/modes/xts/xts_done.c"
"libtomcrypt/src/modes/xts/xts_encrypt.c"
"libtomcrypt/src/modes/xts/xts_init.c"
"libtomcrypt/src/modes/xts/xts_mult_x.c"
"libtomcrypt/src/modes/xts/xts_test.c"
"libtomcrypt/src/pk/asn1/der/bit/der_decode_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_decode_raw_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_encode_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_encode_raw_bit_string.c"
"libtomcrypt/src/pk/asn1/der/bit/der_length_bit_string.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_decode_boolean.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_encode_boolean.c"
"libtomcrypt/src/pk/asn1/der/boolean/der_length_boolean.c"
"libtomcrypt/src/pk/asn1/der/choice/der_decode_choice.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_decode_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_encode_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/generalizedtime/der_length_generalizedtime.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_decode_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_encode_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/ia5/der_length_ia5_string.c"
"libtomcrypt/src/pk/asn1/der/integer/der_decode_integer.c"
"libtomcrypt/src/pk/asn1/der/integer/der_encode_integer.c"
"libtomcrypt/src/pk/asn1/der/integer/der_length_integer.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_decode_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_encode_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/object_identifier/der_length_object_identifier.c"
"libtomcrypt/src/pk/asn1/der/octet/der_decode_octet_string.c"
"libtomcrypt/src/pk/asn1/der/octet/der_encode_octet_string.c"
"libtomcrypt/src/pk/asn1/der/octet/der_length_octet_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_decode_printable_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_encode_printable_string.c"
"libtomcrypt/src/pk/asn1/der/printable_string/der_length_printable_string.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_ex.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_flexi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_multi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_ex.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_multi.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_length_sequence.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_sequence_free.c"
"libtomcrypt/src/pk/asn1/der/sequence/der_sequence_shrink.c"
"libtomcrypt/src/pk/asn1/der/set/der_encode_set.c"
"libtomcrypt/src/pk/asn1/der/set/der_encode_setof.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_decode_short_integer.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_encode_short_integer.c"
"libtomcrypt/src/pk/asn1/der/short_integer/der_length_short_integer.c"
"libtomcrypt/src/pk/asn1/der/teletex_string/der_decode_teletex_string.c"
"libtomcrypt/src/pk/asn1/der/teletex_string/der_length_teletex_string.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_encode_utctime.c"
"libtomcrypt/src/pk/asn1/der/utctime/der_length_utctime.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_decode_utf8_string.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_encode_utf8_string.c"
"libtomcrypt/src/pk/asn1/der/utf8/der_length_utf8_string.c"
"libtomcrypt/src/pk/dh/dh.c"
"libtomcrypt/src/pk/dh/dh_check_pubkey.c"
"libtomcrypt/src/pk/dh/dh_export.c"
"libtomcrypt/src/pk/dh/dh_export_key.c"
"libtomcrypt/src/pk/dh/dh_free.c"
"libtomcrypt/src/pk/dh/dh_generate_key.c"
"libtomcrypt/src/pk/dh/dh_import.c"
"libtomcrypt/src/pk/dh/dh_set.c"
"libtomcrypt/src/pk/dh/dh_set_pg_dhparam.c"
"libtomcrypt/src/pk/dh/dh_shared_secret.c"
"libtomcrypt/src/pk/dsa/dsa_decrypt_key.c"
"libtomcrypt/src/pk/dsa/dsa_encrypt_key.c"
"libtomcrypt/src/pk/dsa/dsa_export.c"
"libtomcrypt/src/pk/dsa/dsa_free.c"
"libtomcrypt/src/pk/dsa/dsa_generate_key.c"
"libtomcrypt/src/pk/dsa/dsa_generate_pqg.c"
"libtomcrypt/src/pk/dsa/dsa_import.c"
"libtomcrypt/src/pk/dsa/dsa_make_key.c"
"libtomcrypt/src/pk/dsa/dsa_set.c"
"libtomcrypt/src/pk/dsa/dsa_set_pqg_dsaparam.c"
"libtomcrypt/src/pk/dsa/dsa_shared_secret.c"
"libtomcrypt/src/pk/dsa/dsa_sign_hash.c"
"libtomcrypt/src/pk/dsa/dsa_verify_hash.c"
"libtomcrypt/src/pk/dsa/dsa_verify_key.c"
"libtomcrypt/src/pk/ecc/ecc.c"
"libtomcrypt/src/pk/ecc/ecc_ansi_x963_export.c"
"libtomcrypt/src/pk/ecc/ecc_ansi_x963_import.c"
"libtomcrypt/src/pk/ecc/ecc_decrypt_key.c"
"libtomcrypt/src/pk/ecc/ecc_encrypt_key.c"
"libtomcrypt/src/pk/ecc/ecc_export.c"
"libtomcrypt/src/pk/ecc/ecc_free.c"
"libtomcrypt/src/pk/ecc/ecc_get_size.c"
"libtomcrypt/src/pk/ecc/ecc_import.c"
"libtomcrypt/src/pk/ecc/ecc_make_key.c"
"libtomcrypt/src/pk/ecc/ecc_shared_secret.c"
"libtomcrypt/src/pk/ecc/ecc_sign_hash.c"
"libtomcrypt/src/pk/ecc/ecc_sizes.c"
"libtomcrypt/src/pk/ecc/ecc_test.c"
"libtomcrypt/src/pk/ecc/ecc_verify_hash.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_is_valid_idx.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_map.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_points.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c"
"libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c"
"libtomcrypt/src/pk/katja/katja_decrypt_key.c"
"libtomcrypt/src/pk/katja/katja_encrypt_key.c"
"libtomcrypt/src/pk/katja/katja_export.c"
"libtomcrypt/src/pk/katja/katja_exptmod.c"
"libtomcrypt/src/pk/katja/katja_free.c"
"libtomcrypt/src/pk/katja/katja_import.c"
"libtomcrypt/src/pk/katja/katja_make_key.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c"
"libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c"
"libtomcrypt/src/pk/rsa/rsa_decrypt_key.c"
"libtomcrypt/src/pk/rsa/rsa_encrypt_key.c"
"libtomcrypt/src/pk/rsa/rsa_export.c"
"libtomcrypt/src/pk/rsa/rsa_exptmod.c"
"libtomcrypt/src/pk/rsa/rsa_free.c"
"libtomcrypt/src/pk/rsa/rsa_get_size.c"
"libtomcrypt/src/pk/rsa/rsa_import.c"
"libtomcrypt/src/pk/rsa/rsa_import_pkcs8.c"
"libtomcrypt/src/pk/rsa/rsa_import_x509.c"
"libtomcrypt/src/pk/rsa/rsa_make_key.c"
"libtomcrypt/src/pk/rsa/rsa_set.c"
"libtomcrypt/src/pk/rsa/rsa_sign_hash.c"
"libtomcrypt/src/pk/rsa/rsa_sign_saltlen_get.c"
"libtomcrypt/src/pk/rsa/rsa_verify_hash.c"
"libtomcrypt/src/prngs/chacha20.c"
"libtomcrypt/src/prngs/fortuna.c"
"libtomcrypt/src/prngs/rc4.c"
"libtomcrypt/src/prngs/rng_get_bytes.c"
"libtomcrypt/src/prngs/rng_make_prng.c"
"libtomcrypt/src/prngs/sober128.c"
"libtomcrypt/src/prngs/sprng.c"
"libtomcrypt/src/prngs/yarrow.c"
"libtomcrypt/src/stream/chacha/chacha_crypt.c"
"libtomcrypt/src/stream/chacha/chacha_done.c"
"libtomcrypt/src/stream/chacha/chacha_ivctr32.c"
"libtomcrypt/src/stream/chacha/chacha_ivctr64.c"
"libtomcrypt/src/stream/chacha/chacha_keystream.c"
"libtomcrypt/src/stream/chacha/chacha_setup.c"
"libtomcrypt/src/stream/chacha/chacha_test.c"
"libtomcrypt/src/stream/rc4/rc4_stream.c"
"libtomcrypt/src/stream/rc4/rc4_test.c"
"libtomcrypt/src/stream/sober128/sober128_stream.c"
"libtomcrypt/src/stream/sober128/sober128_test.c")
set(TOMCRYPT_HPP "libtomcrypt/src/headers/tomcrypt.h"
"libtomcrypt/src/headers/tomcrypt_argchk.h"
"libtomcrypt/src/headers/tomcrypt_cfg.h"
"libtomcrypt/src/headers/tomcrypt_cipher.h"
"libtomcrypt/src/headers/tomcrypt_custom.h"
"libtomcrypt/src/headers/tomcrypt_hash.h"
"libtomcrypt/src/headers/tomcrypt_mac.h"
"libtomcrypt/src/headers/tomcrypt_macros.h"
"libtomcrypt/src/headers/tomcrypt_math.h"
"libtomcrypt/src/headers/tomcrypt_misc.h"
"libtomcrypt/src/headers/tomcrypt_pk.h"
"libtomcrypt/src/headers/tomcrypt_pkcs.h"
"libtomcrypt/src/headers/tomcrypt_prng.h")
set(TOMCRYPT_HPP "libtomcrypt/src/headers/tomcrypt.h"
"libtomcrypt/src/headers/tomcrypt_argchk.h"
"libtomcrypt/src/headers/tomcrypt_cfg.h"
"libtomcrypt/src/headers/tomcrypt_cipher.h"
"libtomcrypt/src/headers/tomcrypt_custom.h"
"libtomcrypt/src/headers/tomcrypt_hash.h"
"libtomcrypt/src/headers/tomcrypt_mac.h"
"libtomcrypt/src/headers/tomcrypt_macros.h"
"libtomcrypt/src/headers/tomcrypt_math.h"
"libtomcrypt/src/headers/tomcrypt_misc.h"
"libtomcrypt/src/headers/tomcrypt_pk.h"
"libtomcrypt/src/headers/tomcrypt_pkcs.h"
"libtomcrypt/src/headers/tomcrypt_prng.h")
source_group("" FILES ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
source_group("" FILES ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
add_library("tomcrypt" STATIC ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
add_library("tomcrypt" STATIC ${TOMCRYPT_SRC} ${TOMCRYPT_HPP})
set_property(TARGET "tomcrypt" PROPERTY FOLDER "External Libraries")
set_property(TARGET "tomcrypt" PROPERTY FOLDER "External Libraries")
# Required since building from the source.
target_compile_definitions("tomcrypt" PRIVATE LTC_SOURCE)
# Required since building from the source.
target_compile_definitions("tomcrypt" PRIVATE LTC_SOURCE)
# Required since tommath is a dependency.
target_compile_definitions("tomcrypt" PUBLIC LTM_DESC)
# Required since tommath is a dependency.
target_compile_definitions("tomcrypt" PUBLIC LTM_DESC)
# This was defined behind an always active block.
target_compile_definitions("tomcrypt" PRIVATE LTC_DEVRANDOM)
# This was defined behind an always active block.
target_compile_definitions("tomcrypt" PRIVATE LTC_DEVRANDOM)
# Common formulas used by our app.
target_compile_definitions("tomcrypt" PRIVATE LTC_SHA256)
target_compile_definitions("tomcrypt" PRIVATE LTC_SHA1)
target_compile_definitions("tomcrypt" PRIVATE LTC_MD5)
# Common formulas used by our app.
target_compile_definitions("tomcrypt" PRIVATE LTC_SHA256)
target_compile_definitions("tomcrypt" PRIVATE LTC_SHA1)
target_compile_definitions("tomcrypt" PRIVATE LTC_MD5)
# Use the full AES encryption items.
target_compile_definitions("tomcrypt" PRIVATE LTC_YARROW)
target_compile_definitions("tomcrypt" PRIVATE LTC_YARROW_AES=3)
# Use the full AES encryption items.
target_compile_definitions("tomcrypt" PRIVATE LTC_YARROW)
target_compile_definitions("tomcrypt" PRIVATE LTC_YARROW_AES=3)
# Other definitions we used in the past, but whose meanings are not clear.
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PKCS)
target_compile_definitions("tomcrypt" PRIVATE LTC_PKCS_1)
target_compile_definitions("tomcrypt" PRIVATE LTC_DER)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_MODES)
target_compile_definitions("tomcrypt" PRIVATE LTC_ECB_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_CBC_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_CTR_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_HASHES)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_MACS) # no MAC (message authentication code) support
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PRNGS)
target_compile_definitions("tomcrypt" PRIVATE LTC_RNG_GET_BYTES)
target_compile_definitions("tomcrypt" PRIVATE LTC_RNG_MAKE_PRNG)
target_compile_definitions("tomcrypt" PRIVATE LTC_TRY_URANDOM_FIRST)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PK)
target_compile_definitions("tomcrypt" PRIVATE LTC_MRSA)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PROTOTYPES)
# Other definitions we used in the past, but whose meanings are not clear.
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PKCS)
target_compile_definitions("tomcrypt" PRIVATE LTC_PKCS_1)
target_compile_definitions("tomcrypt" PRIVATE LTC_DER)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_MODES)
target_compile_definitions("tomcrypt" PRIVATE LTC_ECB_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_CBC_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_CTR_MODE)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_HASHES)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_MACS) # no MAC (message authentication code) support
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PRNGS)
target_compile_definitions("tomcrypt" PRIVATE LTC_RNG_GET_BYTES)
target_compile_definitions("tomcrypt" PRIVATE LTC_RNG_MAKE_PRNG)
target_compile_definitions("tomcrypt" PRIVATE LTC_TRY_URANDOM_FIRST)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PK)
target_compile_definitions("tomcrypt" PRIVATE LTC_MRSA)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_PROTOTYPES)
if(WITH_PORTABLE_TOMCRYPT)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_ASM)
endif()
if(WITH_NO_ROLC_TOMCRYPT)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_ROLC)
endif()
if(APPLE)
set_property(TARGET "tomcrypt" PROPERTY XCODE_ATTRIBUTE_GCC_NO_COMMON_BLOCKS "YES")
endif()
if(MSVC)
target_compile_definitions("tomcrypt" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
disable_project_warnings("tomcrypt")
target_link_libraries("tomcrypt" "tommath")
target_include_directories("tomcrypt" PUBLIC "libtomcrypt/src/headers")
if(WITH_PORTABLE_TOMCRYPT)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_ASM)
endif()
if(WITH_NO_ROLC_TOMCRYPT)
target_compile_definitions("tomcrypt" PRIVATE LTC_NO_ROLC)
endif()
if(APPLE)
set_property(TARGET "tomcrypt" PROPERTY XCODE_ATTRIBUTE_GCC_NO_COMMON_BLOCKS "YES")
endif()
if(MSVC)
target_compile_definitions("tomcrypt" PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()
disable_project_warnings("tomcrypt")
target_link_libraries("tomcrypt" "tommath")
target_include_directories("tomcrypt" PUBLIC "libtomcrypt/src/headers")
+173 -180
View File
@@ -1,187 +1,180 @@
if(WITH_SYSTEM_TOMMATH)
find_library(TOMMATH_LIBRARY tommath)
if(TOMMATH_LIBRARY MATCHES "TOMMATH_LIBRARY-NOTFOUND")
message(FATAL_ERROR "Need tommath.")
endif()
else()
set(TOMMATH_SRC "libtommath/bn_cutoffs.c"
"libtommath/bn_deprecated.c"
"libtommath/bn_mp_2expt.c"
"libtommath/bn_mp_abs.c"
"libtommath/bn_mp_add.c"
"libtommath/bn_mp_add_d.c"
"libtommath/bn_mp_addmod.c"
"libtommath/bn_mp_and.c"
"libtommath/bn_mp_clamp.c"
"libtommath/bn_mp_clear.c"
"libtommath/bn_mp_clear_multi.c"
"libtommath/bn_mp_cmp.c"
"libtommath/bn_mp_cmp_d.c"
"libtommath/bn_mp_cmp_mag.c"
"libtommath/bn_mp_cnt_lsb.c"
"libtommath/bn_mp_complement.c"
"libtommath/bn_mp_copy.c"
"libtommath/bn_mp_count_bits.c"
"libtommath/bn_mp_decr.c"
"libtommath/bn_mp_div_2.c"
"libtommath/bn_mp_div_2d.c"
"libtommath/bn_mp_div_3.c"
"libtommath/bn_mp_div.c"
"libtommath/bn_mp_div_d.c"
"libtommath/bn_mp_dr_is_modulus.c"
"libtommath/bn_mp_dr_reduce.c"
"libtommath/bn_mp_dr_setup.c"
"libtommath/bn_mp_error_to_string.c"
"libtommath/bn_mp_exch.c"
"libtommath/bn_mp_exptmod.c"
"libtommath/bn_mp_expt_u32.c"
"libtommath/bn_mp_exteuclid.c"
"libtommath/bn_mp_fread.c"
"libtommath/bn_mp_from_sbin.c"
"libtommath/bn_mp_from_ubin.c"
"libtommath/bn_mp_fwrite.c"
"libtommath/bn_mp_gcd.c"
"libtommath/bn_mp_get_double.c"
"libtommath/bn_mp_get_i32.c"
"libtommath/bn_mp_get_i64.c"
"libtommath/bn_mp_get_l.c"
"libtommath/bn_mp_get_ll.c"
"libtommath/bn_mp_get_mag_u32.c"
"libtommath/bn_mp_get_mag_u64.c"
"libtommath/bn_mp_get_mag_ul.c"
"libtommath/bn_mp_get_mag_ull.c"
"libtommath/bn_mp_grow.c"
"libtommath/bn_mp_incr.c"
"libtommath/bn_mp_init.c"
"libtommath/bn_mp_init_copy.c"
"libtommath/bn_mp_init_i32.c"
"libtommath/bn_mp_init_i64.c"
"libtommath/bn_mp_init_l.c"
"libtommath/bn_mp_init_ll.c"
"libtommath/bn_mp_init_multi.c"
"libtommath/bn_mp_init_set.c"
"libtommath/bn_mp_init_size.c"
"libtommath/bn_mp_init_u32.c"
"libtommath/bn_mp_init_u64.c"
"libtommath/bn_mp_init_ul.c"
"libtommath/bn_mp_init_ull.c"
"libtommath/bn_mp_invmod.c"
"libtommath/bn_mp_iseven.c"
"libtommath/bn_mp_isodd.c"
"libtommath/bn_mp_is_square.c"
"libtommath/bn_mp_kronecker.c"
"libtommath/bn_mp_lcm.c"
"libtommath/bn_mp_log_u32.c"
"libtommath/bn_mp_lshd.c"
"libtommath/bn_mp_mod_2d.c"
"libtommath/bn_mp_mod.c"
"libtommath/bn_mp_mod_d.c"
"libtommath/bn_mp_montgomery_calc_normalization.c"
"libtommath/bn_mp_montgomery_reduce.c"
"libtommath/bn_mp_montgomery_setup.c"
"libtommath/bn_mp_mul_2.c"
"libtommath/bn_mp_mul_2d.c"
"libtommath/bn_mp_mul.c"
"libtommath/bn_mp_mul_d.c"
"libtommath/bn_mp_mulmod.c"
"libtommath/bn_mp_neg.c"
"libtommath/bn_mp_or.c"
"libtommath/bn_mp_pack.c"
"libtommath/bn_mp_pack_count.c"
"libtommath/bn_mp_prime_fermat.c"
"libtommath/bn_mp_prime_frobenius_underwood.c"
"libtommath/bn_mp_prime_is_prime.c"
"libtommath/bn_mp_prime_miller_rabin.c"
"libtommath/bn_mp_prime_next_prime.c"
"libtommath/bn_mp_prime_rabin_miller_trials.c"
"libtommath/bn_mp_prime_rand.c"
"libtommath/bn_mp_prime_strong_lucas_selfridge.c"
"libtommath/bn_mp_radix_size.c"
"libtommath/bn_mp_radix_smap.c"
"libtommath/bn_mp_rand.c"
"libtommath/bn_mp_read_radix.c"
"libtommath/bn_mp_reduce_2k.c"
"libtommath/bn_mp_reduce_2k_l.c"
"libtommath/bn_mp_reduce_2k_setup.c"
"libtommath/bn_mp_reduce_2k_setup_l.c"
"libtommath/bn_mp_reduce.c"
"libtommath/bn_mp_reduce_is_2k.c"
"libtommath/bn_mp_reduce_is_2k_l.c"
"libtommath/bn_mp_reduce_setup.c"
"libtommath/bn_mp_root_u32.c"
"libtommath/bn_mp_rshd.c"
"libtommath/bn_mp_sbin_size.c"
"libtommath/bn_mp_set.c"
"libtommath/bn_mp_set_double.c"
"libtommath/bn_mp_set_i32.c"
"libtommath/bn_mp_set_i64.c"
"libtommath/bn_mp_set_l.c"
"libtommath/bn_mp_set_ll.c"
"libtommath/bn_mp_set_u32.c"
"libtommath/bn_mp_set_u64.c"
"libtommath/bn_mp_set_ul.c"
"libtommath/bn_mp_set_ull.c"
"libtommath/bn_mp_shrink.c"
"libtommath/bn_mp_signed_rsh.c"
"libtommath/bn_mp_sqr.c"
"libtommath/bn_mp_sqrmod.c"
"libtommath/bn_mp_sqrt.c"
"libtommath/bn_mp_sqrtmod_prime.c"
"libtommath/bn_mp_sub.c"
"libtommath/bn_mp_sub_d.c"
"libtommath/bn_mp_submod.c"
"libtommath/bn_mp_to_radix.c"
"libtommath/bn_mp_to_sbin.c"
"libtommath/bn_mp_to_ubin.c"
"libtommath/bn_mp_ubin_size.c"
"libtommath/bn_mp_unpack.c"
"libtommath/bn_mp_xor.c"
"libtommath/bn_mp_zero.c"
"libtommath/bn_prime_tab.c"
"libtommath/bn_s_mp_add.c"
"libtommath/bn_s_mp_balance_mul.c"
"libtommath/bn_s_mp_exptmod.c"
"libtommath/bn_s_mp_exptmod_fast.c"
"libtommath/bn_s_mp_get_bit.c"
"libtommath/bn_s_mp_invmod_fast.c"
"libtommath/bn_s_mp_invmod_slow.c"
"libtommath/bn_s_mp_karatsuba_mul.c"
"libtommath/bn_s_mp_karatsuba_sqr.c"
"libtommath/bn_s_mp_montgomery_reduce_fast.c"
"libtommath/bn_s_mp_mul_digs.c"
"libtommath/bn_s_mp_mul_digs_fast.c"
"libtommath/bn_s_mp_mul_high_digs.c"
"libtommath/bn_s_mp_mul_high_digs_fast.c"
"libtommath/bn_s_mp_prime_is_divisible.c"
"libtommath/bn_s_mp_rand_jenkins.c"
"libtommath/bn_s_mp_rand_platform.c"
"libtommath/bn_s_mp_reverse.c"
"libtommath/bn_s_mp_sqr.c"
"libtommath/bn_s_mp_sqr_fast.c"
"libtommath/bn_s_mp_sub.c"
"libtommath/bn_s_mp_toom_mul.c"
"libtommath/bn_s_mp_toom_sqr.c")
set(TOMMATH_SRC "libtommath/bn_cutoffs.c"
"libtommath/bn_deprecated.c"
"libtommath/bn_mp_2expt.c"
"libtommath/bn_mp_abs.c"
"libtommath/bn_mp_add.c"
"libtommath/bn_mp_add_d.c"
"libtommath/bn_mp_addmod.c"
"libtommath/bn_mp_and.c"
"libtommath/bn_mp_clamp.c"
"libtommath/bn_mp_clear.c"
"libtommath/bn_mp_clear_multi.c"
"libtommath/bn_mp_cmp.c"
"libtommath/bn_mp_cmp_d.c"
"libtommath/bn_mp_cmp_mag.c"
"libtommath/bn_mp_cnt_lsb.c"
"libtommath/bn_mp_complement.c"
"libtommath/bn_mp_copy.c"
"libtommath/bn_mp_count_bits.c"
"libtommath/bn_mp_decr.c"
"libtommath/bn_mp_div_2.c"
"libtommath/bn_mp_div_2d.c"
"libtommath/bn_mp_div_3.c"
"libtommath/bn_mp_div.c"
"libtommath/bn_mp_div_d.c"
"libtommath/bn_mp_dr_is_modulus.c"
"libtommath/bn_mp_dr_reduce.c"
"libtommath/bn_mp_dr_setup.c"
"libtommath/bn_mp_error_to_string.c"
"libtommath/bn_mp_exch.c"
"libtommath/bn_mp_exptmod.c"
"libtommath/bn_mp_expt_u32.c"
"libtommath/bn_mp_exteuclid.c"
"libtommath/bn_mp_fread.c"
"libtommath/bn_mp_from_sbin.c"
"libtommath/bn_mp_from_ubin.c"
"libtommath/bn_mp_fwrite.c"
"libtommath/bn_mp_gcd.c"
"libtommath/bn_mp_get_double.c"
"libtommath/bn_mp_get_i32.c"
"libtommath/bn_mp_get_i64.c"
"libtommath/bn_mp_get_l.c"
"libtommath/bn_mp_get_ll.c"
"libtommath/bn_mp_get_mag_u32.c"
"libtommath/bn_mp_get_mag_u64.c"
"libtommath/bn_mp_get_mag_ul.c"
"libtommath/bn_mp_get_mag_ull.c"
"libtommath/bn_mp_grow.c"
"libtommath/bn_mp_incr.c"
"libtommath/bn_mp_init.c"
"libtommath/bn_mp_init_copy.c"
"libtommath/bn_mp_init_i32.c"
"libtommath/bn_mp_init_i64.c"
"libtommath/bn_mp_init_l.c"
"libtommath/bn_mp_init_ll.c"
"libtommath/bn_mp_init_multi.c"
"libtommath/bn_mp_init_set.c"
"libtommath/bn_mp_init_size.c"
"libtommath/bn_mp_init_u32.c"
"libtommath/bn_mp_init_u64.c"
"libtommath/bn_mp_init_ul.c"
"libtommath/bn_mp_init_ull.c"
"libtommath/bn_mp_invmod.c"
"libtommath/bn_mp_iseven.c"
"libtommath/bn_mp_isodd.c"
"libtommath/bn_mp_is_square.c"
"libtommath/bn_mp_kronecker.c"
"libtommath/bn_mp_lcm.c"
"libtommath/bn_mp_log_u32.c"
"libtommath/bn_mp_lshd.c"
"libtommath/bn_mp_mod_2d.c"
"libtommath/bn_mp_mod.c"
"libtommath/bn_mp_mod_d.c"
"libtommath/bn_mp_montgomery_calc_normalization.c"
"libtommath/bn_mp_montgomery_reduce.c"
"libtommath/bn_mp_montgomery_setup.c"
"libtommath/bn_mp_mul_2.c"
"libtommath/bn_mp_mul_2d.c"
"libtommath/bn_mp_mul.c"
"libtommath/bn_mp_mul_d.c"
"libtommath/bn_mp_mulmod.c"
"libtommath/bn_mp_neg.c"
"libtommath/bn_mp_or.c"
"libtommath/bn_mp_pack.c"
"libtommath/bn_mp_pack_count.c"
"libtommath/bn_mp_prime_fermat.c"
"libtommath/bn_mp_prime_frobenius_underwood.c"
"libtommath/bn_mp_prime_is_prime.c"
"libtommath/bn_mp_prime_miller_rabin.c"
"libtommath/bn_mp_prime_next_prime.c"
"libtommath/bn_mp_prime_rabin_miller_trials.c"
"libtommath/bn_mp_prime_rand.c"
"libtommath/bn_mp_prime_strong_lucas_selfridge.c"
"libtommath/bn_mp_radix_size.c"
"libtommath/bn_mp_radix_smap.c"
"libtommath/bn_mp_rand.c"
"libtommath/bn_mp_read_radix.c"
"libtommath/bn_mp_reduce_2k.c"
"libtommath/bn_mp_reduce_2k_l.c"
"libtommath/bn_mp_reduce_2k_setup.c"
"libtommath/bn_mp_reduce_2k_setup_l.c"
"libtommath/bn_mp_reduce.c"
"libtommath/bn_mp_reduce_is_2k.c"
"libtommath/bn_mp_reduce_is_2k_l.c"
"libtommath/bn_mp_reduce_setup.c"
"libtommath/bn_mp_root_u32.c"
"libtommath/bn_mp_rshd.c"
"libtommath/bn_mp_sbin_size.c"
"libtommath/bn_mp_set.c"
"libtommath/bn_mp_set_double.c"
"libtommath/bn_mp_set_i32.c"
"libtommath/bn_mp_set_i64.c"
"libtommath/bn_mp_set_l.c"
"libtommath/bn_mp_set_ll.c"
"libtommath/bn_mp_set_u32.c"
"libtommath/bn_mp_set_u64.c"
"libtommath/bn_mp_set_ul.c"
"libtommath/bn_mp_set_ull.c"
"libtommath/bn_mp_shrink.c"
"libtommath/bn_mp_signed_rsh.c"
"libtommath/bn_mp_sqr.c"
"libtommath/bn_mp_sqrmod.c"
"libtommath/bn_mp_sqrt.c"
"libtommath/bn_mp_sqrtmod_prime.c"
"libtommath/bn_mp_sub.c"
"libtommath/bn_mp_sub_d.c"
"libtommath/bn_mp_submod.c"
"libtommath/bn_mp_to_radix.c"
"libtommath/bn_mp_to_sbin.c"
"libtommath/bn_mp_to_ubin.c"
"libtommath/bn_mp_ubin_size.c"
"libtommath/bn_mp_unpack.c"
"libtommath/bn_mp_xor.c"
"libtommath/bn_mp_zero.c"
"libtommath/bn_prime_tab.c"
"libtommath/bn_s_mp_add.c"
"libtommath/bn_s_mp_balance_mul.c"
"libtommath/bn_s_mp_exptmod.c"
"libtommath/bn_s_mp_exptmod_fast.c"
"libtommath/bn_s_mp_get_bit.c"
"libtommath/bn_s_mp_invmod_fast.c"
"libtommath/bn_s_mp_invmod_slow.c"
"libtommath/bn_s_mp_karatsuba_mul.c"
"libtommath/bn_s_mp_karatsuba_sqr.c"
"libtommath/bn_s_mp_montgomery_reduce_fast.c"
"libtommath/bn_s_mp_mul_digs.c"
"libtommath/bn_s_mp_mul_digs_fast.c"
"libtommath/bn_s_mp_mul_high_digs.c"
"libtommath/bn_s_mp_mul_high_digs_fast.c"
"libtommath/bn_s_mp_prime_is_divisible.c"
"libtommath/bn_s_mp_rand_jenkins.c"
"libtommath/bn_s_mp_rand_platform.c"
"libtommath/bn_s_mp_reverse.c"
"libtommath/bn_s_mp_sqr.c"
"libtommath/bn_s_mp_sqr_fast.c"
"libtommath/bn_s_mp_sub.c"
"libtommath/bn_s_mp_toom_mul.c"
"libtommath/bn_s_mp_toom_sqr.c")
set(TOMMATH_HPP "libtommath/tommath_class.h"
"libtommath/tommath_cutoffs.h"
"libtommath/tommath.h"
"libtommath/tommath_private.h"
"libtommath/tommath_superclass.h")
set(TOMMATH_HPP "libtommath/tommath_class.h"
"libtommath/tommath_cutoffs.h"
"libtommath/tommath.h"
"libtommath/tommath_private.h"
"libtommath/tommath_superclass.h")
source_group("" FILES ${TOMMATH_SRC} ${TOMMATH_HPP})
source_group("" FILES ${TOMMATH_SRC} ${TOMMATH_HPP})
add_library("tommath" STATIC ${TOMMATH_SRC} ${TOMMATH_HPP})
add_library("tommath" STATIC ${TOMMATH_SRC} ${TOMMATH_HPP})
set_property(TARGET "tommath" PROPERTY FOLDER "External Libraries")
set_property(TARGET "tommath" PROPERTY FOLDER "External Libraries")
if(MSVC)
# XXX: tommath depends on dead code elimination, so optimizations *have* to be on
string(REGEX REPLACE "/RTC1" "" CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
set_property(TARGET "tommath" PROPERTY COMPILE_FLAGS "/Ox")
endif()
disable_project_warnings("tommath")
target_include_directories("tommath" PUBLIC "libtommath")
if(MSVC)
# XXX: tommath depends on dead code elimination, so optimizations *have* to be on
string(REGEX REPLACE "/RTC1" "" CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
set_property(TARGET "tommath" PROPERTY COMPILE_FLAGS "/Ox")
endif()
disable_project_warnings("tommath")
target_include_directories("tommath" PUBLIC "libtommath")
+34 -38
View File
@@ -1,45 +1,41 @@
if(WITH_SYSTEM_ZLIB)
find_package(ZLIB REQUIRED)
else()
set(ZLIB_SRC "zlib/adler32.c"
"zlib/compress.c"
"zlib/crc32.c"
"zlib/deflate.c"
"zlib/gzclose.c"
"zlib/gzlib.c"
"zlib/gzread.c"
"zlib/gzwrite.c"
"zlib/infback.c"
"zlib/inffast.c"
"zlib/inflate.c"
"zlib/inftrees.c"
"zlib/trees.c"
"zlib/uncompr.c"
"zlib/zutil.c")
set(ZLIB_SRC "zlib/adler32.c"
"zlib/compress.c"
"zlib/crc32.c"
"zlib/deflate.c"
"zlib/gzclose.c"
"zlib/gzlib.c"
"zlib/gzread.c"
"zlib/gzwrite.c"
"zlib/infback.c"
"zlib/inffast.c"
"zlib/inflate.c"
"zlib/inftrees.c"
"zlib/trees.c"
"zlib/uncompr.c"
"zlib/zutil.c")
set(ZLIB_HPP "zlib/crc32.h"
"zlib/deflate.h"
"zlib/gzguts.h"
"zlib/inffast.h"
"zlib/inffixed.h"
"zlib/inflate.h"
"zlib/inftrees.h"
"zlib/trees.h"
"zlib/zconf.h"
"zlib/zlib.h"
"zlib/zutil.h")
set(ZLIB_HPP "zlib/crc32.h"
"zlib/deflate.h"
"zlib/gzguts.h"
"zlib/inffast.h"
"zlib/inffixed.h"
"zlib/inflate.h"
"zlib/inftrees.h"
"zlib/trees.h"
"zlib/zconf.h"
"zlib/zlib.h"
"zlib/zutil.h")
source_group("" FILES ${ZLIB_SRC} ${ZLIB_HPP})
source_group("" FILES ${ZLIB_SRC} ${ZLIB_HPP})
add_library("zlib" STATIC ${ZLIB_SRC} ${ZLIB_HPP})
add_library("zlib" STATIC ${ZLIB_SRC} ${ZLIB_HPP})
set_property(TARGET "zlib" PROPERTY FOLDER "External Libraries")
set_property(TARGET "zlib" PROPERTY FOLDER "External Libraries")
disable_project_warnings("zlib")
disable_project_warnings("zlib")
if(MSVC)
target_compile_definitions("zlib" PRIVATE _MBCS)
endif(MSVC)
if(MSVC)
target_compile_definitions("zlib" PRIVATE _MBCS)
endif(MSVC)
target_include_directories("zlib" PUBLIC "zlib")
endif()
target_include_directories("zlib" PUBLIC "zlib")
+3 -21
View File
@@ -80,34 +80,16 @@ source_group("Arch Specific\\\\Sound"
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_SRC
"arch/MovieTexture/MovieTexture.cpp"
"arch/MovieTexture/MovieTexture_FFMpeg.cpp"
"arch/MovieTexture/MovieTexture_Generic.cpp"
"arch/MovieTexture/MovieTexture_Null.cpp")
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_HPP
"arch/MovieTexture/MovieTexture.h"
"arch/MovieTexture/MovieTexture_FFMpeg.h"
"arch/MovieTexture/MovieTexture_Generic.h"
"arch/MovieTexture/MovieTexture_Null.h")
if(APPLE)
if(${HAS_FFMPEG})
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_SRC
"arch/MovieTexture/MovieTexture_FFMpeg.cpp")
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_HPP
"arch/MovieTexture/MovieTexture_FFMpeg.h")
endif()
elseif(MSVC)
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_SRC
"arch/MovieTexture/MovieTexture_FFMpeg.cpp")
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_HPP
"arch/MovieTexture/MovieTexture_FFMpeg.h")
else() # Unix
if(${HAS_FFMPEG})
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_SRC
"arch/MovieTexture/MovieTexture_FFMpeg.cpp")
list(APPEND SMDATA_ARCH_MOVIE_TEXTURE_HPP
"arch/MovieTexture/MovieTexture_FFMpeg.h")
endif()
endif()
source_group("Arch Specific\\\\Movie Texture"
FILES
${SMDATA_ARCH_MOVIE_TEXTURE_SRC}
+6 -10
View File
@@ -75,6 +75,7 @@ list(APPEND SMDATA_RAGE_GRAPHICS_SRC
"RageTextureManager.cpp"
"RageTexturePreloader.cpp"
"RageTextureRenderTarget.cpp")
list(APPEND SMDATA_RAGE_GRAPHICS_HPP
"RageBitmapTexture.h"
"RageDisplay.h"
@@ -162,6 +163,7 @@ list(APPEND SMDATA_RAGE_SOUND_SRC
"RageSoundReader_ChannelSplit.cpp"
"RageSoundReader_Extend.cpp"
"RageSoundReader_FileReader.cpp"
"RageSoundReader_MP3.cpp"
"RageSoundReader_Merge.cpp"
"RageSoundReader_Pan.cpp"
"RageSoundReader_PitchChange.cpp"
@@ -170,8 +172,10 @@ list(APPEND SMDATA_RAGE_SOUND_SRC
"RageSoundReader_Resample_Good.cpp"
"RageSoundReader_SpeedChange.cpp"
"RageSoundReader_ThreadedBuffer.cpp"
"RageSoundReader_Vorbisfile.cpp"
"RageSoundReader_WAV.cpp"
"RageSoundUtil.cpp")
list(APPEND SMDATA_RAGE_SOUND_HPP
"RageSound.h"
"RageSoundManager.h"
@@ -183,6 +187,7 @@ list(APPEND SMDATA_RAGE_SOUND_HPP
"RageSoundReader_Extend.h"
"RageSoundReader_FileReader.h"
"RageSoundReader_Filter.h"
"RageSoundReader_MP3.h"
"RageSoundReader_Merge.h"
"RageSoundReader_Pan.h"
"RageSoundReader_PitchChange.h"
@@ -191,19 +196,10 @@ list(APPEND SMDATA_RAGE_SOUND_HPP
"RageSoundReader_Resample_Good.h"
"RageSoundReader_SpeedChange.h"
"RageSoundReader_ThreadedBuffer.h"
"RageSoundReader_Vorbisfile.h"
"RageSoundReader_WAV.h"
"RageSoundUtil.h")
if(HAS_OGG)
list(APPEND SMDATA_RAGE_SOUND_SRC "RageSoundReader_Vorbisfile.cpp")
list(APPEND SMDATA_RAGE_SOUND_HPP "RageSoundReader_Vorbisfile.h")
endif()
if(HAS_MP3)
list(APPEND SMDATA_RAGE_SOUND_SRC "RageSoundReader_MP3.cpp")
list(APPEND SMDATA_RAGE_SOUND_HPP "RageSoundReader_MP3.h")
endif()
source_group("Rage\\\\Sound"
FILES
${SMDATA_RAGE_SOUND_SRC}
+41 -152
View File
@@ -214,10 +214,6 @@ elseif(APPLE)
target_compile_definitions("${SM_EXE_NAME}" PRIVATE _XOPEN_SOURCE)
if(${HAS_FFMPEG})
target_compile_definitions("${SM_EXE_NAME}" PRIVATE HAVE_FFMPEG)
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(SM_APP_RELEASE_NAME "${SM_NAME_DEBUG}")
elseif(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
@@ -292,9 +288,6 @@ else() # Linux
message("Unrecognized host processor type")
endif()
endif()
if(${HAS_FFMPEG})
target_compile_definitions("${SM_EXE_NAME}" PRIVATE HAVE_FFMPEG)
endif()
if(${HAS_XRANDR})
target_compile_definitions("${SM_EXE_NAME}" PRIVATE HAVE_XRANDR)
endif()
@@ -324,79 +317,19 @@ set_property(TARGET "${SM_EXE_NAME}" PROPERTY FOLDER "Internal Libraries")
list(APPEND SMDATA_LINK_LIB "lua-5.1" "miniz")
include(../extern/CMakeProject-mmmagic.cmake)
if(HAS_MP3)
if(WITH_SYSTEM_MAD)
list(APPEND SMDATA_LINK_LIB ${LIBMAD_LIBRARY})
else()
list(APPEND SMDATA_LINK_LIB "mad")
endif()
endif()
if(WITH_SYSTEM_PCRE)
list(APPEND SMDATA_LINK_LIB ${PCRE_LIBRARY})
else()
list(APPEND SMDATA_LINK_LIB "pcre")
endif()
if(WITH_SYSTEM_GLEW)
list(APPEND SMDATA_LINK_LIB ${GLEW_LIBRARIES} ${GLEW_LIBRARY_RELEASE})
list(APPEND SM_INCLUDE_DIRS ${GLEW_INCLUDE_DIRS})
else()
list(APPEND SMDATA_LINK_LIB "glew")
endif()
if(WITH_SYSTEM_TOMCRYPT)
target_compile_definitions("${SM_EXE_NAME}" PRIVATE LTM_DESC)
list(APPEND SMDATA_LINK_LIB ${TOMCRYPT_LIBRARY})
else()
list(APPEND SMDATA_LINK_LIB "tomcrypt")
endif()
if(WITH_SYSTEM_TOMMATH)
list(APPEND SMDATA_LINK_LIB ${TOMMATH_LIBRARY})
else()
list(APPEND SMDATA_LINK_LIB "tommath")
endif()
if(WITH_SYSTEM_JPEG)
list(APPEND SMDATA_LINK_LIB ${JPEG_LIBRARIES})
else()
list(APPEND SMDATA_LINK_LIB "jpeg")
endif()
if(WITH_SYSTEM_ZLIB)
list(APPEND SMDATA_LINK_LIB ${ZLIB_LIBRARIES} ${ZLIB_LIBRARY_RELEASE})
else()
list(APPEND SMDATA_LINK_LIB "zlib")
endif()
if(WITH_SYSTEM_PNG)
list(APPEND SMDATA_LINK_LIB ${PNG_LIBRARIES})
else()
list(APPEND SMDATA_LINK_LIB "png")
endif()
if(WITH_SYSTEM_JSONCPP)
list(APPEND SMDATA_LINK_LIB ${JSONCPP_LIBRARIES})
else()
list(APPEND SMDATA_LINK_LIB "jsoncpp")
endif()
if(WITH_OGG)
if(WITH_SYSTEM_OGG)
list(APPEND SMDATA_LINK_LIB
"${VORBISFILE_LIBRARY}"
"${VORBIS_LIBRARY}"
"${OGG_LIBRARY}")
else()
list(APPEND SMDATA_LINK_LIB
"vorbisfile"
"vorbis"
"ogg")
endif()
endif()
list(APPEND SMDATA_LINK_LIB "ixwebsocket")
list(APPEND SMDATA_LINK_LIB "mad"
"pcre"
"glew"
"tomcrypt"
"tommath"
"jpeg"
"zlib"
"png"
"jsoncpp"
"vorbisfile"
"vorbis"
"ogg"
"ixwebsocket")
if(WIN32)
list(APPEND SMDATA_LINK_LIB
@@ -430,9 +363,6 @@ if(WIN32)
PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
elseif(APPLE)
# The following were removed from SMDATA_LINK_LIB to "match" StepMania's
# pbxproj. ${MAC_FRAME_APPKIT} ${MAC_FRAME_FOUNDATION} "ffmpeg"
list(INSERT SMDATA_LINK_LIB
0
${MAC_FRAME_ACCELERATE}
@@ -445,51 +375,29 @@ elseif(APPLE)
${MAC_FRAME_AUDIOUNIT}
${MAC_FRAME_COREAUDIO}
${MAC_FRAME_CORESERVICES}
${MAC_FRAME_SYSTEM})
list(APPEND SMDATA_LINK_LIB
${MAC_FRAME_SYSTEM}
"${BZIP2_LIBRARY_RELEASE}"
"${ICONV_LIBRARIES}")
if(HAS_FFMPEG)
list(APPEND SMDATA_LINK_LIB
"${SM_FFMPEG_LIB_ARM64}/libavformat.a"
"${SM_FFMPEG_LIB_ARM64}/libavcodec.a"
"${SM_FFMPEG_LIB_ARM64}/libswscale.a"
"${SM_FFMPEG_LIB_ARM64}/libavutil.a"
"${SM_FFMPEG_LIB_X86_64}/libavformat.a"
"${SM_FFMPEG_LIB_X86_64}/libavcodec.a"
"${SM_FFMPEG_LIB_X86_64}/libswscale.a"
"${SM_FFMPEG_LIB_X86_64}/libavutil.a"
"${MAC_FRAME_COREMEDIA}"
"${MAC_FRAME_COREVIDEO}"
"${MAC_FRAME_VIDEOTOOLBOX}")
endif()
"${ICONV_LIBRARIES}"
"${SM_FFMPEG_LIB_ARM64}/libavformat.a"
"${SM_FFMPEG_LIB_ARM64}/libavcodec.a"
"${SM_FFMPEG_LIB_ARM64}/libswscale.a"
"${SM_FFMPEG_LIB_ARM64}/libavutil.a"
"${SM_FFMPEG_LIB_X86_64}/libavformat.a"
"${SM_FFMPEG_LIB_X86_64}/libavcodec.a"
"${SM_FFMPEG_LIB_X86_64}/libswscale.a"
"${SM_FFMPEG_LIB_X86_64}/libavutil.a"
"${MAC_FRAME_COREMEDIA}"
"${MAC_FRAME_COREVIDEO}"
"${MAC_FRAME_VIDEOTOOLBOX}")
else() # Unix / Linux TODO: Remember to find and locate the zip archive files.
if(HAS_FFMPEG)
if(WITH_SYSTEM_FFMPEG)
list(APPEND SMDATA_LINK_LIB
"${FFMPEG_avformat_LIBRARY}"
"${FFMPEG_avcodec_LIBRARY}"
"${FFMPEG_swscale_LIBRARY}"
"${FFMPEG_avutil_LIBRARY}")
else()
list(APPEND SMDATA_LINK_LIB
"${SM_FFMPEG_LIB}/libavformat.a"
"${SM_FFMPEG_LIB}/libavcodec.a"
"${SM_FFMPEG_LIB}/libswscale.a"
"${SM_FFMPEG_LIB}/libavutil.a")
endif()
list(APPEND SMDATA_LINK_LIB
"${SM_FFMPEG_LIB}/libavformat.a"
"${SM_FFMPEG_LIB}/libavcodec.a"
"${SM_FFMPEG_LIB}/libswscale.a"
"${SM_FFMPEG_LIB}/libavutil.a")
if(NOT WITH_SYSTEM_ZLIB)
list(REMOVE_ITEM SMDATA_LINK_LIB "zlib")
list(APPEND SMDATA_LINK_LIB "zlib")
endif()
if(NOT WITH_SYSTEM_FFMPEG)
list(APPEND SMDATA_LINK_LIB ${VA_LIBRARY})
list(APPEND SMDATA_LINK_LIB ${VA_DRM_LIBRARY})
endif()
endif()
list(REMOVE_ITEM SMDATA_LINK_LIB "zlib")
list(APPEND SMDATA_LINK_LIB "zlib" ${VA_LIBRARY} ${VA_DRM_LIBRARY})
if(${DL_FOUND})
list(APPEND SMDATA_LINK_LIB ${DL_LIBRARIES})
@@ -524,10 +432,6 @@ else() # Unix / Linux TODO: Remember to find and locate the zip archive files.
list(APPEND SMDATA_LINK_LIB ${X11_LIBRARIES})
endif()
if(PCRE_FOUND)
list(APPEND SMDATA_LINK_LIB ${PCRE_LIBRARY})
endif()
if(LIBXTST_FOUND)
list(APPEND SMDATA_LINK_LIB ${LIBXTST_LIBRARY})
endif()
@@ -542,43 +446,28 @@ target_link_libraries("${SM_EXE_NAME}" ${SMDATA_LINK_LIB})
list(APPEND SM_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}
"${SM_SRC_DIR}/generated")
list(APPEND SM_INCLUDE_DIRS "${JPEG_INCLUDE_DIR}")
if(NOT APPLE)
if(WITH_SYSTEM_JSONCPP)
list(APPEND SM_INCLUDE_DIRS ${JSONCPP_INCLUDE_DIRS})
endif()
if(APPLE)
list(APPEND SM_INCLUDE_DIRS "archutils/Unix")
add_dependencies("${SM_EXE_NAME}" "ffmpeg_arm64" "ffmpeg_x86_64")
list(APPEND SM_INCLUDE_DIRS "${SM_FFMPEG_INCLUDE}")
else()
if(MSVC)
list(APPEND SM_INCLUDE_DIRS "${SM_EXTERN_DIR}/ffmpeg-w32/include")
else()
if(HAS_FFMPEG)
if(WITH_SYSTEM_FFMPEG)
list(APPEND SM_INCLUDE_DIRS "${FFMPEG_INCLUDE_DIR}")
else()
add_dependencies("${SM_EXE_NAME}" "ffmpeg")
list(APPEND SM_INCLUDE_DIRS "${SM_FFMPEG_INCLUDE}")
endif()
endif()
add_dependencies("${SM_EXE_NAME}" "ffmpeg")
list(APPEND SM_INCLUDE_DIRS "${SM_FFMPEG_INCLUDE}")
if(HAS_GTK3)
list(APPEND SM_INCLUDE_DIRS "${GTK3_INCLUDE_DIRS}")
endif()
if(X11_FOUND)
list(APPEND SM_INCLUDE_DIRS "${X11_INCLUDE_DIR}")
endif()
if(PCRE_FOUND)
list(APPEND SM_INCLUDE_DIRS "${PCRE_INCLUDE_DIR}")
endif()
if(DL_FOUND)
list(APPEND SM_INCLUDE_DIRS "${DL_INCLUDE_DIR}")
endif()
endif()
else()
list(APPEND SM_INCLUDE_DIRS "archutils/Unix")
if(HAS_FFMPEG)
add_dependencies("${SM_EXE_NAME}" "ffmpeg_arm64" "ffmpeg_x86_64")
list(APPEND SM_INCLUDE_DIRS "${SM_FFMPEG_INCLUDE}")
endif()
endif()
target_include_directories("${SM_EXE_NAME}" PUBLIC ${SM_INCLUDE_DIRS})
+1 -14
View File
@@ -6,36 +6,23 @@
#include "ActorUtil.h"
#include <set>
#if defined(HAS_WAV)
#include "RageSoundReader_WAV.h"
#endif
#if defined(HAS_MP3)
#include "RageSoundReader_MP3.h"
#endif
#if defined(HAS_OGG)
#include "RageSoundReader_Vorbisfile.h"
#endif
RageSoundReader_FileReader *RageSoundReader_FileReader::TryOpenFile( RageFileBasic *pFile, RString &error, RString format, bool &bKeepTrying )
{
RageSoundReader_FileReader *Sample = nullptr;
#if defined(HAS_WAV)
if( !format.CompareNoCase("wav") )
Sample = new RageSoundReader_WAV;
#endif
#if defined(HAS_MP3)
if( !format.CompareNoCase("mp3") )
Sample = new RageSoundReader_MP3;
#endif
#if defined(HAS_OGG)
if( !format.CompareNoCase("oga") || !format.CompareNoCase("ogg") )
Sample = new RageSoundReader_Vorbisfile;
#endif
if( !Sample )
return nullptr;
-4
View File
@@ -25,12 +25,10 @@
#endif
#endif
#if defined(HAVE_FFMPEG)
extern "C"
{
#include <libavcodec/avcodec.h>
}
#endif
#if defined(HAVE_X11)
#include "archutils/Unix/X11Helper.h"
@@ -284,9 +282,7 @@ void ArchHooks_Unix::DumpDebugInfo()
LOG->Info( "Runtime library: %s", LibcVersion().c_str() );
LOG->Info( "Threads library: %s", ThreadsVersion().c_str() );
#if defined(HAVE_FFMPEG)
LOG->Info( "libavcodec: %#x (%u)", avcodec_version(), avcodec_version() );
#endif
}
void ArchHooks_Unix::SetTime( tm newtime )
-4
View File
@@ -1,10 +1,6 @@
#ifndef ARCH_SETUP_WINDOWS_H
#define ARCH_SETUP_WINDOWS_H
#if defined(_MSC_VER)
#define HAVE_FFMPEG
#endif
#define SUPPORT_OPENGL
#if defined(_MSC_VER)
#define SUPPORT_D3D
-9
View File
@@ -130,15 +130,6 @@ typedef std::make_signed<size_t>::type ssize_t;
/* Defined to 1 if the underlying system uses big endian. */
#cmakedefine ENDIAN_BIG 1
/* Defined to 1 if compiling with WAV support. */
#cmakedefine HAS_WAV 1
/* Defined to 1 if compiling with MP3 support. */
#cmakedefine HAS_MP3 1
/* Defined to 1 if compiling with OGG support. */
#cmakedefine HAS_OGG 1
/* Defined to 1 if building on a windows system, and thus uses the windows loading window. */
#cmakedefine NEED_WINDOWS_LOADING_WINDOW 1