Commit 390b3a0e by Tobias Langer

Support for multiple templates.

parent f3536d24
......@@ -73,9 +73,9 @@ def main():
parser = argparse.ArgumentParser(description='Generate experiment data.')
parser.add_argument('description', type=str, nargs='+', help='file containing the taskset description.')
parser.add_argument('--header', dest='header', type=str, nargs='?', default='./template/defines.h', help='path to optional custom header file.')
parser.add_argument('--makefile', dest='makefile', type=str, nargs='?', default='./template/Makefile', help='path to optional custom makefile.')
parser.add_argument('--cpp', dest='cpp', type=str, nargs='*', default='./template/experiment.cpp', help='path to optional custom c++ implementation.')
parser.add_argument('--header', dest='header', type=str, nargs='?', default='./templates/normal/defines.h', help='path to optional custom header file.')
parser.add_argument('--makefile', dest='makefile', type=str, nargs='?', default='./templates/normal/Makefile', help='path to optional custom makefile.')
parser.add_argument('--cpp', dest='cpp', type=str, nargs='*', default='./templates/normal/experiment.cpp', help='path to optional custom c++ implementation.')
args = parser.parse_args()
cwd = os.getcwd()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment