MCPcopy Create free account
hub / github.com/Kitware/CMake / cmVisualStudioGeneratorOptions

Method cmVisualStudioGeneratorOptions

Source/cmVisualStudioGeneratorOptions.cxx:25–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25cmVisualStudioGeneratorOptions::cmVisualStudioGeneratorOptions(
26 cmLocalVisualStudioGenerator* lg, Tool tool, cmVS7FlagTable const* table,
27 cmVS7FlagTable const* extraTable)
28 : cmIDEOptions()
29 , LocalGenerator(lg)
30 , CurrentTool(tool)
31{
32 // Store the given flag tables.
33 this->AddTable(table);
34 this->AddTable(extraTable);
35
36 // Preprocessor definitions are not allowed for linker tools.
37 this->AllowDefine = (tool != Linker);
38
39 // include directories are not allowed for linker tools.
40 this->AllowInclude = (tool != Linker);
41
42 // Slash options are allowed for VS.
43 this->AllowSlash = true;
44
45 this->FortranRuntimeDebug = false;
46 this->FortranRuntimeDLL = false;
47 this->FortranRuntimeMT = false;
48
49 this->UnknownFlagField = "AdditionalOptions";
50}
51
52void cmVisualStudioGeneratorOptions::AddTable(cmVS7FlagTable const* table)
53{

Callers

nothing calls this directly

Calls 1

AddTableMethod · 0.95

Tested by

no test coverage detected