|
|
|
@@ -174,13 +174,22 @@ protected: |
|
|
|
props.add (new ChoicePropertyComponent (getWarningLevelValue(), "Warning Level",
|
|
|
|
StringArray (warningLevelNames), Array<var> (warningLevels)));
|
|
|
|
|
|
|
|
const char* const wpoNames[] = { "Enable link-time code generation when possible",
|
|
|
|
"Always disable link-time code generation", nullptr };
|
|
|
|
const var wpoValues[] = { var(), var (1) };
|
|
|
|
{
|
|
|
|
const char* const runtimeNames[] = { "(Default)", "Use static runtime", "Use DLL runtime", nullptr };
|
|
|
|
const var runtimeValues[] = { var(), var (false), var (true) };
|
|
|
|
|
|
|
|
props.add (new ChoicePropertyComponent (getUsingRuntimeLibDLL(), "Runtime Library",
|
|
|
|
StringArray (runtimeNames), Array<var> (runtimeValues, numElementsInArray (runtimeValues))));
|
|
|
|
}
|
|
|
|
|
|
|
|
props.add (new BooleanPropertyComponent (getUsingRuntimeLibDLL(), "Runtime Library", "Use DLL version of runtime library"));
|
|
|
|
props.add (new ChoicePropertyComponent (getWholeProgramOptValue(), "Whole Program Optimisation",
|
|
|
|
StringArray (wpoNames), Array<var> (wpoValues, numElementsInArray (wpoValues))));
|
|
|
|
{
|
|
|
|
const char* const wpoNames[] = { "Enable link-time code generation when possible",
|
|
|
|
"Always disable link-time code generation", nullptr };
|
|
|
|
const var wpoValues[] = { var(), var (1) };
|
|
|
|
|
|
|
|
props.add (new ChoicePropertyComponent (getWholeProgramOptValue(), "Whole Program Optimisation",
|
|
|
|
StringArray (wpoNames), Array<var> (wpoValues, numElementsInArray (wpoValues))));
|
|
|
|
}
|
|
|
|
|
|
|
|
props.add (new TextPropertyComponent (getPrebuildCommand(), "Pre-build Command", 2048, false));
|
|
|
|
props.add (new TextPropertyComponent (getPostbuildCommand(), "Post-build Command", 2048, false));
|
|
|
|
|