Lezz Giles wrote: > > > I have a project set up that imports libraries, and I want to relink if > those imported libraries change; > > > > For example, in a directory I have > > hellow.c > > libfred.a > > CMakeLists.txt > > > > where CMakeLists.txt contains: > > ----------------------------------------- > > LINK_DIRECTORIES(.) > > ADD_EXECUTABLE(hellow hellow.c) > > TARGET_LINK_LIBRARIES(hellow fred) > > ----------------------------------------- > > I run 'cmake .' > > > > Now if I touch hellow.c, hellow rebuilds, but if I touch libfred.a then > hellow doesn't rebuild. >
This is related to my question and partial solution in the thread [CMake] To specify dependency to other library started 29/11 2008 http://www.cmake.org/pipermail/cmake/2008-November/025661.html http://www.cmake.org/pipermail/cmake/2008-December/025716.html
begin:vcard fn:Per Rosengren n:Rosengren;Per org:Royal Institute of Technology (KTH);Computational Vision and Active Perception Laboratory adr:;;Teknikringen 14, room 621;Stockholm;;11428;Sweden email;internet:[EMAIL PROTECTED] title:Ph.D. student tel;work:+46 8 7906203 note:PGP keyID: 0xD40DD8E0 x-mozilla-html:FALSE url:http://www.csc.kth.se/~perrose/ version:2.1 end:vcard
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake