Cleanup and Win32 IDE hints
This commit is contained in:
parent
48bc35865e
commit
5f8f4be350
24
tundra.lua
24
tundra.lua
@ -7,7 +7,7 @@ local win32 = {
|
|||||||
CCOPTS = {
|
CCOPTS = {
|
||||||
"/FS",
|
"/FS",
|
||||||
"/W4",
|
"/W4",
|
||||||
"/WX", "/I.", "/D_CRT_SECURE_NO_WARNINGS", "\"/DOBJECT_DIR=$(OBJECTDIR:#)\"",
|
"/WX", "/I.", "/D_CRT_SECURE_NO_WARNINGS",
|
||||||
{ "/Od"; Config = "*-*-debug" },
|
{ "/Od"; Config = "*-*-debug" },
|
||||||
{ "/O2"; Config = "*-*-release" },
|
{ "/O2"; Config = "*-*-release" },
|
||||||
},
|
},
|
||||||
@ -17,10 +17,6 @@ local win32 = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
ReplaceEnv = {
|
|
||||||
["OBJCCOM"] = "dummy", -- no ObjC compiler
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local macosx = {
|
local macosx = {
|
||||||
@ -36,6 +32,24 @@ local macosx = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Build {
|
Build {
|
||||||
|
IdeGenerationHints = {
|
||||||
|
Msvc = {
|
||||||
|
PlatformMappings = {
|
||||||
|
['win32-msvc'] = 'Win32',
|
||||||
|
['win32-msvc'] = 'Win64',
|
||||||
|
},
|
||||||
|
FullMappings = {
|
||||||
|
['win32-msvc-debug-default'] = { Config='Debug', Platform='Win32' },
|
||||||
|
['win32-msvc-production-default'] = { Config='Production', Platform='Win32' },
|
||||||
|
['win32-msvc-release-default'] = { Config='Release', Platform='Win32' },
|
||||||
|
['win64-msvc-debug-default'] = { Config='Debug', Platform='Win64' },
|
||||||
|
['win64-msvc-production-default'] = { Config='Production', Platform='Win64' },
|
||||||
|
['win64-msvc-release-default'] = { Config='Release', Platform='Win64' },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MsvcSolutions = { ['minfb.sln'] = { } },
|
||||||
|
},
|
||||||
|
|
||||||
Configs = {
|
Configs = {
|
||||||
Config { Name = "win32-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
|
Config { Name = "win32-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
|
||||||
Config { Name = "win64-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
|
Config { Name = "win64-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
|
||||||
|
Loading…
Reference in New Issue
Block a user