Hendrik Sattler wrote:
Zitat von Bill Hoffman <[email protected]>:

If the executable exports symbols, it should create an import .lib
file, and find_library should be able to find it.  You can not link to
a .exe file.

He talks about Linux, not Windows, AFAIK.


OK, then he needs to use the correct flags with dlopen so that it will give the module access to symbols in the .exe. You should be able to create a .so that has undefined symbols. Then, if you use dlopen(libname, RTLD_LAZY), it will use the symbols already in the loading exe.


-Bill
_______________________________________________
Powered by www.kitware.com

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

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

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

Reply via email to