The .hbc directives allow specifying build options and settings for the Harbour build system. Some of the key directives include:
- sources, headers, libs, frameworks to specify input files and dependencies
- cflags, ldflags, dflags to specify compiler, linker, and debugger options
- gui, mt, pic, shared to control build type settings
- name, version, description to define package metadata
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
94 views2 pages
HBMK 2
The .hbc directives allow specifying build options and settings for the Harbour build system. Some of the key directives include:
- sources, headers, libs, frameworks to specify input files and dependencies
- cflags, ldflags, dflags to specify compiler, linker, and debugger options
- gui, mt, pic, shared to control build type settings
- name, version, description to define package metadata
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
.
hbc directives (they should be written in separate lines):
echo=<msg> display <msg> skip=[<msg>] skip processing the rest of the .hbc file. Display <msg>, if specified. stop=[<msg>] stop the build. Display <msg>, if specified. sources= add space separated list of files as input files headers= add space separated list of .ch format headers as standard header libs= add space separated list of libraries (see more at -l option) frameworks= add space separated list of frameworks (Darwin only) requests= add space separated list of symbols to force link to the build target syslibs= add space separated list of libraries as system libraries (before regular libraries) hbcs= embed space separated list of .hbc files. Names without the extension is accepted. These references are processed in place. autohbcs= space separated list of values as in -autohbc= option libpaths=space separated list of additional library paths incpaths=add space separated list of additional header paths (for both Harbour and C) instfiles=space separated list of values as in -instfile= option instpaths=space separated list of values as in -instpath= option prgflags=space separated list of values as in -prgflag= option cflags=space separated list of values as in -cflag= option resflags=space separated list of values as in -resflag= option ldflags=space separated list of values as in -ldflag= option ldflags+=space separated list of values as in -ldflag+= option dflags=space separated list of values as in -dflag= option dflags+=space separated list of values as in -dflag+= option pflags=space separated list of values as in -pflag= option psources=space separated list of values as in -pi= option gui=<bool> 'yes' = -gui, 'no' = -std option mt=<bool> 'yes' = -mt, 'no' = -st option pic=<bool> 'yes' = -pic, 'no' = -pic- option shared=<bool> 'yes' = -shared, 'no' = -static option shareddef=<bool> similar to shared=, but works only if shared/static mode was not set before fullstatic=<bool> 'yes' = -fullstatic, 'no' = -static option debug=<bool> 'yes' = -debug, 'no' = -debug- option optim='yes' = -optim, 'no' = -optim- option nulrdd=<bool> 'yes' = -nulrdd, 'no' = -nulrdd- option nodefgt=<bool> 'yes' = -nodefgt, 'no' = -nodefgt- option map=<bool> 'yes' = -map, 'no' = -map- option hbcppmm=<bool> 'yes' = -hbcpmm, 'no' = -hbcpmm- option implib=<bool> 'yes' = -implib, 'no' = -implib- option winuni=<bool> 'yes' = -winuni, 'no' = -winuni- option strip=<bool> 'yes' = -strip, 'no' = -strip- option run=<bool> 'yes' = -run, 'no' = -run- option inc=<bool> 'yes' = -inc, 'no' = -inc- option safe=<bool> 'yes' = -safe, 'no' = -safe- option cpp=same as -cpp= option warn=same as -warn= option compr=same as -compr= option head=same as -head= option plugins=space separated list of hbmk2 plugins to load gt=<name> same as -gt<name> option gtdef=<name> set the default GT to be used env=same as -env: option deppkgname=same as -deppkgname= option depkeyhead=same as -depkeyhead= option depoptional=same as -depoptional= option depcontrol=same as -depcontrol= option depincroot=same as -depincroot= option depincpath=same as -depincpath= option depincpathlocal=same as -depincpathlocal= option depimplibs=same as -depimplibs= option depimplibd=same as -depimplibd= option depfinish=same as -depfinish= option name=package name description=package description version=<x.y.z> package version number, where x,y,z >= 0 <= 255. Defaults to 0.0.1, if not specified. keywords=space separated list of keywords licences=space separated list of licenses repository=space separated list of source repository references