Fix some MSVC-specific warnings and add debug path as an MSVC directory
This commit is contained in:
@@ -290,7 +290,11 @@ void pathRemoveFile(char *path, char delim)
|
||||
bool detectMSVCBuildDir(char *c_path)
|
||||
{
|
||||
std::string path(c_path);
|
||||
const char *ends[] = {"bin\\Release", "bin\\Build", NULL};
|
||||
const char *ends[] = {
|
||||
"bin\\Release",
|
||||
"bin\\Debug",
|
||||
"bin\\Build",
|
||||
NULL};
|
||||
return (removeStringEnd(path, ends) != "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user