|
MimIR 0.1
MimIR is my Intermediate Representation
|
Registers a new MimIR plugin.
Relative to the plugin's CMakeLists.txt, there should be a file <plugin-name>.mim containing the plugin's annexes.
<plugin-name> may only contain letters, digits, and underscores, and must satisfy MimIR's plugin naming constraints.
The command creates two targets:
SOURCES lists the source files that are compiled into the loadable plugin. PRIVATE lists additional private link dependencies.
INSTALL installs the plugin module, its .mim file, and the generated autogen.h. The export name mim-targets must be exported accordingly; see CMake's install(EXPORT ...) documentation.
Additional target properties can be set afterwards, for example: