Closed g5t closed 1 month ago
There are 18 components in McCode that need to link against the GNU Scientific Library, which indicate this fact by having a DEPENDENCY line including @GSLFLAGS@ https://github.com/search?q=repo%3AMcStasMcXtrace%2FMcCode+GSLFLAGS+path%3A*.comp&type=code
DEPENDENCY
@GSLFLAGS@
McStas and McXtrace set this as a configuration file variable at CMake configure time https://github.com/McStasMcXtrace/McCode/blob/6ca132c9d1cab4d18dda36167119f4405154ec2b/cmake/Modules/PlatformDefaults.cmake#L96-L103
Ensuring that the library is actually present is beyond mccode-antlr, but we can support this style of @{config['flags'][key]}FLAGS@ replacement in order to allow use of these components.
mccode-antlr
@{config['flags'][key]}FLAGS@
Fixed by #78
There are 18 components in McCode that need to link against the GNU Scientific Library, which indicate this fact by having a
DEPENDENCY
line including@GSLFLAGS@
https://github.com/search?q=repo%3AMcStasMcXtrace%2FMcCode+GSLFLAGS+path%3A*.comp&type=codeMcStas and McXtrace set this as a configuration file variable at CMake configure time https://github.com/McStasMcXtrace/McCode/blob/6ca132c9d1cab4d18dda36167119f4405154ec2b/cmake/Modules/PlatformDefaults.cmake#L96-L103
Ensuring that the library is actually present is beyond
mccode-antlr
, but we can support this style of@{config['flags'][key]}FLAGS@
replacement in order to allow use of these components.