]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/conditionals3.py
3 # Copyright 2003 Vladimir Prus
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7 # Test that conditional properties work, even if property is free, and value
12 t
= BoostBuild
.Tester(use_test_config
=False)
14 t
.write("jamroot.jam", """
15 exe hello : hello.cpp : <variant>debug:<define>CLASS=Foo::Bar ;
18 t
.write("hello.cpp", """
19 namespace Foo { class Bar { } ; }
23 c; // Disables the unused variable warning.
27 t
.run_build_system(stdout
=None, stderr
=None)
28 t
.expect_addition("bin/$toolset/debug*/hello.exe")