@@ -110,7 +110,7 @@ def _write_cmakelists(project_dir):
110110 '' ,
111111 '# wrench library and dependencies' ,
112112 'find_library(WRENCH_LIBRARY NAMES wrench)' ,
113- 'find_library(WRENCH_PEGASUS_WORKFLOW_PARSER_LIBRARY NAMES wrenchpegasusworkflowparser )' ,
113+ 'find_library(WRENCH_WORKFLOW_PARSER_LIBRARY NAMES wrenchwfcommonsworkflowparser )' ,
114114 'find_library(PUGIXML_LIBRARY NAMES pugixml)' ,
115115 'find_library(GTEST_LIBRARY NAMES gtest)' ,
116116 '' ,
@@ -120,14 +120,14 @@ def _write_cmakelists(project_dir):
120120 'if (ENABLE_BATSCHED)' ,
121121 'target_link_libraries(my-executable' ,
122122 ' ${WRENCH_LIBRARY}' ,
123- ' ${WRENCH_PEGASUS_WORKFLOW_PARSER_LIBRARY }' ,
123+ ' ${WRENCH_WORKFLOW_PARSER_LIBRARY }' ,
124124 ' ${SimGrid_LIBRARY}' ,
125125 ' ${PUGIXML_LIBRARY}' ,
126126 ' -lzmq )' ,
127127 'else()' ,
128128 'target_link_libraries(my-executable' ,
129129 ' ${WRENCH_LIBRARY}' ,
130- ' ${WRENCH_PEGASUS_WORKFLOW_PARSER_LIBRARY }' ,
130+ ' ${WRENCH_WORKFLOW_PARSER_LIBRARY }' ,
131131 ' ${SimGrid_LIBRARY}' ,
132132 ' ${PUGIXML_LIBRARY}' ,
133133 ' )' ,
@@ -211,7 +211,7 @@ def _write_main(project_dir, compute_service):
211211 ' wrench::Workflow *workflow;' ,
212212 '' ,
213213 ' if (ends_with(workflow_file,"json")) {' ,
214- ' workflow = wrench::PegasusWorkflowParser ::createWorkflowFromJSON(workflow_file, "1000Gf");' ,
214+ ' workflow = wrench::WfCommonsWorkflowParser ::createWorkflowFromJSON(workflow_file, "1000Gf");' ,
215215 ' } else {' ,
216216 ' std::cerr << "Workflow file name must end with \' .json\' " << std::endl;' ,
217217 ' exit(1);' ,
0 commit comments