gambas-source-code/TEMPLATE
Benoît Minisini 7790bd8e1e [CONFIGURATION]
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.

[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component 
  requirements.

[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas 
  version string, with major and minor numbers.


git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 00:14:54 +00:00
..
conf [DEVELOPMENT ENVIRONMENT] 2009-07-30 21:42:46 +00:00
template [DEVELOPMENT ENVIRONMENT] 2009-07-30 21:42:46 +00:00
make-component [CONFIGURATION] 2010-03-10 00:14:54 +00:00
README
TEMPLATE.c
TEMPLATE.conf
TEMPLATE.cpp
TEMPLATE.h

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 developer mailing-list!

Benoît.