]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/disambiguation.py
3 # Copyright (C) Vladimir Prus 2006.
4 # Distributed under the Boost Software License, Version 1.0. (See
5 # accompanying file LICENSE.txt or copy at
6 # https://www.bfgroup.xyz/b2/LICENSE.txt)
8 # Test that it is possible to add a suffix to a main target name to disambiguate
9 # that main target from another, and that this does not affect the names of the
14 t
= BoostBuild
.Tester(use_test_config
=False)
16 t
.write("jamroot.jam", """
17 exe hello.exe : hello.obj ;
18 obj hello.obj : hello.cpp : <variant>debug ;
19 obj hello.obj2 : hello.cpp : <variant>release ;
22 t
.write("hello.cpp", """
28 t
.expect_addition("bin/$toolset/debug*/hello.exe")
29 t
.expect_addition("bin/$toolset/debug*/hello.obj")
30 t
.expect_addition("bin/$toolset/release*/hello.obj")