Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost: add heap #5733

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

boost: add heap #5733

wants to merge 1 commit into from

Conversation

qudix
Copy link
Contributor

@qudix qudix commented Nov 11, 2024

  • add support for the heap module

also I'm uncertain if the sorted_libs table actually needs to be sorted in some way (if it does there needs to be a comment), but for now I just added heap at the end

@star-hengxing
Copy link
Contributor

sorted_libs are non-header-only libs in boost that we use to fix link order.

If you find that some header-only libs are missing from the boost cmake version, please open an issue.

# Generated by `boostdep --cmake heap`
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

cmake_minimum_required(VERSION 3.5...3.16)

project(boost_heap VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)

add_library(boost_heap INTERFACE)
add_library(Boost::heap ALIAS boost_heap)

target_include_directories(boost_heap INTERFACE include)

target_link_libraries(boost_heap
  INTERFACE
    Boost::array
    Boost::assert
    Boost::bind
    Boost::concept_check
    Boost::config
    Boost::core
    Boost::intrusive
    Boost::iterator
    Boost::parameter
    Boost::static_assert
    Boost::throw_exception
    Boost::type_traits
)

if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")

  add_subdirectory(test)

endif()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants