Commit 772b5059 authored by Olivier Lantsoght's avatar Olivier Lantsoght 🏁
Browse files

New path for the example in the script

parent 5149ce48
......@@ -17,7 +17,7 @@ import fileinput
PrjName = 'Bodies_and_Joints'
# This is the name of the project that you will update
PrjPath = './1_Bodies_and_Joints'
PrjPath = './ExampleProjects/1_Bodies_and_Joints'
# This is the path to the project folder. This folder contains the folders animationR, dataR...
# Start with "./" if you use a relative path from the path of this script
# End withou "/", if you do, it will be removed automatically.
......@@ -25,7 +25,7 @@ TemplatePath = '../MBsysC/mbs_workspace_template/C/'
# This is the path to the template folder. This folder contains the C template file (CMakeLists_workR.txt, CMakeLists_userfctR.txt ...).
# Start with "./" if you use a relative path from the path of this script
# End with "/", if you do no, it will be added automatically.
MBsysCPath = '${PROJECT_SOURCE_DIR}/../../..'
MBsysCPath = '${PROJECT_SOURCE_DIR}/../../../..'
# This is the path to the folder of the MBsysC version to use. This folder contains the MBsysC folder (which contains at its turn mbs_common, ...).
# Start with "./" if you use a relative path from the path of this script.
# End with "/", if you do no, it will be added automatically.
......@@ -218,7 +218,7 @@ print 'The path to the templates is: '+TemplatePath
print 'The path to the sources of MBsysC is: '+MBsysCPath+'\n'
CMakeLists(PrjName, PrjPath, New=TemplatePath, MBsysC= MBsysCPath)
UserFunction(PrjPath)
UserFunction(PrjPath, New=TemplatePath)
MainC(PrjPath)
print "\nWARNING:"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment