Skip to content

Commit

Permalink
Change template to template_project so project comiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Fergus Cooper committed Sep 29, 2016
1 parent f350756 commit e4da726
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ find_package(Chaste COMPONENTS continuum_mechanics global io linalg mesh ode pde

# Change the project name in the line below to match the folder this file is in,
# i.e. the name of your project.
chaste_do_project(template)
chaste_do_project(template_project)
2 changes: 1 addition & 1 deletion apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# This allows us to build executables (apps) using the project.
# Simply set the project name in the line below.
chaste_do_apps_project(template)
chaste_do_apps_project(template_project)
6 changes: 3 additions & 3 deletions setup_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def main():
test_cmakelists = os.path.join(path_to_project, 'test', 'CMakeLists.txt')

# Perform the find-and-replace tasks to update the template project
find_and_replace(base_cmakelists, 'chaste_do_project(template', 'chaste_do_project(' + project_name)
find_and_replace(apps_cmakelists, 'chaste_do_apps_project(template', 'chaste_do_apps_project(' + project_name)
find_and_replace(test_cmakelists, 'chaste_do_test_project(template', 'chaste_do_test_project(' + project_name)
find_and_replace(base_cmakelists, 'chaste_do_project(template_project', 'chaste_do_project(' + project_name)
find_and_replace(apps_cmakelists, 'chaste_do_apps_project(template_project', 'chaste_do_apps_project(' + project_name)
find_and_replace(test_cmakelists, 'chaste_do_test_project(template_project', 'chaste_do_test_project(' + project_name)

# Amend the components
components_list = []
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# This allows us to build tests of the project.
# Simply set the project name in the line below.
chaste_do_test_project(template)
chaste_do_test_project(template_project)

0 comments on commit e4da726

Please sign in to comment.