deplinenoise/tundra — Issue #104: PDB file generation doesn't work
Author: leidegre
Created: 2012-01-05 11:54:44+00:00
State: open

I cannot get the PDB file generation to work any longer, not even by defining `GENERATE_PDB` it appears that `_USE_PDB_CC` is not successfully expanded while the is `_USE_PDB_LINK` env var is.

The following can be used to reproduce the problem, I'm using the v0.99j release of tundra:

Build {
Configs = {
Config {
Name = "generic-gcc",
DefaultOnHost = "linux",
Tools = { "gcc" },
},
Config {
Name = "macosx-gcc",
DefaultOnHost = "macosx",
Tools = { "gcc-osx" },
},
Config {
Env = {
GENERATE_PDB = "1",
},
Name = "win64-msvc",
DefaultOnHost = "windows",
Tools = { "msvc-vs2008"; TargetPlatform = "x64" },
},
},
Units = function()

Program {
Name = "a",
Sources = { "main.c" },
}

Default "a"

end,
}