mirror of
https://github.com/boostorg/build.git
synced 2026-02-01 20:32:17 +00:00
19 lines
366 B
Plaintext
19 lines
366 B
Plaintext
TOOLS = $(TOOLS[1]) ;
|
|
project-root ;
|
|
|
|
# bring in rules for testing
|
|
import testing ;
|
|
|
|
lib mylib : lib.cpp ;
|
|
|
|
compile foo.cpp : : compile ;
|
|
compile-fail foo.cpp : <define>NOCOMPILE : nocompile ;
|
|
|
|
link foo.cpp <lib>mylib : : link ;
|
|
link-fail foo.cpp <lib>mylib : <define>NOLINK : nolink ;
|
|
|
|
run foo.cpp <lib>mylib
|
|
: # args
|
|
: # input-files
|
|
: <define>RUN
|
|
: run ; |