[CMake] always rebuild executable

Anton Sibilev anton.sibilev at gmail.com
Tue Oct 18 08:21:20 EDT 2011


Hi! Looking for some help..
I use add_executable(exename) + target_link_libraries (exename
staticlibname), linux OS. If 'staticlibname' is not under CMake and chagnes
somehow, CMake will not rebuild executable.
And so I have a problem, that I have few updates of 'staticlibname' lib, but
very old executable. Can I force to rebuild executable every build?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111018/0f8d4e3f/attachment.htm>


More information about the CMake mailing list