mason.child: update for Nmakefile change
parent
ea81faffca
commit
618915a084
|
@ -1,7 +1,7 @@
|
||||||
IN: mason.child.tests
|
IN: mason.child.tests
|
||||||
USING: mason.child mason.config tools.test namespaces io kernel sequences ;
|
USING: mason.child mason.config tools.test namespaces io kernel sequences ;
|
||||||
|
|
||||||
[ { "nmake" "/f" "nmakefile" } ] [
|
[ { "nmake" "/f" "nmakefile" "x86-32" } ] [
|
||||||
[
|
[
|
||||||
"winnt" target-os set
|
"winnt" target-os set
|
||||||
"x86.32" target-cpu set
|
"x86.32" target-cpu set
|
||||||
|
|
|
@ -4,13 +4,20 @@ USING: accessors arrays calendar combinators.short-circuit fry
|
||||||
continuations debugger io.directories io.files io.launcher
|
continuations debugger io.directories io.files io.launcher
|
||||||
io.pathnames io.encodings.ascii kernel make mason.common mason.config
|
io.pathnames io.encodings.ascii kernel make mason.common mason.config
|
||||||
mason.platform mason.report mason.notify namespaces sequences
|
mason.platform mason.report mason.notify namespaces sequences
|
||||||
quotations macros system combinators ;
|
quotations macros system combinators splitting ;
|
||||||
IN: mason.child
|
IN: mason.child
|
||||||
|
|
||||||
|
: nmake-cmd ( -- args )
|
||||||
|
{ "nmake" "/f" "nmakefile" }
|
||||||
|
target-cpu get "." split "-" join suffix ;
|
||||||
|
|
||||||
|
: gnu-make-cmd ( -- args )
|
||||||
|
gnu-make platform 2array ;
|
||||||
|
|
||||||
: make-cmd ( -- args )
|
: make-cmd ( -- args )
|
||||||
{
|
{
|
||||||
{ [ target-os get "winnt" = ] [ { "nmake" "/f" "nmakefile" } ] }
|
{ [ target-os get "winnt" = ] [ nmake-cmd ] }
|
||||||
[ gnu-make platform 2array ]
|
[ gnu-make-cmd ]
|
||||||
} cond ;
|
} cond ;
|
||||||
|
|
||||||
: make-vm ( -- )
|
: make-vm ( -- )
|
||||||
|
|
Loading…
Reference in New Issue