Provide @COMPILER_NAME@ in DEPENDENCY line #1681
Labels
MCPL
Links to something in https://github.com/mctools/mcpl
MS Windows
Windows subsystem for Linux
Windows
Just to summarise the discussions between me and @willend today. To support NCrystal and MCPL with MSVC we obviously can't simply use flags like
-Wl,rpath,/bla
in DEPENDENCY lines. So scripts likemcpl-config
andncrystal-config
must be able to provide different flags for different compilers.The first step in that, would be for changes in mccode to ensure that the compile name is made available inside the DEPENDENCY line, e.g. like:
Step two would then be to make changes in mcpl-config and ncrystal-config to ensure the @COMPILER_NAME@ is available. It should most likely be a name from those in https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html but with the caveat that it might be changed on the fly (e.g. with
mcrun
).The text was updated successfully, but these errors were encountered: