CVED_en.htm

##

##

    ________________________________________________________________________
    Plugins:

      Plugins are load modules, compiled (Language C or other).
      Plugins can use all internal functions.
      System-neutral user interfaces can be created with the GUI-Tool "C-Kit-GUI".

      Plugins do not have specific commands (like processors).
      Plugins can be unloaded, recompiled and reloaded at run time.

    Activate a plugin: "Plugin/Select-Start" (oder Ctrl-P).

    ________________________________________________________________________

    Create new plug-in

     A source program ({progname}.c) and a Link job ({progname}.mak) are required
      (MS-Win: {progname}.nmak).

     Examples: Demo*.c, Demo*.mak  (MS-Win: Demo*.nmak).

     With "Options/compile_DLLs" on, a plugin is unloaded at runtime,
     recompiled, relinked and reloaded.

    Example:

    cd ~/devel/gcad3d/src/APP
      (MS: cd %APPDATA%\devel\gcad3d\src\APP)

    cp Demo_toolbar1.c myTest1.c

    cp Demo_toolbar1.mak myTest1.mak
      (MS: copy Demo_toolbar1.nmak myTest1.nmak)

    # change "Demo_toolbar1" in myTest1.c and in myTest1.mak into "myTest1"

    # for the first time the plugin must be built manually:
    . ../options.sh && make -f myTest1.mak
      (MS: nmake -f myTest1.mak)

    # start gcad with "Options/compile_DLLs" on
    ./do comp
      (MS: do comp)

    # select "Plugin / select plugin .. / myTest1"

    # keep gcad running; exit plugin; change code, save code;
    # restart plugin with "Ctrl+P" makes automatic recompile and start ..

    See also:
    - using the development-documentation
    - installation / customization of the development-tools

    ________________________________________________________________________
     Send bug reports, suggestions for improvements to
    support@gcad3d.org