Committing updates.
This commit is contained in:
60
cmake-modules/FindBitcoin-System.cmake
Normal file
60
cmake-modules/FindBitcoin-System.cmake
Normal file
@@ -0,0 +1,60 @@
|
||||
###############################################################################
|
||||
# Copyright (c) 2014-2019 libbitcoin-system developers (see COPYING).
|
||||
#
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
|
||||
#
|
||||
###############################################################################
|
||||
# FindBitcoin-System
|
||||
#
|
||||
# Use this module by invoking find_package with the form::
|
||||
#
|
||||
# find_package( Bitcoin-System
|
||||
# [version] # Minimum version
|
||||
# [REQUIRED] # Fail with error if bitcoin-system is not found
|
||||
# )
|
||||
#
|
||||
# Defines the following for use:
|
||||
#
|
||||
# bitcoin_system_FOUND - true if headers and requested libraries were found
|
||||
# bitcoin_system_INCLUDE_DIRS - include directories for bitcoin-system libraries
|
||||
# bitcoin_system_LIBRARY_DIRS - link directories for bitcoin-system libraries
|
||||
# bitcoin_system_LIBRARIES - bitcoin-system libraries to be linked
|
||||
# bitcoin_system_PKG - bitcoin-system pkg-config package specification.
|
||||
#
|
||||
|
||||
if (MSVC)
|
||||
if ( Bitcoin-System_FIND_REQUIRED )
|
||||
set( _bitcoin_system_MSG_STATUS "SEND_ERROR" )
|
||||
else ()
|
||||
set( _bitcoin_system_MSG_STATUS "STATUS" )
|
||||
endif()
|
||||
|
||||
set( bitcoin_system_FOUND false )
|
||||
message( ${_bitcoin_system_MSG_STATUS} "MSVC environment detection for 'bitcoin-system' not currently supported." )
|
||||
else ()
|
||||
# required
|
||||
if ( Bitcoin-System_FIND_REQUIRED )
|
||||
set( _bitcoin_system_REQUIRED "REQUIRED" )
|
||||
endif()
|
||||
|
||||
# quiet
|
||||
if ( Bitcoin-System_FIND_QUIETLY )
|
||||
set( _bitcoin_system_QUIET "QUIET" )
|
||||
endif()
|
||||
|
||||
# modulespec
|
||||
if ( Bitcoin-System_FIND_VERSION_COUNT EQUAL 0 )
|
||||
set( _bitcoin_system_MODULE_SPEC "libbitcoin-system" )
|
||||
else ()
|
||||
if ( Bitcoin-System_FIND_VERSION_EXACT )
|
||||
set( _bitcoin_system_MODULE_SPEC_OP "=" )
|
||||
else ()
|
||||
set( _bitcoin_system_MODULE_SPEC_OP ">=" )
|
||||
endif()
|
||||
|
||||
set( _bitcoin_system_MODULE_SPEC "libbitcoin-system ${_bitcoin_system_MODULE_SPEC_OP} ${Bitcoin-System_FIND_VERSION}" )
|
||||
endif()
|
||||
|
||||
pkg_check_modules( bitcoin_system ${_bitcoin_system_REQUIRED} ${_bitcoin_system_QUIET} "${_bitcoin_system_MODULE_SPEC}" )
|
||||
set( bitcoin_system_PKG "${_bitcoin_system_MODULE_SPEC}" )
|
||||
endif()
|
||||
60
cmake-modules/FindBitcoin.cmake
Normal file
60
cmake-modules/FindBitcoin.cmake
Normal file
@@ -0,0 +1,60 @@
|
||||
###############################################################################
|
||||
# Copyright (c) 2014-2019 libbitcoin developers (see COPYING).
|
||||
#
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
|
||||
#
|
||||
###############################################################################
|
||||
# FindBitcoin
|
||||
#
|
||||
# Use this module by invoking find_package with the form::
|
||||
#
|
||||
# find_package( Bitcoin
|
||||
# [version] # Minimum version
|
||||
# [REQUIRED] # Fail with error if libbitcoin is not found
|
||||
# )
|
||||
#
|
||||
# Defines the following for use:
|
||||
#
|
||||
# bitcoin_FOUND - true if headers and requested libraries were found
|
||||
# bitcoin_INCLUDE_DIRS - include directories for bitcoin libraries
|
||||
# bitcoin_LIBRARY_DIRS - link directories for bitcoin libraries
|
||||
# bitcoin_LIBRARIES - bitcoin libraries to be linked
|
||||
# bitcoin_PKG - bitcoin pkg-config package specification.
|
||||
#
|
||||
|
||||
if (MSVC)
|
||||
if ( Bitcoin_FIND_REQUIRED )
|
||||
set( _bitcoin_MSG_STATUS "SEND_ERROR" )
|
||||
else ()
|
||||
set( _bitcoin_MSG_STATUS "STATUS" )
|
||||
endif()
|
||||
|
||||
set( bitcoin_FOUND false )
|
||||
message( ${_bitcoin_MSG_STATUS} "MSVC environment detection for 'bitcoin' not currently supported." )
|
||||
else ()
|
||||
# required
|
||||
if ( Bitcoin_FIND_REQUIRED )
|
||||
set( _bitcoin_REQUIRED "REQUIRED" )
|
||||
endif()
|
||||
|
||||
# quiet
|
||||
if ( Bitcoin_FIND_QUIETLY )
|
||||
set( _bitcoin_QUIET "QUIET" )
|
||||
endif()
|
||||
|
||||
# modulespec
|
||||
if ( Bitcoin_FIND_VERSION_COUNT EQUAL 0 )
|
||||
set( _bitcoin_MODULE_SPEC "libbitcoin" )
|
||||
else ()
|
||||
if ( Bitcoin_FIND_VERSION_EXACT )
|
||||
set( _bitcoin_MODULE_SPEC_OP "=" )
|
||||
else ()
|
||||
set( _bitcoin_MODULE_SPEC_OP ">=" )
|
||||
endif()
|
||||
|
||||
set( _bitcoin_MODULE_SPEC "libbitcoin ${_bitcoin_MODULE_SPEC_OP} ${Bitcoin_FIND_VERSION}" )
|
||||
endif()
|
||||
|
||||
pkg_check_modules( bitcoin ${_bitcoin_REQUIRED} ${_bitcoin_QUIET} "${_bitcoin_MODULE_SPEC}" )
|
||||
set( bitcoin_PKG "${_bitcoin_MODULE_SPEC}" )
|
||||
endif()
|
||||
44
cmake-modules/FindDelphi.cmake
Normal file
44
cmake-modules/FindDelphi.cmake
Normal file
@@ -0,0 +1,44 @@
|
||||
###############################################################################
|
||||
# FindDelphi
|
||||
#
|
||||
# Use this module by invoking find_package with the form::
|
||||
#
|
||||
# find_package( Delphi
|
||||
# [REQUIRED] # Fail with error if Delphi is not found
|
||||
# )
|
||||
#
|
||||
# Defines the following for use:
|
||||
#
|
||||
# delphi_FOUND - true if headers and requested libraries were found
|
||||
# delphi_INCLUDE_DIRS - include directories for Delphi libraries
|
||||
# delphi_LIBRARY_DIRS - link directories for Delphi libraries
|
||||
# delphi_LIBRARIES - Delphi libraries to be linked
|
||||
# delphi_PKG - Delphi pkg-config package specification.
|
||||
#
|
||||
|
||||
if (MSVC)
|
||||
if ( Delphi_FIND_REQUIRED )
|
||||
set( _delphi_MSG_STATUS "SEND_ERROR" )
|
||||
else ()
|
||||
set( _delphi_MSG_STATUS "STATUS" )
|
||||
endif()
|
||||
|
||||
set( delphi_FOUND false )
|
||||
message( ${_delphi_MSG_STATUS} "MSVC environment detection for 'Delphi' not currently supported." )
|
||||
else ()
|
||||
# required
|
||||
if ( Delphi_FIND_REQUIRED )
|
||||
set( _delphi_REQUIRED "REQUIRED" )
|
||||
endif()
|
||||
|
||||
# quiet
|
||||
if ( Delphi_FIND_QUIETLY )
|
||||
set( _delphi_QUIET "QUIET" )
|
||||
endif()
|
||||
|
||||
# modulespec
|
||||
set( _delphi_MODULE_SPEC "delphi" )
|
||||
|
||||
pkg_check_modules( delphi ${_delphi_REQUIRED} ${_delphi_QUIET} "${_delphi_MODULE_SPEC}" )
|
||||
set( delphi_PKG "${_delphi_MODULE_SPEC}" )
|
||||
endif()
|
||||
45
cmake-modules/FindDl.cmake
Normal file
45
cmake-modules/FindDl.cmake
Normal file
@@ -0,0 +1,45 @@
|
||||
###############################################################################
|
||||
# Copyright (c) 2014-2019 libbitcoin developers (see COPYING).
|
||||
#
|
||||
###############################################################################
|
||||
# Finddl
|
||||
#
|
||||
# Use this module by invoking find_package with the form::
|
||||
#
|
||||
# find_package( dl
|
||||
# [REQUIRED] # Fail with error if dl is not found
|
||||
# )
|
||||
#
|
||||
# Defines the following for use:
|
||||
#
|
||||
# dl_FOUND - True if headers and requested libraries were found
|
||||
# dl_LIBRARIES - dl libraries to be linked
|
||||
# dl_LIBS - dl libraries to be linked
|
||||
#
|
||||
|
||||
if (DEFINED dl_FIND_VERSION)
|
||||
message( SEND_ERROR "Library 'dl' unable to process specified version: ${dl_FIND_VERSION}" )
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
message( STATUS "MSVC environment detection for 'dl' not currently supported." )
|
||||
set( dl_FOUND false )
|
||||
else ()
|
||||
# required
|
||||
if ( dl_FIND_REQUIRED )
|
||||
set( _dl_REQUIRED "REQUIRED" )
|
||||
endif()
|
||||
|
||||
find_library(dl_LIBRARIES dl)
|
||||
|
||||
if (dl_LIBRARIES-NOTFOUND)
|
||||
set( dl_FOUND false )
|
||||
else ()
|
||||
set( dl_FOUND true )
|
||||
set( dl_LIBS "-ldl" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if ( dl_FIND_REQUIRED AND ( NOT dl_FOUND ) )
|
||||
message( SEND_ERROR "Library 'dl' not found." )
|
||||
endif()
|
||||
44
cmake-modules/FindOpenPGP.cmake
Normal file
44
cmake-modules/FindOpenPGP.cmake
Normal file
@@ -0,0 +1,44 @@
|
||||
###############################################################################
|
||||
# FindOpenPGP
|
||||
#
|
||||
# Use this module by invoking find_package with the form::
|
||||
#
|
||||
# find_package( OpenPGP
|
||||
# [REQUIRED] # Fail with error if OpenPGP is not found
|
||||
# )
|
||||
#
|
||||
# Defines the following for use:
|
||||
#
|
||||
# openpgp_FOUND - true if headers and requested libraries were found
|
||||
# openpgp_INCLUDE_DIRS - include directories for OpenPGP libraries
|
||||
# openpgp_LIBRARY_DIRS - link directories for OpenPGP libraries
|
||||
# openpgp_LIBRARIES - OpenPGP libraries to be linked
|
||||
# openpgp_PKG - OpenPGP pkg-config package specification.
|
||||
#
|
||||
|
||||
if (MSVC)
|
||||
if ( OpenPGP_FIND_REQUIRED )
|
||||
set( _openpgp_MSG_STATUS "SEND_ERROR" )
|
||||
else ()
|
||||
set( _openpgp_MSG_STATUS "STATUS" )
|
||||
endif()
|
||||
|
||||
set( openpgp_FOUND false )
|
||||
message( ${_openpgp_MSG_STATUS} "MSVC environment detection for 'OpenPGP' not currently supported." )
|
||||
else ()
|
||||
# required
|
||||
if ( OpenPGP_FIND_REQUIRED )
|
||||
set( _openpgp_REQUIRED "REQUIRED" )
|
||||
endif()
|
||||
|
||||
# quiet
|
||||
if ( OpenPGP_FIND_QUIETLY )
|
||||
set( _openpgp_QUIET "QUIET" )
|
||||
endif()
|
||||
|
||||
# modulespec
|
||||
set( _openpgp_MODULE_SPEC "OpenPGP" )
|
||||
|
||||
pkg_check_modules( openpgp ${_openpgp_REQUIRED} ${_openpgp_QUIET} "${_openpgp_MODULE_SPEC}" )
|
||||
set( openpgp_PKG "${_openpgp_MODULE_SPEC}" )
|
||||
endif()
|
||||
Reference in New Issue
Block a user