mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
Don't append to the source files. Overwrite them on update.
[SVN r83766]
This commit is contained in:
@@ -25,13 +25,13 @@ rule generate-include ( target : sources * : properties * )
|
||||
{
|
||||
local header = [ property.select <include> : $(properties) ] ;
|
||||
print.output $(target) ;
|
||||
print.text "#include <$(header:G=)>" ;
|
||||
print.text "#include <$(header:G=)>" : true ;
|
||||
}
|
||||
|
||||
rule generate-main ( target : sources * : properties * )
|
||||
{
|
||||
print.output $(target) ;
|
||||
print.text "int main() {}" ;
|
||||
print.text "int main() {}" : true ;
|
||||
}
|
||||
|
||||
rule find-include-path ( properties : header : provided-path ? )
|
||||
|
||||
Reference in New Issue
Block a user