added way to supply definesto cmake

This commit is contained in:
Robin Müller 2021-03-29 14:31:55 +02:00
parent 1ad03cef9e
commit ebfda75e34

View File

@ -26,6 +26,9 @@ def main():
"Information)", default="debug")
parser.add_argument("-l", "--builddir", type=str, help="Specify build directory.")
parser.add_argument("-g", "--generator", type=str, help="CMake Generator")
parser.add_argument("-d", "--defines",
help="Additional custom defines passed to CMake (supply without -D prefix!)",
nargs="*", type=str)
parser.add_argument("-t", "--target-bsp", type=str, help="Target BSP, combination of architecture and machine")
args = parser.parse_args()