how to build a LOADABLE_MODULE using cmake

Hi everyone,

I am wondering if there is any variable in LLVM's cmake configuration
which is equivalent to LOADABLE_MODULE in LLVM's Makefile
configuration.

I would like to build some loadable modules for opt and I could
successfully do that with Makefiles but not with CMakeLists.txt files.

Thanks,
Sean

Sean Lee <sean.ysl@gmail.com> writes:

I am wondering if there is any variable in LLVM's cmake configuration
which is equivalent to LOADABLE_MODULE in LLVM's Makefile
configuration.

No.

Is there documentation for that feature? I could try to implement it
once I have an idea of what it does.