[CMake] Question about MSVC link-process

Ilya Shvetsov chvetsov at kranx.com
Wed Apr 9 02:13:58 EDT 2008


On Wed, 09 Apr 2008 07:32:59 +0300, Vladimir Sysoev  
<vladimir.sysoev at gmail.com> wrote:

> Ilya,
> I suppose you have to specify your libraries as dependency to target.
>
> - vladimir
>

I did.
I give example just to show.

Project(Exmple)
ADD_EXECUTABLE(Example main.cpp)
TARGET_LINK_LIBRARIES(Example libA.lib libB.lib libC.lib)


When some of lib*.lib is changed target 'Example' is not relinked.
And I'm looking for way to force relinking

-- 
Ilya Shvetsov
KranX Productions


More information about the CMake mailing list