Skip to content

Instantly share code, notes, and snippets.

@reinsteam
Created June 19, 2016 04:07
Show Gist options
  • Select an option

  • Save reinsteam/096a4a101f15490384826bb861d8e39e to your computer and use it in GitHub Desktop.

Select an option

Save reinsteam/096a4a101f15490384826bb861d8e39e to your computer and use it in GitHub Desktop.
Configs for tundra build system
local msvc_config =
{
Env = {
CCOPTS = {
"/Wall", "/WL", "/GR-", "/EHs-c-", "/analyze", '/FA', '/TC',
"/Zl", "/Za",
{ "/O2", "/GL", "/GS-", "/Gw"; Config = "*-vs*-release" },
{ "/Od", "/GL-", "/GS", "/RTCcsu"; Config = "*-vs*-debug" },
},
LIBS = {
"kernel32.lib",
{ "libcmt.lib"; Config = "*-vs*-release"},
{ "libcmtd.lib"; Config = "*-vs*-debug"},
},
PROGOPTS = {
--"/nodefaultlib",
"/subsystem:console",
{ "/ltcg", "/opt:ref", "/incremental:no"; Config = "*-vs*-release" }
},
GENERATE_PDB =
{
{ "1"; Config = "*-vs*-release" },
{ "1"; Config = "*-vs*-debug" },
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment