Skip to content

Commit ae7a8c3

Browse files
committed
ENH: Add template support for defining application display name
Unlike "APPLICATION_NAME", "APPLICATION_DISPLAY_NAME" can contain space characters.
1 parent c477e5d commit ae7a8c3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

cookiecutter.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"org_domain": "kitware.com",
66
"org_name": "Kitware, Inc.",
77
"app_name": "{{ cookiecutter.project_name }}",
8+
"app_display_name": "{{ cookiecutter.app_name }}",
89
"bundle_identifier": "{{ cookiecutter.org_domain.split('.') | reverse | join('.') }}.{{ cookiecutter.project_name | lower }}",
910
"app_version_major": "0",
1011
"app_version_minor": "1",

{{cookiecutter.project_name}}/Applications/{{cookiecutter.app_name}}App/slicer-application-properties.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
set(APPLICATION_NAME
33
{{cookiecutter.app_name}}
44
)
5+
set(APPLICATION_DISPLAY_NAME
6+
"{{cookiecutter.app_display_name}}"
7+
)
58

69
set(VERSION_MAJOR
710
{{cookiecutter.app_version_major}}

0 commit comments

Comments
 (0)