[CMake] Dependency question

Robert Dailey rcdailey at gmail.com
Fri Oct 28 13:06:57 EDT 2011


I'm using CMake 2.8.6 and generating for VS 2003.

I have a DLL project that my EXE project needs to depend on, however I don't
want my EXE to link against that DLL's import library, since the EXE will
call LoadLibrary() to dynamically import symbols from the DLL being built.

I want the EXE project to depend on the DLL project so that in visual studio
the DLL is built when I build the EXE (because of project dependencies), but
I don't want the DLL 's import LIB to be linked in via command line.

Any way to do this?

---------
Robert Dailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111028/a4d25da3/attachment.htm>


More information about the CMake mailing list