![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
To create the package you have to use set of mechanisms and macros in the separated project generating .arp file (physically it is a shared library, depending on the operating system).
To create the package you have to use set of mechanisms and macros in the separated project generating .arp file (physically it is a shared library, depending on the operating system).
First step is to create a CMake project definition. Example of CMakeList.txt taken from package IcfAuthorizationPck:
The project name should be the same as a folder name and C++ namespace.
In the project C++ header you should use typedef to assign the class implementations to component names, as in file IcfAuthorizationPck.h:
In the project C++ implementation you should use macros to provide component meta information, as in file IcfAuthorizationPck.cpp:
After compiling it, you will get the file IcfAuthorizationPck.arp, this will be used by Compositor to show component functions.
© Witold Gantzke and Kirill Lepskiy