IDE - Configuration options

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4472
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 352 times
Been thanked: 104 times
Contact:

IDE - Configuration options

Post by esgici » Wed Oct 12, 2011 11:40 am

Version : 2011.06.24
~~~~~~~~~~~~~~~~~~~~~~~

.hbc options (they should come in separate lines);
libs=[<libname(s)>]
hbcs=[<.hbc file(s)>]
gt=[gtname]
syslibs=[<libname(s)>]
frameworks=[<framework(s)>]
prgflags=[Harbour flags]
cflags=[C compiler flags]
resflags=[resource compiler flags]
ldflags=[linker flags]
pflags=[flags for plugins]
libpaths=[paths]
sources=[source files]
psources=[source files for plugins]
incpaths=[paths]
request=[func]
instfiles[files]
instpaths=[paths]
autohbcs=[<.ch>;<.hbc>]
plugins=[plugins]
gui|mt|pic|shared|nulrdd|nodefgt|debug|opt|map|strip|hbcppmm|winuni|implib|run|inc=yes|no]
cpp=[yes|no|def]
warn=[max|yes|low|no|def]
compr=[yes|no|def|min|max]
head=[off|full|native|dep]
skip=<reason>
stop=<reason>
echo=<text>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri May 29, 2015 2:43 am

I do not sure all these options are available in our IDE but this documentation surely be useful to improve ou user configuration at our IDE and Harbour compillation.
.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
Here is official link of this doc:
https://github.com/harbour/core/tree/ma ... /hbmk2/doc
(There are available in many languages)

Keeping informed.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri May 29, 2015 12:50 pm

VERY IMPORTANT

Please note all BOOL values must in in quotes.

It could be simple quotes ( 'no' or 'yes' ) or double quotes ( "no" or "yes" ).

This is a Harbour mandatory for right usage and interpretation of HBC files.

Keeping you inforrmed. :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri Nov 25, 2016 9:38 am

It was hard to find this information today.

Just to remind we can add at IDE Configuration:

instpaths="c:\In other place\Sys\" it's a Harbour directive will make a copy of executable file (in this case MyApp.exe) to the a second place (in this case at "c:\In other place\Sys" subfolder).

More details at:
viewtopic.php?p=41331#p41331
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Feb 07, 2017 5:40 pm

For the purposes of being registered and easy to find at forum "Search" on how to use the available ".a" libs for HMG in Harbour.
For example of NanFor (hbnf lib), you should put in the "Configuration" TAB of IDE by typing:

Libs=hbnf

Then its writes in .hbc of your project file.

It seems obvious to some, but this library is quite large and useful.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Post Reply