2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-19 04:42:15 +00:00
Files
url/test/Jamfile
Vinnie Falco ab84af954f Port beast uri
2019-11-27 08:11:12 -08:00

53 lines
931 B
Plaintext

#
# Copyright (c) 2013-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/uri
#
import testing ;
import ../../config/checks/config : requires ;
import os ;
STANDALONE = [ os.environ STANDALONE ] ;
if $(STANDALONE)
{
LIB =
<define>BOOST_JSON_STANDALONE=1
<source>../src/src.cpp
;
}
else
{
LIB = <library>/boost/uri//boost_uri ;
}
local SOURCES =
error.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) ;