blob: b3f70627328bd0bed762267102fa6bcc83469c50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def Program(name):
PROGRAM = name
@template
def SimplePrograms(names, ext=".cpp"):
SIMPLE_PROGRAMS += names
SOURCES += ["%s%s" % (name, ext) for name in names]
Program("test_program")
SimplePrograms(["test_program1", "test_program2"])
|