mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 22:34:32 +02:00
asio builds correctly on windows now
This commit is contained in:
@@ -84,11 +84,6 @@ add_definitions (-DBOOST_ASIO_DISABLE_BOOST_ARRAY=1)
|
|||||||
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_BIND=1)
|
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_BIND=1)
|
||||||
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_DATE_TIME=1)
|
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_DATE_TIME=1)
|
||||||
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_REGEX=1)
|
add_definitions (-DBOOST_ASIO_DISABLE_BOOST_REGEX=1)
|
||||||
|
|
||||||
# workaround for asio defect
|
|
||||||
add_definitions (-DBOOST_ASIO_DISABLE_WINDOWS_RANDOM_ACCESS_HANDLE=1)
|
|
||||||
add_definitions (-DBOOST_ASIO_DISABLE_WINDOWS_STREAM_HANDLE=1)
|
|
||||||
|
|
||||||
add_definitions (-DBOOST_COROUTINES_NO_DEPRECATION_WARNING=1)
|
add_definitions (-DBOOST_COROUTINES_NO_DEPRECATION_WARNING=1)
|
||||||
|
|
||||||
include_directories (${BOOST_ROOT})
|
include_directories (${BOOST_ROOT})
|
||||||
|
2
Jamfile
2
Jamfile
@@ -102,8 +102,6 @@ project /boost/beast
|
|||||||
<define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
|
<define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
|
||||||
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
||||||
<define>BOOST_COROUTINES_NO_DEPRECATION_WARNING=1
|
<define>BOOST_COROUTINES_NO_DEPRECATION_WARNING=1
|
||||||
<define>BOOST_ASIO_DISABLE_WINDOWS_RANDOM_ACCESS_HANDLE=1
|
|
||||||
<define>BOOST_ASIO_DISABLE_WINDOWS_STREAM_HANDLE=1
|
|
||||||
<toolset>msvc:<cxxflags>"/bigobj"
|
<toolset>msvc:<cxxflags>"/bigobj"
|
||||||
<toolset>msvc-14.1:<cxxflags>"/permissive-"
|
<toolset>msvc-14.1:<cxxflags>"/permissive-"
|
||||||
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
|
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
|
||||||
|
Reference in New Issue
Block a user