2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-22 05:42:46 +00:00
Files
url/test/Jamfile
Vinnie Falco 0ef2f3ea8d Refactor names
2020-04-28 18:11:08 -07:00

64 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
basic_url.cpp
error.cpp
host_type.cpp
scheme.cpp
static_pool.cpp
static_url.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) ;