[CMake] Preserving library order in target_link_libraries(...) command

2008-11-26 Thread Bartlett, Roscoe A
Hello, Does CMake guarantee that the order of the libraries passed into target_link_libraries(...) is preserved on the actual link line? For example, If I have: target_link_libraries(sometarget lib1 lib2 lib3 ...) does CMake guarantee that the link line will have the ordering: g++

Re: [CMake] Preserving library order in target_link_libraries(...) command

2008-11-26 Thread Brad King
Bartlett, Roscoe A wrote: Does CMake guarantee that the order of the libraries passed into target_link_libraries(...) is preserved on the actual link line? For example, If I have: target_link_libraries(sometarget lib1 lib2 lib3 ...) does CMake guarantee that the link line will have the