---------- Forwarded message ---------- From: Evgeny Ratnikov <[EMAIL PROTECTED]> Date: 03.02.2008 11:00 Subject: "--as-needed" To: [email protected]
Hi When linking with option "--as-needed" the order of linkage is very important. At first there must be object files and then libraries. When linking with CMake's SET_TARGET_PROPERTIES/LINK_FLAGS I have libraries first and then object files. When using TARGET_LINK_LIBRARIES the order is reverse (and it is what I need). Here is the question. Is the linkage order a "special feature" of TARGET_LINK_LIBRARIES (There is nothing about it in documentation)? Are there any ways to specify linkage order? (Or may be are they in plans?) (I'm using CMake-2.4-patch 6) best regards, Evgeny Ratnikov -- best regards, Evgeny Ratnikov
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
