1 // Check whether the version in CMakeLists.txt is up to date
3 // Copyright 2018 Peter Dimov
5 // Distributed under the Boost Software License, Version 1.0.
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
9 #include <boost/core/lightweight_test.hpp>
10 #include <boost/version.hpp>
13 int main(int ac, char const* av[]) {
18 std::sprintf(version, "%d.%d.%d", BOOST_VERSION / 100000, BOOST_VERSION / 100 % 1000,
21 BOOST_TEST_CSTR_EQ(av[1], version);
24 return boost::report_errors();