disruptorplus/args.cake
Lewis Baker af12980e35 Initial version of disruptorplus library.
Library is header-only library at this stage.
Defines core sequence_barrier and sequence_barrier_group classes.
Includes a blocking_wait_strategy that uses a mutex/condition_variable.
Includes a single_threaded_claim_strategy for single-threaded producers.
2013-10-08 21:34:55 +10:30

14 lines
366 B
CoffeeScript

from cake.script import Script
parser = Script.getCurrent().engine.parser
# Add a project generation option. It will be stored in 'engine.options' which
# can later be accessed in our config.cake.
parser.add_option(
"-p", "--projects",
action="store_true",
dest="createProjects",
help="Create projects instead of building a variant.",
default=False,
)