mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
30 lines
374 B
Plaintext
30 lines
374 B
Plaintext
import modules ;
|
|
|
|
if [ modules.peek : NT ]
|
|
{
|
|
comment = // ;
|
|
}
|
|
else
|
|
{
|
|
comment = \"//\" ;
|
|
}
|
|
|
|
rule uic ( target : sources * : properties * )
|
|
{
|
|
comment on $(<) = $(comment) ;
|
|
}
|
|
rule uic-h ( target : sources * : properties * )
|
|
{
|
|
comment on $(<) = $(comment) ;
|
|
}
|
|
|
|
actions uic
|
|
{
|
|
echo $(comment) $(>) > $(<)
|
|
}
|
|
|
|
actions uic-h
|
|
{
|
|
echo $(comment) $(>) > $(<)
|
|
}
|