Hi,
Suppose, IMPORTED libraries should help. Following is text from CMake
manual:
Higher granularity may be achieved for per-configuration rules by creating
and linking to IMPORTED library targets. See the IMPORTED mode of the
add_library command for more information.
See also http://www.cmake.o
Am Montag 02 März 2009 18:24:32 schrieb Dmytro Ovdiienko:
> if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I
> pass additional libraries to the target_link_libraries? I have two
> optimized libaries. One for /MT and one for /MD.
That depends if you want to link statically or
All,
if I have several configurations (e.g. /MT, /MTd, /MD, /MDd), how can I pass
additional libraries to the target_link_libraries? I have two optimized
libaries. One for /MT and one for /MD.
Thanks,
Dima
2009/2/25
> On Wed, Feb 25, 2009 at 1:38 AM, Hendrik Sattler
> wrote:
> debug and optim
On Wed, Feb 25, 2009 at 1:38 AM, Hendrik Sattler
wrote:
debug and optimized keywords are followed by _one_ library. The help entry
defines this correctly.
Thanks and sorry I missed that in the help. cmake really is amazing, but I
also find it massive. The "Mastering Cmake" book is excellent,
Am Mittwoch 25 Februar 2009 05:26:57 schrieb Jesse Perla:
> If I add on my own value to CMAKE_CONFIGURATION_TYPES so that I can have
> a separate build type in visual studio, etc. with compile time choice of
> build types, then how do I change the target_link_libraries to for this new
> build typ
If I add on my own value to CMAKE_CONFIGURATION_TYPES so that I can have a
separate build type in visual studio, etc. with compile time choice of build
types, then how do I change the target_link_libraries to for this new build
type?
One last comment on my last post. If I did:
target_link_libr