Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Compiler plugin
MortenMacFly:
--- Quote from: comsytec on December 28, 2012, 02:01:08 pm ---
--- Quote ---$if($(BUILD_CFG)==release){cmd /C "$(#pfx)\sign.bat $TARGET_OUTPUT_FILE"}
--- End quote ---
but this does not want to expand noway. The BUILD_CFG is custom variable with value release
--- End quote ---
Well if that is true its a bug and we should fix it. What makes me wonder is if you shouldn't use something like:
$if("$(BUILD_CFG)"=="release") ...
Because what you have shown here to my understanding shouldn't be a valid scripting command anyways. ???
comsytec:
So for
--- Code: ---$if("$(BUILD_CFG)"=="release"){cmd /C "$(#pfx)\sign.bat $TARGET_OUTPUT_FILE"}
--- End code ---
in post build step the result is
--- Code: ---("release"=="release"){cmd /C "c:\Work\IDEalCodeStudio\pfx\sign.bat ..\..\bin\release\epsdebugger.tdm.dll"}
Execution of '("release"=="release"){cmd /C "c:\Work\IDEalCodeStudio\pfx\sign.bat ..\..\bin\release\epsdebugger.tdm.dll"}' in 'C:\Work\IDEalCodeStudio\Plugins\TargetDeviceManager' failed.
Nothing to be done.
--- End code ---
I havent seen that the regex m_RE_If or m_RE_IfSp in macrosmanager.cpp accepts double quotes
Navigation
[0] Message Index
[*] Previous page
Go to full version