a6e9f61ee1
* NEW: Update *.component files to the new format. * BUG: Fix component TEMPLATE directory. [EXAMPLES] * NEW: PhotoTouch: Display the browsed directory path. [INTERPRETER] * NEW: Change the 'main' hook syntax. Add a macro to call the previous 'main' hook, so that several hooks can be declared. [GB.MEDIA] * NEW: New multimedia component based on GStreamer. [GB.GTK] * BUG: Fix timer management so that it is compatible with the GB.Every() interpreter API. * NEW: Allows multiple 'main' hooks. [GB.QT4] * NEW: Allows multiple 'main' hooks. git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
76 lines
1.9 KiB
Text
76 lines
1.9 KiB
Text
/* Copyrights */
|
|
#define __COPYRIGHT (c) 2012
|
|
#define __AUTHOR Joe Smith
|
|
#define __EMAIL <joe.smith@gmail.com>
|
|
|
|
/* Name of the component */
|
|
#define __COMPONENT gb.test
|
|
|
|
/* Name of the component with points replaced by underscore */
|
|
#define __COMPONENT_UNDERSCORE gb_test
|
|
|
|
/* Short name of the component */
|
|
#define __NAME test
|
|
|
|
/* Short name of the component in uppercase */
|
|
#define __UNAME TEST
|
|
|
|
/* Description of the component */
|
|
#define __DESCRIPTION Testing component
|
|
|
|
/* If the component detection uses pkg-config */
|
|
#define __USE_PKGCONFIG 0
|
|
|
|
#if __USE_PKGCONFIG
|
|
|
|
/* Name of the package for pkg-config */
|
|
#define __PKGCONFIG_NAME test-1.0
|
|
|
|
/* Minimum version needed */
|
|
#define __PKGCONFIG_VERSION 1.2.8
|
|
|
|
#else /* __USE_PKGCONFIG */
|
|
|
|
/* If your component uses C */
|
|
#define __USE_C 1
|
|
|
|
/* If your component uses C++ */
|
|
#define __USE_CPLUSPLUS 1
|
|
|
|
/* If your component uses multi-threading */
|
|
#define __USE_THREAD 1
|
|
|
|
/* If your component uses X-Window */
|
|
#define __USE_XWINDOW 1
|
|
|
|
/* Includes to search for */
|
|
#define __SEARCH_INCLUDE test.h test2.h
|
|
|
|
/* Includes directories search path */
|
|
#define __SEARCH_INCLUDE_PATH /usr/local/lib /usr/local /usr/lib /usr
|
|
|
|
/* Includes sub-directories search */
|
|
#define __SEARCH_INCLUDE_DIR test/include include test*/include test/*/include
|
|
|
|
/* Libraries to search for */
|
|
#define __SEARCH_LIBRARY libtest.$SHLIBEXT libjpeg.$SHLIBEXT libpng.$SHLIBEXT
|
|
|
|
/* Libraries directories search path */
|
|
#define __SEARCH_LIBRARY_PATH /usr/local /usr
|
|
|
|
/* Libraries sub-directories search path */
|
|
#define __SEARCH_LIBRARY_DIR lib
|
|
|
|
/* Libraries to link with */
|
|
#define __LIBRARY -ljpeg -lpng -ltest
|
|
|
|
/* Includes to link with */
|
|
#define __INCLUDE -ljpeg -lpng -ltest
|
|
|
|
#endif /* __USE_PKGCONFIG */
|
|
|
|
/* Source file list */
|
|
#define __SOURCES main.c main.h test.c test.h
|
|
|
|
/* Main C/C++ source basename in uppercase */
|
|
#define __MAIN_UNAME MAIN
|