From: Jerome St-Louis Date: Fri, 9 Aug 2013 06:12:24 +0000 (-0400) Subject: ide/Project: Fixed compiling info for Windows resource with platform flag X-Git-Tag: 0.44.08~23 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=63ded708d4e6096fee8aa5631812b604613204f1 ide/Project: Fixed compiling info for Windows resource with platform flag --- diff --git a/ide/src/project/Project.ec b/ide/src/project/Project.ec index e93ba87..170b90f 100644 --- a/ide/src/project/Project.ec +++ b/ide/src/project/Project.ec @@ -1697,6 +1697,14 @@ private: if(module) { byte * tokens[1]; + char * dashF = strstr(module, "-F "); + if(dashF) + { + dashF+= 3; + while(*dashF && *dashF != ' ') dashF++; + while(*dashF && *dashF == ' ') dashF++; + module = dashF; + } Tokenize(module, 1, tokens, (BackSlashEscaping)true); // fix #139 GetLastDirectory(module, moduleName); ide.outputView.buildBox.Logf("%s\n", moduleName);