2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Regression example for Rene

[SVN r14457]
This commit is contained in:
Dave Abrahams
2002-07-14 20:03:56 +00:00
parent a0a6ba0478
commit 6a918fb0a4
10 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
subproject tools/build/examples/property_rule ;
rule add-include ( toolset variant : properties * )
{
return $(properties) <sysinclude>$($(gTOP))/inc ;
}
lib foo : foo.cpp : add-include <inlining>on ;
exe bar : bar.cpp <lib>foo : add-include ;

View File

@@ -0,0 +1,7 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <foo.hpp>
int main() { foo(); return 0; }

View File

@@ -0,0 +1,7 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <foo.hpp>
void foo() {}

View File

@@ -0,0 +1,11 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#ifndef FOO_DWA2002712_HPP
# define FOO_DWA2002712_HPP
void foo();
#endif // FOO_DWA2002712_HPP

View File

@@ -0,0 +1 @@
# empty

View File

@@ -0,0 +1,9 @@
subproject tools/build/examples/property_rule ;
rule add-include ( toolset variant : properties * )
{
return $(properties) <sysinclude>$($(gTOP))/inc ;
}
lib foo : foo.cpp : add-include <inlining>on ;
exe bar : bar.cpp <lib>foo : add-include ;

View File

@@ -0,0 +1,7 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <foo.hpp>
int main() { foo(); return 0; }

View File

@@ -0,0 +1,7 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#include <foo.hpp>
void foo() {}

View File

@@ -0,0 +1,11 @@
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#ifndef FOO_DWA2002712_HPP
# define FOO_DWA2002712_HPP
void foo();
#endif // FOO_DWA2002712_HPP

View File

@@ -0,0 +1 @@
# empty