This is my first post about Cycles (which I am just starting to learn about), so be nice to me, please
I want to get familiar with the project and have spent some time browsing the code. I noticed that cmake is a bit outdated. So, I have put some effort into turning them into more modern, target-based cmake. My priorities were:
• compile code into shared/static libraries • executable, libraries and headers installation • for each library export a cmake target • make a config to be able to import it by cmake command find_package(Cycles REQUIRED) • using it in my project as follows: target_link_libraries(foobar PUBLIC Cycles::Cycles)
If the community is interested in this approach, I would be more than happy to keep sharing and pushing it as a work in progress branch so we could have a discussion.
Note that I am currently unaware of project constraints.
I haven’t solved problem of cyclic dependencies. I ended up heaving shared libraries with undefined symbols. Also note that some features are missing, such as OCL, Cuda kernels, but it is just a matter of time that I get more familiar with the project!