}
}
- void Evaluate(char * expression, Project project, CompilerConfig compiler, ProjectConfig config)
+ void Evaluate(char * expression, Project project, CompilerConfig compiler, ProjectConfig config, int bitDepth)
{
int len;
char * expr = expression;
}
else if(!strnicmp(&expr[c + 2], "Compiler_Suffix", n))
{
- if(compilerName[0] && strcmpi(compilerName, "default"))
+ if(bitDepth || (compilerName[0] && strcmpi(compilerName, "default")))
{
- buffer[d] = '.';
- buffer[d+1] = '\0';
- strcat(buffer, compilerName);
- CamelCase(&buffer[d]);
- d += strlen(compilerName)+1;
- c = i;
+ if(compilerName[0] && strcmpi(compilerName, "default"))
+ {
+ buffer[d] = '.';
+ buffer[d+1] = '\0';
+ strcat(buffer, compilerName);
+ CamelCase(&buffer[d]);
+ d += strlen(compilerName)+1;
+ }
+ if(bitDepth == 32)
+ {
+ strcat(buffer, ".x32");
+ d += 4;
+ }
+ else if(bitDepth == 64)
+ {
+ strcat(buffer, ".x64");
+ d += 4;
+ }
}
- else
- c = i;
+ c = i;
}
else
{
console = console,
compress = compress,
excludeFromBuild = excludeFromBuild,
- buildBitDepth = buildBitDepth,
fastMath = fastMath,
preprocessorDefinitions = CopyArrayString(preprocessorDefinitions),
includeDirs = CopyArrayString(includeDirs),
//...
//PrintLn("dddddddd:", dddddddd);
- PrintLn("buildBitDepth:", buildBitDepth);
PrintLn("fastMath:", fastMath);
PrintLn("preprocessorDefinitions:", preprocessorDefinitions);
console == unset &&
compress == unset &&
excludeFromBuild == unset &&
- buildBitDepth == all &&
fastMath == unset &&
(!prebuildCommands || !prebuildCommands.count) &&
(!postbuildCommands || !postbuildCommands.count) )