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 end
configuration { "mingw*" } configuration { "mingw*-gcc" }
linkoptions{ linkoptions{
"-municode", "-municode",
} }

View File

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

View File

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

View File

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