2
0
mirror of https://github.com/boostorg/url.git synced 2026-02-01 09:02:11 +00:00
Files
url/test/Jamfile
2021-06-30 17:52:26 -07:00

63 lines
1.1 KiB
Plaintext

#
# Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.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)
#
# Official repository: https://github.com/vinniefalco/url
#
import testing ;
import ../../config/checks/config : requires ;
import os ;
STANDALONE = [ os.environ STANDALONE ] ;
if $(STANDALONE)
{
LIB =
<define>BOOST_URL_STANDALONE=1
<source>../src/src.cpp
;
}
else
{
LIB = <library>/boost/url//boost_url ;
}
local SOURCES =
_detail_char_type.cpp
_detail_parse.cpp
error.cpp
host_type.cpp
scheme.cpp
static_pool.cpp
storage_ptr.cpp
url.cpp
url_base.cpp
url_view.cpp
urls.cpp
;
local LIMIT_SOURCES =
;
local RUN_TESTS ;
for local f in $(SOURCES)
{
RUN_TESTS += [
run $(f) main.cpp : : :
$(LIB)
] ;
}
for local f in $(LIMIT_SOURCES)
{
RUN_TESTS += [
run $(f) main.cpp : : :
<source>../src/src.cpp
] ;
}
alias run-tests : $(RUN_TESTS) ;