mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-31 08:12:13 +00:00
Add Boost.Jam rule generating test target for each header found in specified location. List test suites (target aliases) for groups of headers. Build self_contained_headers test only if CI environment variable is NOT defined or on-demand, if TEST_HEADERS environment variable is defined, or if b2 test/self_contained_headers is requested from command line. Related to issue #523
20 lines
573 B
C++
20 lines
573 B
C++
//
|
|
// Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
|
|
// Copyright (c) 2007-2015 Andrey Semashev
|
|
//
|
|
// 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)
|
|
|
|
// This file contains a test boilerplate for checking that every public header
|
|
// is self-contained and does not have any missing #include-s.
|
|
|
|
#define BOOST_GEOMETRY_TEST_INCLUDE_HEADER() <boost/geometry/BOOST_GEOMETRY_TEST_HEADER>
|
|
|
|
#include BOOST_GEOMETRY_TEST_INCLUDE_HEADER()
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|