mirror of
https://github.com/boostorg/json.git
synced 2025-05-11 13:44:06 +00:00
Add example Jamfile
This commit is contained in:
parent
058209acb9
commit
365b32a5fa
1
Jamfile
1
Jamfile
@ -10,3 +10,4 @@
|
||||
path-constant LIB_DIR : . ;
|
||||
|
||||
build-project test ;
|
||||
build-project example ;
|
||||
|
@ -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")
|
||||
|
17
example/Jamfile
Normal file
17
example/Jamfile
Normal file
@ -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
|
||||
:
|
||||
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
|
||||
<library>/boost/json//boost_json
|
||||
;
|
@ -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()
|
||||
{
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user