diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-08 21:45:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-08 21:45:04 +0000 |
commit | 65737cf14a7220bd9a487aa2af4ae0e79bd23e86 (patch) | |
tree | 625754b14ae80ac167d1b150c2314b647cd008e6 /dev-libs/spdlog | |
parent | 5001a6c7b6da2956f5b17c695b1e0059dc7b8de5 (diff) |
gentoo resync : 08.01.2018
Diffstat (limited to 'dev-libs/spdlog')
-rw-r--r-- | dev-libs/spdlog/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt | 116 |
2 files changed, 0 insertions, 117 deletions
diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index 4d288d8bf6d8..1722a2de4099 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -1,4 +1,3 @@ -AUX spdlog-0.14.0-CMakeLists.txt 3333 BLAKE2B 1ea839f706f91d648ae143099599b680f995996732e62325333b97a4a0a9cb4e96dff2cebd7c533a556ac79ff01e2fdb1dcb27cca88510ac0889670bfb3f2169 SHA512 0bd9c7da1ef0a55c82bb3242d894d550e392b921bb50cdd16a842b33c05fffec9be42aef6aa91c3c11f30e6a6924e63c20ac4c89367bdac65dc40556dc60fc36 AUX spdlog-unbundle-fmt.patch 2765 BLAKE2B 0ef7974992efcd82442dd658ffd93c2605b4ae6eb6a63dee0892b5c9ec1fbec22f76821ba7c4715ec4f42f88f4bc626c0b5b92b656ff7f8e4f4b299dac4f85c6 SHA512 14e3dd4cf5c3604547d01c0e940c0ee4771667039601c769e941a4719bef7a23fcb6e14455abda0365e708b81d1fd36160c238dba3c01b4124866a59de4e3991 DIST spdlog-0.16.2.tar.gz 162709 BLAKE2B 7cd031bd9b1e01aa11186334ada9aad50cdc063942e0eb5b9d36e918e305db4c0e5657a215f24f458dbf792e05c38f74409bc7f5f88049bd1c4a759ccab0167e SHA512 454da17d75fa6dae074fb2ef10d93a1f9ccbf23b625521d32ce463a1362411ffc35ca33b081bee3cfb27bb647472de73899c9a15d24f09c8a3c9222560bcf559 EBUILD spdlog-0.16.2.ebuild 725 BLAKE2B 69820598625c70fab029d489d75daf828d173d3698ff76b38115275de88381354a207d0b927ac637bee31a6acfd9ddb1219c2206fc8024e672d9fb157d442980 SHA512 3e9ff83aa2b588683059e6c4cd9c5ef2d38c0fb86359e0fdb2753ad77530d06cd966d7864810786003bff9a786c1e60a10d5c0c224a82ffa20cec6456d920f6a diff --git a/dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt b/dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt deleted file mode 100644 index ad8062edda92..000000000000 --- a/dev-libs/spdlog/files/spdlog-0.14.0-CMakeLists.txt +++ /dev/null @@ -1,116 +0,0 @@ -# -# Copyright(c) 2015 Ruslan Baratov. -# Distributed under the MIT License (http://opensource.org/licenses/MIT) -# - -cmake_minimum_required(VERSION 3.1) -project(spdlog VERSION 0.14.0) -include(CTest) -include(CMakeDependentOption) -include(GNUInstallDirs) - -#--------------------------------------------------------------------------------------- -# compiler config -#--------------------------------------------------------------------------------------- -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_STANDARD_REQUIRED ON) - -if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") - set(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}") -endif() - -#--------------------------------------------------------------------------------------- -# spdlog target -#--------------------------------------------------------------------------------------- -add_library(spdlog INTERFACE) - -option(SPDLOG_BUILD_EXAMPLES "Build examples" OFF) -cmake_dependent_option(SPDLOG_BUILD_TESTING - "Build spdlog tests" ON - "BUILD_TESTING" OFF -) - -target_include_directories( - spdlog - INTERFACE - "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>" - "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>" -) - -set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include") - -if(SPDLOG_BUILD_EXAMPLES) - add_subdirectory(example) -endif() - -if(SPDLOG_BUILD_TESTING) - add_subdirectory(tests) -endif() - -#--------------------------------------------------------------------------------------- -# Install/export targets and files -#--------------------------------------------------------------------------------------- -# set files and directories -set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") -set(include_install_dir "${CMAKE_INSTALL_INCLUDEDIR}") -set(pkgconfig_install_dir "${CMAKE_INSTALL_LIBDIR}/pkgconfig") -set(version_config "${CMAKE_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake") -set(project_config "${PROJECT_NAME}Config.cmake") -set(pkg_config "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc") -set(targets_export_name "${PROJECT_NAME}Targets") -set(namespace "${PROJECT_NAME}::") - -# generate package version file -include(CMakePackageConfigHelpers) -write_basic_package_version_file( - "${version_config}" COMPATIBILITY SameMajorVersion -) - -# configure pkg config file -configure_file("cmake/spdlog.pc.in" "${pkg_config}" @ONLY) - -# install targets -install( - TARGETS spdlog - EXPORT "${targets_export_name}" - INCLUDES DESTINATION "${include_install_dir}" -) - -# install headers -install( - DIRECTORY "${HEADER_BASE}/${PROJECT_NAME}" - DESTINATION "${include_install_dir}" -) - -# install project version file -install( - FILES "${version_config}" - DESTINATION "${config_install_dir}" -) - -# install pkg config file -install( - FILES "${pkg_config}" - DESTINATION "${pkgconfig_install_dir}" -) - -# install project config file -install( - EXPORT "${targets_export_name}" - NAMESPACE "${namespace}" - DESTINATION "${config_install_dir}" - FILE ${project_config} -) - -# export build directory config file -export( - EXPORT ${targets_export_name} - NAMESPACE "${namespace}" - FILE ${project_config} -) - -# register project in CMake user registry -export(PACKAGE ${PROJECT_NAME}) - -file(GLOB_RECURSE spdlog_include_SRCS "${HEADER_BASE}/*.h") -add_custom_target(spdlog_headers_for_ide SOURCES ${spdlog_include_SRCS}) |