"Fossies" - the Fresh Open Source Software Archive

Member "sfk-1.9.6/do-compile-win.bat" (22 Feb 2020, 771 Bytes) of package /linux/misc/sfk-1.9.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @rem windows compile of swiss file knife using msvc 7.
    2 @rem compile under MinGW/Cygwin is also possible, see below.
    3 @rem configure/make will not work under Windows as it is now.
    4 @echo off
    5 
    6 IF "%1"=="trace" GOTO xtrace
    7 IF "%1"=="mingw" GOTO mingw
    8 
    9 cl %2 sfk.cpp sfkext.cpp sfkpack.cpp kernel32.lib user32.lib gdi32.lib ws2_32.lib advapi32.lib shell32.lib
   10 set MTK_TRACE=
   11 GOTO xdone
   12 
   13 :xtrace
   14 echo "compiling trace version"
   15 cl %2 -DWITH_TRACING -DVERBOSE_MEM sfk.cpp sfkext.cpp sfkpack.cpp kernel32.lib user32.lib gdi32.lib ws2_32.lib advapi32.lib shell32.lib
   16 set MTK_TRACE=file:twexb,filename:log.txt
   17 GOTO xdone
   18 
   19 :mingw
   20 rem Example for compile with MinGW/Cygwin:
   21 g++ -osfk.exe sfk.cpp sfkext.cpp sfkpack.cpp -lkernel32 -luser32 -lgdi32 -lws2_32 -ladvapi32 -lshell32
   22 
   23 :xdone