mirror of
https://github.com/boostorg/uuid.git
synced 2026-01-19 04:42:16 +00:00
Add a convenience header boost/uuid.hpp
This commit is contained in:
12
include/boost/uuid.hpp
Normal file
12
include/boost/uuid.hpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef BOOST_UUID_HPP_INCLUDED
|
||||
#define BOOST_UUID_HPP_INCLUDED
|
||||
|
||||
// Copyright 2024 Peter Dimov
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
#include <boost/uuid/uuid_io.hpp>
|
||||
#include <boost/uuid/uuid_generators.hpp>
|
||||
|
||||
#endif // #ifndef BOOST_UUID_HPP_INCLUDED
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <boost/uuid/nil_generator.hpp>
|
||||
#include <boost/uuid/string_generator.hpp>
|
||||
#include <boost/uuid/name_generator_sha1.hpp>
|
||||
#include <boost/uuid/name_generator_md5.hpp>
|
||||
#include <boost/uuid/name_generator.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ set(BOOST_TEST_LINK_LIBRARIES Boost::uuid Boost::core)
|
||||
boost_test(TYPE run SOURCES test_uuid.cpp)
|
||||
boost_test(TYPE run SOURCES test_uuid_no_simd.cpp)
|
||||
|
||||
boost_test(TYPE run SOURCES test_include1.cpp test_include2.cpp)
|
||||
|
||||
boost_test(TYPE run SOURCES test_io.cpp LINK_LIBRARIES Boost::lexical_cast)
|
||||
|
||||
boost_test(TYPE run SOURCES test_nil_generator.cpp)
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
#include <boost/uuid.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
@@ -9,16 +9,8 @@
|
||||
|
||||
// libs/uuid/test/test_include1.cpp -------------------------------//
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
#include <boost/uuid/uuid_io.hpp>
|
||||
#include <boost/uuid/uuid_serialize.hpp>
|
||||
#include <boost/uuid/uuid_generators.hpp>
|
||||
#include <boost/uuid/nil_generator.hpp>
|
||||
#include <boost/uuid/name_generator.hpp>
|
||||
#include <boost/uuid/string_generator.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
#include <boost/uuid.hpp>
|
||||
|
||||
int main(int, char*[])
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -9,11 +9,4 @@
|
||||
|
||||
// libs/uuid/test/test_include2.cpp -------------------------------//
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
#include <boost/uuid/uuid_io.hpp>
|
||||
#include <boost/uuid/uuid_generators.hpp>
|
||||
#include <boost/uuid/uuid_serialize.hpp>
|
||||
#include <boost/uuid/nil_generator.hpp>
|
||||
#include <boost/uuid/name_generator.hpp>
|
||||
#include <boost/uuid/string_generator.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
#include <boost/uuid.hpp>
|
||||
|
||||
Reference in New Issue
Block a user