Initial commit

This commit is contained in:
Crimson-Hawk
2024-03-05 16:42:40 +08:00
commit f1e4595ebf
39576 changed files with 7006612 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
import sys
open(sys.argv[2], "w").write(open(sys.argv[1]).read())

View File

@@ -0,0 +1,22 @@
import feature ;
import toolset ;
import os ;
path-constant HERE : . ;
make main.cpp : main_cpp.pro : @do-something ;
feature.feature example.python.interpreter : : free ;
toolset.flags do-something PYTHON : <example.python.interpreter> ;
actions do-something
{
"$(PYTHON:E=python)" "$(HERE)/foo.py" "$(>)" "$(<)"
}
if [ os.name ] = VMS
{
actions do-something
{
$(PYTHON:E=python) $(HERE:W)foo.py $(>:W) $(<:W)
}
}

View File

@@ -0,0 +1 @@
int main() {}

View File

@@ -0,0 +1,7 @@
Copyright 2002, 2005 Vladimir Prus
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
Example of using custom command to create one file from another, using the
built-in 'make' rule.