diff --git a/Jamfile b/Jamfile index f603e4b3..f75b86e1 100644 --- a/Jamfile +++ b/Jamfile @@ -10,3 +10,4 @@ path-constant LIB_DIR : . ; build-project test ; +build-project example ; diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 0fa68e78..96b6a760 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -14,9 +14,3 @@ add_executable (pretty pretty.cpp ) set_property(TARGET pretty PROPERTY FOLDER "example") - -add_executable (allocator - file.hpp - allocator.cpp -) -set_property(TARGET allocator PROPERTY FOLDER "example") diff --git a/example/Jamfile b/example/Jamfile new file mode 100644 index 00000000..80b06a80 --- /dev/null +++ b/example/Jamfile @@ -0,0 +1,17 @@ +# +# Copyright (c) 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/json +# + +import ../../config/checks/config : requires ; + +exe pretty : + pretty.cpp + : + msvc:_CRT_SECURE_NO_WARNINGS + /boost/json//boost_json + ; diff --git a/example/allocator.cpp b/example/allocator.cpp deleted file mode 100644 index b7319a8e..00000000 --- a/example/allocator.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// -// Copyright (c) 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/json -// - -/* - This example implements a custom storage adaptor - which uses any standard C++ allocator. -*/ - -int -main() -{ -}