Added new switch to build.py script. Now we can also build CppUTest library using switch --cpputest

pull/683/head
Przemek Wirkus 2014-11-11 14:49:12 +00:00
parent e017463c25
commit cce551af35
1 changed files with 6 additions and 6 deletions

View File

@ -85,6 +85,12 @@ if __name__ == '__main__':
default=False,
help="Compile the u-blox library")
parser.add_option("", "--cpputest",
action="store_true",
dest="cpputest_lib",
default=False,
help="Compiles 'cpputest' unit test library (library should be on the same directory level as mbed repository)")
parser.add_option("-D", "",
action="append",
dest="macros",
@ -102,12 +108,6 @@ if __name__ == '__main__':
default=False,
help="Forces 'cppcheck' static code analysis")
parser.add_option("", "--cpputest",
action="store_true",
dest="cpputest_lib",
default=False,
help="Compiles 'cpputest' unit test library (library should be on the same directory level as mbed repository)")
parser.add_option('-f', '--filter',
dest='general_filter_regex',
default=None,