Supported mingw-clang builds (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-06 11:58:24 +02:00
parent f0b6bb5407
commit abf7d057d2
4 changed files with 15 additions and 10 deletions

View File

@ -53,7 +53,7 @@ function maintargetosdoptions(_target)
}
end
configuration { "mingw*" }
configuration { "mingw*-gcc" }
linkoptions{
"-municode",
}

View File

@ -99,11 +99,12 @@ if BASE_TARGETOS=="unix" then
end
if _OPTIONS["targetos"]=="windows" then
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
configuration { "mingw*-gcc or vs*" }
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
configuration { "Debug" }
defines {

View File

@ -4,7 +4,7 @@ dofile("modules.lua")
function maintargetosdoptions(_target)
osdmodulestargetconf()
configuration { "mingw*" }
configuration { "mingw*-gcc" }
linkoptions {
"-municode",
}

View File

@ -1,11 +1,15 @@
defines {
"UNICODE",
"_UNICODE",
"OSD_WINDOWS",
"main=utf8_main",
"_WIN32_WINNT=0x0501",
}
configuration { "mingw*-gcc or vs*" }
defines {
"UNICODE",
"_UNICODE",
"main=utf8_main",
}
configuration { "Debug" }
defines {
"MALLOC_DEBUG",