Skip to content
Snippets Groups Projects
Commit 69b0ffff authored by Thorsten's avatar Thorsten
Browse files

Options for python

parent 6c3265b5
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ print " COMPILING "
print "============================================="
# The name of your CMakeTarget
NAME = "Homework"
NAME = argv[1] if len(argv) > 1 else "Homework"
call(["cmake", "./"])
call(["make", "all"])
......@@ -19,7 +20,7 @@ call(["make", "all"])
Popen("./run.sh", cwd="visualisation")
# Start the main programm
if len(argv) > 1:
call([e for e in ["./%s"%NAME] + argv[1:]])
if len(argv) > 2:
call([e for e in ["./%s"%NAME] + argv[2:]])
else:
call("./%s"%NAME)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment