[CMake] Question about install()

Hendrik Sattler post at hendrik-sattler.de
Mon Dec 8 11:49:48 EST 2008


Robert Dailey schrieb:
> This makes absolutely no sense to me. To copy "all relevant files", I have
> to know their name. To know their name, I need to know the platform and the
> build configuration, since as I said before the names are different in both
> cases.

How do you link against them if you do not know the name? Do you use
that special auto-linking feature of MSVC?

> I don't think you understand. I have no control over the names of the shared
> libraries, since I am using third party libraries, such as boost.

Well, it's obvious that boost library naming sucks a lot. I know that
you cannot do anything about that.

> For
> example, in debug I need to use boost_filesystem-mt-gd.dll, and in release I
> use boost_filesystem-mt.dll. On Linux debug & release, the suffix will
> probably .so instead of .dll. I cannot debug my applications unless the DLL
> files can be copied to the location of the executable.

Again, how do you link against those libraries?

HS


More information about the CMake mailing list