Support

 

Integration using CodeFort.Console.exe

The easiest way to call CodeFort from a build system is to directly call CodeFort.Console.exe (which is located in the installation folder).

The only parameters it takes, is a "/b" and the path to your ".codefort" project file.

It will then output the progress to the console window. This output could then be captured and used by your code.

CodeFort.Console.exe is located in the installation folder of CodeFort, which defaults to:

      c:\Program Files\Creatix\CodeFort Free Edition

or,

      c:\Program Files\Creatix\CodeFort Professional Edition

respectively.

User Comments

Post Build Event - Wait for obfuscation to finish

Hi, because your obfuscation console app just calls the GUI app, it causes some issues when you want to xcopy the output obfuscated files AFTER it has finished. For those looking how to do it, use the START with the /WAIT command like so: The following obfuscates to a folder called 'codefort', then copies the files back to the normal bin folder/output directory. START /wait "" "codefort.console.exe" /build "$(ProjectDir)codefortproject.codefort" XCOPY /I /O /Y /E "$(TargetDir)codefort" "$(TargetDir)"

Posted on 11 March 2011 22:57:06 by Adam
Add comment

Add your comment to this page