windows: script for building the lib (#3340)

* windows: script for building the lib

* changes

* change

* change
This commit is contained in:
Stanislav Dmitrenko
2023-11-10 19:49:53 +08:00
committed by GitHub
parent c0be36737d
commit fcdd8ce7c1
5 changed files with 63 additions and 46 deletions

View File

@@ -141,9 +141,9 @@ cmake {
val main by creating {
cmakeLists.set(file("$cppPath/desktop/CMakeLists.txt"))
targetMachines.addAll(compileMachineTargets.toSet())
if (machines.host.name.contains("win")) {
cmakeArgs.add("-G MinGW Makefiles")
}
//if (machines.host.name.contains("win")) {
// cmakeArgs.add("-G MinGW Makefiles")
//}
}
}
}

View File

@@ -35,12 +35,7 @@ private fun initHaskell() {
private fun windowsLoadRequiredLibs(libsTmpDir: File, vlcDir: File) {
val mainLibs = arrayOf(
"libcrypto-3-x64.dll",
"mcfgthread-12.dll",
"libgcc_s_seh-1.dll",
"libstdc++-6.dll",
"libffi-8.dll",
"libgmp-10.dll",
"libcrypto-1_1-x64.dll",
"libsimplex.dll",
"libapp-lib.dll"
)