|
1 | 1 |
|
2 | 2 |
|
3 | 3 | # |
4 | | -# In case the extension is build using a multi-configuration system, the build |
5 | | -# type will be know at build. For that reason, a script allowing to configure |
| 4 | +# In case the extension is built using a multi-configuration system, the build |
| 5 | +# type will be known at build. For that reason, a script allowing to configure |
6 | 6 | # the "additional launcher settings" at build time will be generated. |
7 | 7 | # |
8 | 8 |
|
@@ -136,20 +136,20 @@ if(NOT TARGET ConfigureAdditionalLauncherSettings AND _configure_additional_laun |
136 | 136 | # ENVVARS |
137 | 137 | #----------------------------------------------------------------------------- |
138 | 138 |
|
139 | | - set(EXTENSION_LAUNCHER_SETTINGS_ENVVARS) |
| 139 | + set(EXTENSION_ENVVARS_BUILD) |
140 | 140 |
|
141 | 141 | # External projects - environment variables |
142 | 142 | foreach(varname IN LISTS ${SUPERBUILD_TOPLEVEL_PROJECT}_EP_LABEL_ENVVARS_LAUNCHER_BUILD) |
143 | 143 | set(value ${${varname}}) |
144 | 144 | list(TRANSFORM value REPLACE "<CMAKE_CFG_INTDIR>" "\${CMAKE_CFG_INTDIR}") |
145 | | - list(APPEND EXTENSION_LAUNCHER_SETTINGS_ENVVARS ${value}) |
| 145 | + list(APPEND EXTENSION_ENVVARS_BUILD ${value}) |
146 | 146 | endforeach() |
147 | 147 |
|
148 | 148 | # Extension dependencies - environment variables |
149 | 149 | foreach(dep ${EXTENSION_DEPENDS}) |
150 | 150 | set(paths ${${dep}_ENVVARS_LAUNCHER_BUILD}) |
151 | 151 | list(TRANSFORM paths REPLACE "\\$\\(Configuration\\)" "\${CMAKE_CFG_INTDIR}") |
152 | | - list(APPEND EXTENSION_LAUNCHER_SETTINGS_ENVVARS ${paths}) |
| 152 | + list(APPEND EXTENSION_ENVVARS_BUILD ${paths}) |
153 | 153 | endforeach() |
154 | 154 |
|
155 | 155 | #----------------------------------------------------------------------------- |
|
0 commit comments