2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Files
build/new/os.jam
Dave Abrahams 0a635f6e80 bug fixes
[SVN r13290]
2002-03-28 04:55:25 +00:00

25 lines
715 B
Plaintext

# (C) Copyright David Abrahams 2001. 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.
import modules ;
name = [ modules.peek : OS ] ;
platform = [ modules.peek : OSPLAT ] ;
version = [ modules.peek : OSVER ] ;
rule name { return $(name) ; }
rule platform { return $(platform) ; }
rule version { return $(version) ; }
import regex ;
rule __test__
{
rule identity ( args * ) { return $(args) ; }
ECHO os: name= [ name ] ;
ECHO os: version= [ version ] ;
assert.true name ;
}