I have a project where we have a bunch of plugins that are compiled. We are 
currently wrapping with Pybind11 to access those libraries from Python. The 
issue on windows is that we get a multiple DLL load error and our thought was 
to create 1 enormous python module library (Not sure if this is the right idea 
or not….)

 

So my question has to do with how to add files to a target that might initially 
get created about 3 subdirs down from the top level CMakeLists.txt file but 
each time cmake runs through a CMake file that would configure a plugin can we 
just keep adding files to the python module target through the use of 
target_sources() command. Not sure how that works or if that idea would work.

 

Thoughts or pointers would be very much welcome.

 

--

Michael Jackson | Owner, President

      BlueQuartz Software

[e] mike.jack...@bluequartz.net

[w] www.bluequartz.net

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to