mirror of
https://github.com/boostorg/mysql.git
synced 2026-02-14 12:52:17 +00:00
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
#
|
|
# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
|
|
import os ;
|
|
|
|
project /boost/mysql ;
|
|
|
|
alias boost_mysql
|
|
: # Sources
|
|
/boost/system//boost_system
|
|
/user-config//ssl
|
|
/user-config//crypto
|
|
: # Requirements
|
|
: # Default build
|
|
: # Usage requirements
|
|
<include>../include
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
<define>BOOST_ASIO_NO_DEPRECATED=1
|
|
<define>BOOST_ASIO_DISABLE_BOOST_ARRAY=1
|
|
<define>BOOST_ASIO_DISABLE_BOOST_BIND=1
|
|
<define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
|
|
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
|
<define>BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS=1
|
|
<define>BOOST_COROUTINES_NO_DEPRECATION_WARNING=1
|
|
<define>BOOST_ALLOW_DEPRECATED_HEADERS=1
|
|
<toolset>msvc:<cxxflags>"/bigobj /Zc:__cplusplus"
|
|
<toolset>msvc-14.1:<cxxflags>"/permissive-"
|
|
<toolset>msvc-14.2:<cxxflags>"/permissive-"
|
|
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
|
|
<toolset>msvc:<define>_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING
|
|
<toolset>msvc:<define>_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING
|
|
<toolset>msvc:<define>_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
|
|
<target-os>linux:<define>_XOPEN_SOURCE=600
|
|
<target-os>linux:<define>_GNU_SOURCE=1
|
|
<target-os>windows:<define>_WIN32_WINNT=0x0601
|
|
;
|
|
|
|
build-project example ;
|
|
build-project test ;
|
|
|
|
|