Re: [CMake] LINK_LIBRARIES() does not respect SUFFIX/PREFIX

2007-03-24 Thread Peter Visser
Great! A while ago I tried to cross-compile code for win32 with mingw from linux and ran into the same problem with the library PREFIX and SUFFIX. Setting the PREFIX and SUFFIX globally works great, cross-compiling now works good for my project (and much faster than the native compile with mingw

RE: [CMake] LINK_LIBRARIES() does not respect SUFFIX/PREFIX

2007-03-21 Thread Kishore, Jonnalagadda (IE10)
My setup: Project/CMakeLists.txt: ADD_SUBDIRECTORY(dir) LINK_LIBRARIES(mylib) ADD_EXECUTABLE(myexec main.c) Project/dir/CMakeLists.txt: ADD_LIBRARY(mylib lib.c) SET_TARGET_PROPERTIES(mylib PROPERTIES

[CMake] LINK_LIBRARIES() does not respect SUFFIX/PREFIX

2007-03-20 Thread Kishore, Jonnalagadda (IE10)
My setup: Project/CMakeLists.txt: ADD_SUBDIRECTORY(dir) LINK_LIBRARIES(mylib) ADD_EXECUTABLE(myexec main.c) Project/dir/CMakeLists.txt: ADD_LIBRARY(mylib lib.c) SET_TARGET_PROPERTIES(mylib PROPERTIES PREFIX

RE: [CMake] LINK_LIBRARIES() does not respect SUFFIX/PREFIX

2007-03-20 Thread Kishore, Jonnalagadda (IE10)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kishore, Jonnalagadda (IE10) Sent: Wednesday, March 21, 2007 1:28 AM To: cmake@cmake.org Subject: [CMake] LINK_LIBRARIES() does not respect SUFFIX/PREFIX My setup: Project/CMakeLists.txt