gambas-source-code/TEMPLATE
gambas 94e6feaf5c New 'gb.poppler' component that will replace 'gb.pdf'.
[CONFIGURATION]
* NEW: Fix component template generator.

[GB.POPPLER]
* NEW: New 'gb.poppler' component that will replace 'gb.pdf'.
2020-06-18 00:04:33 +02:00
..
conf New 'gb.poppler' component that will replace 'gb.pdf'. 2020-06-18 00:04:33 +02:00
template New 'gb.poppler' component that will replace 'gb.pdf'. 2020-06-18 00:04:33 +02:00
make-component [CONFIGURATION] 2012-04-30 00:04:51 +00:00
README New 'gb.poppler' component that will replace 'gb.pdf'. 2020-06-18 00:04:33 +02:00
TEMPLATE.c [CONFIGURATION] 2012-01-24 01:06:49 +00:00
TEMPLATE.conf [CONFIGURATION] 2014-04-05 21:22:43 +00:00
TEMPLATE.cpp
TEMPLATE.h [CONFIGURATION] 2012-01-24 01:06:49 +00:00

COMPONENT DIRECTORY TEMPLATE

Here you will find the 'make-component' script, that creates a initial 
component source directory from a configuration file located in the 
'conf' directory.

BE CAREFUL! This template only works inside the complete gambas source 
package structure.

For example, let suppose you want to make a component named 'gb.test',
based on the well known 'test' library:

1) Copy the file 'TEMPLATE.conf' in the 'conf' directory, and rename it
   as 'gb.test.conf'
   
2) Open a terminal, with the current directory being the one where
   the 'make-component' script is located. This is important, because
   otherwise the script won't work.
   
3) Edit the file 'gb.test.conf', and replaces the value of each
   '#define' directive by the appropriate ones. Each directive has
   a commentary that explains its role.
   
4) Once done, run './make-component gb.test'.

5) If everything is ok, you will find a new component directory in the
   parent directory named gb.test, with all needed files and symbolic
   links ready to be build: configure.ac, Makefile.am, ...
   
If something is weird, tell me on the gambas mailing-list!

Benoît.