Cpp-application and mixed linkage

Using the “cpp-application” plugin, with a Windows application with multiple libraries, how do you specify that some libraries should be linked statically and others dynamically?

I’ve tried using the “linkLibraries” and “runtimeLibraries” properties but these seem to be more for Windows *.lib files paired with *.dll files and not “true” static *.lib libraries. That is, when I try to use either for my static libraries I get link errors but not for the .lib/.dll pairs.


This is not supported yet. Open issue https://github.com/gradle/gradle-native/issues/923

Could you tag your topic as ‘native’. Thanks