|
1 | 1 | # ============================================================================= |
2 | | -# Copyright (C) 2016-2019 Blue Brain Project |
| 2 | +# Copyright (C) 2016-2020 Blue Brain Project |
3 | 3 | # |
4 | 4 | # See top-level LICENSE file for details. |
5 | 5 | # ============================================================================= |
6 | 6 |
|
7 | | -# Macro sets up build rule for .cpp files from .mod files. Parameters: KEY name : An |
8 | | -# arbitrary name to keep track of output .c files MODFILE input : The path to the mod file |
| 7 | +# ~~~ |
| 8 | +# Macro sets up build rule for .cpp files from .mod files. Parameters: |
| 9 | +# KEY name : An arbitrary name to keep track of output .c files |
| 10 | +# MODFILE input : The path to the mod file |
9 | 11 | # OUTTYPE <SERIAL|ISPC> : The output type (optional, defaults to serial) |
10 | 12 | # |
11 | | -# Because nmodl/mod2c_core wants to write the .cpp file in the same directory as the mod file, we |
12 | | -# copy the mod file to the binary directory first |
| 13 | +# Because nmodl/mod2c_core wants to write the .cpp file in the same directory as the mod file, |
| 14 | +# we copy the mod file to the binary directory first |
13 | 15 | # |
14 | | -# The macro appends the names of the output files to NMODL_${name}_OUTPUTS and the names of the mod |
15 | | -# files (without directories) to NMODL_${name}_MODS |
| 16 | +# The macro appends the names of the output files to NMODL_${name}_OUTPUTS and the names of the |
| 17 | +# mod files (without directories) to NMODL_${name}_MODS |
| 18 | +# ~~~ |
16 | 19 |
|
17 | 20 | macro(nmodl_to_cpp_target) |
18 | | - |
19 | 21 | # first parse the arguments |
20 | 22 | set(options) |
21 | 23 | set(oneValueArgs TARGET MODFILE KEY) |
|
0 commit comments