-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcookiecutter.json
46 lines (44 loc) · 1.92 KB
/
cookiecutter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"project_name": "MyProject",
"project_slug": "{{ cookiecutter.project_name.lower() }}",
"description": "A short description of the project",
"version": "0.1.0",
"parallelization": ["serial", "mpi", "coarray"],
"build_system": ["cmake", "fpm", "meson", "all"],
"unit_testing": ["fortuno", "none"],
"with_app": true,
"with_example": true,
"__prompts__": {
"project_name": "Name of the project",
"project_slug": "Slug of the project",
"description": "Short description of the project",
"version": "Project version",
"parallelization": {
"__prompt__": "Which parallelization model should be used?",
"serial": "Serial code",
"mpi": "MPI-parallelized code",
"coarray": "Coarray-parallelized code"
},
"build_system": {
"__prompt__": "Which build system should the config files be generated for?",
"cmake": "CMake",
"fpm": "Fpm",
"meson": "Meson",
"all": "Config files for all three build systems"
},
"unit_testing": {
"__prompt__": "Which unit test framework should be used?",
"fortuno": "Fortuno",
"none": "No unit tests (not recommended)"
},
"with_app": "Generate app (installable standalone program)?",
"with_example": "Generate example (non-installable standalone program)?"
},
"__project_slug_upper": "{{ cookiecutter.project_slug.upper() }}",
"__cmake_build": "{{ cookiecutter.build_system in ['cmake', 'all'] }}",
"__fpm_build": "{{ cookiecutter.build_system in ['fpm', 'all'] }}",
"__meson_build": "{{ cookiecutter.build_system in ['meson', 'all'] }}",
"__serial_code": "{{ cookiecutter.parallelization == 'serial' }}",
"__mpi_code": "{{ cookiecutter.parallelization == 'mpi' }}",
"__coarray_code": "{{ cookiecutter.parallelization == 'coarray' }}"
}