diff --git a/tools/codelite.py b/tools/codelite.py index d63f9fbb72..d6fb2d892b 100644 --- a/tools/codelite.py +++ b/tools/codelite.py @@ -126,10 +126,10 @@ def CLAddCFiles(parent, files, project_path): def CLGenWorkspace(project_name, project_path): - if os.path.isfile('template.workspace'): - tree = etree.parse('template.workspace') + if os.path.isfile('codelite_template.workspace'): + tree = etree.parse('codelite_template.workspace') else: - tree = etree.parse(os.path.join(os.path.dirname(__file__), 'template.workspace')) + tree = etree.parse(os.path.join(os.path.dirname(__file__), 'codelite_template.workspace')) root = tree.getroot() root.attrib['Name'] = project_name @@ -153,10 +153,10 @@ def TargetCodelite(script, program): project_path = os.path.abspath('.') CLGenWorkspace(project_name, project_path) - if os.path.isfile('template.project'): - tree = etree.parse('template.project') + if os.path.isfile('codelite_template.project'): + tree = etree.parse('codelite_template.project') else: - tree = etree.parse(os.path.join(os.path.dirname(__file__), 'template.project')) + tree = etree.parse(os.path.join(os.path.dirname(__file__), 'codelite_template.project')) root = tree.getroot() root.attrib['Name'] = project_name diff --git a/tools/template.project b/tools/codelite_template.project similarity index 100% rename from tools/template.project rename to tools/codelite_template.project diff --git a/tools/template.workspace b/tools/codelite_template.workspace similarity index 100% rename from tools/template.workspace rename to tools/codelite_template.workspace