Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/test/relative_sources.py @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 509 bytes
Line 
1#!/usr/bin/python
2
3# Copyright 2003 Dave Abrahams
4# Copyright 2002, 2006 Vladimir Prus
5# Distributed under the Boost Software License, Version 1.0.
6# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7
8# Test that we can specify sources using relative names.
9
10from BoostBuild import Tester
11t = Tester()
12
13t.write("project-root.jam", "import gcc ;")
14t.write("Jamfile", "exe a : src/a.cpp ;")
15t.write("src/a.cpp", "int main() { return 0; }\n")
16
17t.run_build_system()
18
19t.cleanup()
Note: See TracBrowser for help on using the repository browser.