forked from boostorg/optional
Drop dependency on Boost.Predef
This commit is contained in:
@ -18,11 +18,9 @@ target_link_libraries(boost_optional
|
|||||||
Boost::config
|
Boost::config
|
||||||
Boost::core
|
Boost::core
|
||||||
Boost::move
|
Boost::move
|
||||||
Boost::predef
|
|
||||||
Boost::static_assert
|
Boost::static_assert
|
||||||
Boost::throw_exception
|
Boost::throw_exception
|
||||||
Boost::type_traits
|
Boost::type_traits
|
||||||
Boost::utility
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||||
|
@ -18,7 +18,6 @@ The implementation uses the following other Boost modules:
|
|||||||
# config
|
# config
|
||||||
# core
|
# core
|
||||||
# move
|
# move
|
||||||
# predef
|
|
||||||
# static_assert
|
# static_assert
|
||||||
# throw_exception
|
# throw_exception
|
||||||
# type_traits
|
# type_traits
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
* *Breaking change.* Dropped support for C++03. C++11 is now the required minimum.
|
* *Breaking change.* Dropped support for C++03. C++11 is now the required minimum.
|
||||||
* Dropped dependency on Boost.Utility.
|
* Dropped dependency on Boost.Utility.
|
||||||
|
* Dropped dependency on Boost.Predef.
|
||||||
* A bit faster implementation of some relational operations.
|
* A bit faster implementation of some relational operations.
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/config/workaround.hpp>
|
#include <boost/config/workaround.hpp>
|
||||||
#include <boost/predef.h>
|
|
||||||
#include <boost/type_traits.hpp>
|
#include <boost/type_traits.hpp>
|
||||||
|
|
||||||
// The condition to use POD implementation
|
// The condition to use POD implementation
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "boost/core/lightweight_test.hpp"
|
#include "boost/core/lightweight_test.hpp"
|
||||||
#include "boost/optional/detail/optional_config.hpp"
|
#include "boost/optional/detail/optional_config.hpp"
|
||||||
#include "boost/predef.h"
|
//#include "boost/predef.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Reference in New Issue
Block a user