try to use cross-mingw if we can find it with WINDOZE=1
[k8jam.git] / defaults / Jambase.help
blobd04ab7b7a85c4a3329ac0d3df3ba4d182447b74c
2 # 'help*' targets
5 rule ShowHelpProfile {
6   NotFile help-profile ;
7   Always help-profile ;
8   AShowHelpProfile help-profile ;
10 actions quietly AShowHelpProfile {
11   echo "profile flags:"
12   echo "  DEBUG=1       -- debug build"
13   echo "  OPT_SPEED=1   -- optimize for speed"
14   echo "  OPT_SIZE=1    -- optimize for size"
15   echo "  OPT=speed     -- optimize for speed"
16   echo "  OPT=size      -- optimize for size"
17   echo "  VALGRIND=1    -- do not strip debug info"
18   echo "  NO_WARNINGS=1 -- do not add '-Wall' flag"
19   echo "WARNING: DON'T FORGET TO DO 'jam clean' before building with new flags!"
21 ShowHelpProfile ;
23 rule -ShowHelp- {
24   NotFile help ;
25   Always help ;
26   AShowHelp help ;
27   #AShowHelpProfile help ;
29 actions quietly AShowHelp {
30   echo "WARNING: default help; override 'actions AShowHelp' definition to customize 'help' target!"
31   echo "usage: jam [target] [flags]"
32   echo "tagets:"
33   echo "  jam              -- build project"
34   echo "  jam all          -- build project"
35   echo "  jam clean        -- do cleanup"
36   echo "  jam help         -- show this help"
37   echo "  jam help-profile -- show help for building profiles"
38   echo "  jam gen-boiler   -- generate 'boilerplate' jam files"
39   echo "                      use FORCE=1 to regenerate"
40   echo "                      use MAIN=name to specify name"
42 -ShowHelp- ;