Files
harbour-core/harbour/contrib/make_vc_all.bat
Viktor Szakats ed3349623c 2008-05-20 13:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/hbvpdf
   + contrib/hbvpdf/common.mak
   + contrib/hbvpdf/hbvpdf.prg
   + contrib/hbvpdf/hbvpdf.ch
   + contrib/hbvpdf/make_gcc.sh
   + contrib/hbvpdf/tests
   + contrib/hbvpdf/tests/fonts.dat
   + contrib/hbvpdf/tests/files
   + contrib/hbvpdf/tests/files/color.tif
   + contrib/hbvpdf/tests/files/test.txt
   + contrib/hbvpdf/tests/files/color.jpg
   + contrib/hbvpdf/tests/pdf_demo.prg
   + contrib/hbvpdf/tests/tstpdf.prg
   + contrib/hbvpdf/tests/bld_b32.bat
   + contrib/hbvpdf/tests/bld_vc.bat
   + contrib/hbvpdf/hbvpdft.prg
   + contrib/hbvpdf/make_b32.bat
   + contrib/hbvpdf/make_vc.bat
   + contrib/hbvpdf/Makefile
     + Added Viktor K's pure Clipper pdf lib.
     + Added Pritpal's OOP version.
     + Added make files, reorged dir layout, named 
       files to avoid collision.
     + Added minor #define tweak to compile as-is.
     * Renamed pdf.ch to hbvpdf.ch for above reasons, 
       if this hurts anybody, I will correct it.
     ! Fixed unused vars and a few other things.
     ; TOFIX: - ShellExecute(), GetDeskTopWindow() 
                dependencies commented out.
              - fonts.dat dependency is a PITA, so 
                this file should be moved inside 
                the .prg somehow.
              - There are some hard-wired non porable 
                things like acrobat executable path.

   * contrib/Makefile
   * contrib/make_b32_all.bat
   * contrib/make_gcc_all.sh
   * contrib/make_vc_all.bat
     + hbvpdf added to make systems.
2008-05-20 11:39:39 +00:00

69 lines
2.9 KiB
Batchfile

@echo off
rem
rem $Id$
rem
rem *******************************************************
rem Bat file for creating (almost all) contrib libs
rem for Harbour Project for Microsoft Visual C/C++
rem *******************************************************
rem *******************************************************
rem Copyright 2007 Marek Paliwoda (mpaliwoda "at" interia "dot" pl)
rem See doc/license.txt for licensing terms.
rem *******************************************************
rem *******************************************************
rem The compilation is done in three steps. PLEASE DO NOT MODIFY IT
rem or you will break a Windows9x command.com line length limit !!!
rem *******************************************************
set HB_SHOW_ERRORS=no
rem *******************************************************
rem Creating a worker bat file ...
rem *******************************************************
set __BATWORKER__=_hbwrk_.bat
echo @echo off >%__BATWORKER__%
echo if %%1x == x goto EXIT >>%__BATWORKER__%
echo if not exist %%1\make_vc.bat goto EXIT >>%__BATWORKER__%
echo echo Entering: %%1 >>%__BATWORKER__%
echo cd %%1 >>%__BATWORKER__%
echo call make_vc.bat %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >>%__BATWORKER__%
echo cd .. >>%__BATWORKER__%
echo :EXIT >>%__BATWORKER__%
rem *******************************************************
rem Compiling contrib dirs ...
rem *******************************************************
set _HB_DIRS=rddado hbbmcdx hbbtree gtwvg hbct hbgt hbmisc hbnf hbmsql
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %__BATWORKER__% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
set _HB_DIRS=hbole hbziparch hbodbc hbtpathy hbtip hbvpdf hbw32 hbwhat32 xhb
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %__BATWORKER__% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
set _HB_DIRS=hbclipsm hbw32ddr
if not "%APOLLO_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbapollo
if not "%FIREBIRD_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbfbird
if not "%FREEIMAGE_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbfimage
if not "%GD_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbgd
if not "%MYSQL_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbmysql
if not "%PGSQL_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbpgsql
if not "%ADS_DIR%" == "" set _HB_DIRS=%_HB_DIRS% rddads
if not "%ZLIB_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbzlib
if not "%LIBHARU_DIR%" == "" set _HB_DIRS=%_HB_DIRS% hbhpdf
for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %__BATWORKER__% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9
rem *******************************************************
rem Cleaning ...
rem *******************************************************
del %__BATWORKER__% > nul
set _HB_DIRS=
set __BATWORKER__=
set HB_SHOW_ERRORS=