I have this command line for my "4UTILS" project's post-build event.
The first few lines of u:\postbuild.btm (with some debug ECHOs) are
Read more
Code:
d:\tc31\tcc.exe /c u:\postbuild.btm $(TargetPath)
The first few lines of u:\postbuild.btm (with some debug ECHOs) are
Code:
REM %1 is DevStudio's $(TargetPath)
echo _4VER = %_4ver
echo %%1 = %1
dumpbin /headers %1 | ffind /k /m /t"number of sections"
echo xx = %@execstr[dumpbin /headers %1 | ffind /k /m /t"number of sections"]
set nSections=%@word[0,%@execstr[dumpbin /headers %1 | ffind /k /m /t"number of sections"]]...
Read more