Re: [CMake] always rebuild executable

2011-10-19 Thread Michael Hertling
On 10/18/2011 02:21 PM, Anton Sibilev wrote: 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

[CMake] always rebuild executable

2011-10-18 Thread Anton Sibilev
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

Re: [CMake] always rebuild executable

2011-10-18 Thread Bill Hoffman
On 10/18/2011 8:21 AM, Anton Sibilev wrote: 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