[CMake] Windows library target names
drescherjm at gmail.com
Thu Jul 22 16:46:03 EDT 2010
On Thu, Jul 22, 2010 at 4:43 PM, Olaf van der Spek <olafvdspek at gmail.com> wrote:
> On Thu, Jul 22, 2010 at 10:41 PM, John Drescher <drescherjm at gmail.com> wrote:
>>> And then what? Having two DLLs with the same name is not going to
>>> work. Same for import or static libs.
>> It would work fine if the dlls for multiple configurations were not
>> all dumped in 1 folder. That is how I have used cmake for 2+ years.
> How will the loader load the correct DLL if they've got the same name?
It loads the .dll in the path of the executable. Since the .dlls for
other configurations are not in the same path it finds the correct dll
and there is no conflict.
John M. Drescher
More information about the CMake