mirror of
https://github.com/boostorg/property_tree.git
synced 2026-01-19 04:22:16 +00:00
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
# Boost.PropertyTree
|
|
#
|
|
# Copyright (c) 2009 Sebastian Redl
|
|
#
|
|
# 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)
|
|
|
|
# bring in rules for testing
|
|
import path ;
|
|
import regex ;
|
|
import testing ;
|
|
|
|
project
|
|
: requirements
|
|
<library>/boost/property_tree//boost_property_tree
|
|
<link>static
|
|
<warnings>extra
|
|
<warnings-as-errors>on
|
|
<target-os>windows:<define>_SCL_SECURE_NO_WARNINGS
|
|
<target-os>windows:<define>_SCL_SECURE_NO_DEPRECATE
|
|
<target-os>windows:<define>_CRT_SECURE_NO_WARNINGS
|
|
<target-os>windows:<define>_CRT_SECURE_NO_DEPRECATE
|
|
;
|
|
|
|
run test_property_tree.cpp ;
|
|
run test_rapidxml.cpp ;
|
|
run test_info_parser.cpp ;
|
|
run test_json_parser.cpp ;
|
|
run test_json_parser2.cpp ;
|
|
compile test_json_parser3.cpp ;
|
|
run test_ini_parser.cpp ;
|
|
run test_xml_parser_rapidxml.cpp ;
|
|
run test_multi_module1.cpp test_multi_module2.cpp ;
|
|
|
|
# Ensure that all headers are self-contained.
|
|
for local file in [ glob-tree-ex ../include : *.hpp ]
|
|
{
|
|
local rel_path = [ path.relative-to ../include $(file) ] ;
|
|
local rel_name = [ path.relative-to ../include/boost/property_tree $(file) ] ;
|
|
compile self_contained_header.cpp : <define>HEADER_PATH=$(rel_path) : [ regex.replace $(rel_name) "/" "_" ] ;
|
|
}
|
|
|
|
compile ../examples/custom_data_type.cpp ;
|
|
compile ../examples/debug_settings.cpp /boost/foreach//boost_foreach ;
|
|
compile ../examples/empty_ptree_trick.cpp ;
|
|
compile ../examples/info_grammar_spirit.cpp ;
|
|
compile ../examples/speed_test.cpp /boost/format//boost_format ;
|