diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/build/test/railsys/libx | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/build/test/railsys/libx')
4 files changed, 72 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/railsys/libx/include/test_libx.h b/src/boost/tools/build/test/railsys/libx/include/test_libx.h new file mode 100644 index 000000000..fe573fc16 --- /dev/null +++ b/src/boost/tools/build/test/railsys/libx/include/test_libx.h @@ -0,0 +1,25 @@ +// Copyright (c) 2003 Institute of Transport, +// Railway Construction and Operation, +// University of Hanover, Germany +// +// Use, modification and distribution are subject to 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) + +#ifdef _WIN32 +#ifdef LIBX_SOURCE +__declspec(dllexport) +#else +__declspec(dllimport) +#endif +#endif +class TestLibX +{ +public: + + TestLibX(); + + // Needed to suppress 'unused variable' warning + // in some cases. + void do_something() {} +}; diff --git a/src/boost/tools/build/test/railsys/libx/jamroot.jam b/src/boost/tools/build/test/railsys/libx/jamroot.jam new file mode 100644 index 000000000..d09982dd1 --- /dev/null +++ b/src/boost/tools/build/test/railsys/libx/jamroot.jam @@ -0,0 +1,13 @@ +# Copyright (c) 2002 Institute of Transport, +# Railway Construction and Operation, +# University of Hanover, Germany +# Copyright (c) 2006 Jürgen Hunold +# +# 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) + +# Tell that Qt3 should be used. QTDIR will give installation prefix. +using qt3 ; + + diff --git a/src/boost/tools/build/test/railsys/libx/src/jamfile.jam b/src/boost/tools/build/test/railsys/libx/src/jamfile.jam new file mode 100644 index 000000000..639e0cc90 --- /dev/null +++ b/src/boost/tools/build/test/railsys/libx/src/jamfile.jam @@ -0,0 +1,19 @@ +# Copyright (c) 2003 Institute of Transport, +# Railway Construction and Operation, +# University of Hanover, Germany +# +# Copyright (c) 2006 Jürgen Hunold +# +# 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) + +project libx + : requirements + <include>../include + : usage-requirements + <include>../include + ; + + +lib libx : test_libx.cpp ; diff --git a/src/boost/tools/build/test/railsys/libx/src/test_libx.cpp b/src/boost/tools/build/test/railsys/libx/src/test_libx.cpp new file mode 100644 index 000000000..be1fbc27f --- /dev/null +++ b/src/boost/tools/build/test/railsys/libx/src/test_libx.cpp @@ -0,0 +1,15 @@ +// Copyright (c) 2003 Institute of Transport, +// Railway Construction and Operation, +// University of Hanover, Germany +// +// Use, modification and distribution are subject to 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) + + +#define LIBX_SOURCE +#include <test_libx.h> + +TestLibX::TestLibX() +{ +} |