Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Bill Hoffman
Bob Paddock wrote: On Saturday 26 July 2008 03:28:59 pm Miguel A. Figueroa-Villanueva wrote: My project needs to link against C:\MinGW\lib\libuuid.a, amoung others, but it is not being found. I tried this: find_library( MinGW_Libraries uuid ) find_library(MinGW_Libraries uuid "C:/MinGW/lib")

Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Alan W. Irwin
On 2008-07-26 16:06-0400 Bob Paddock wrote: find_library( MinGW_libuuid uuid ole32 shell32 "C:/MinGW/lib" ) find_library( MinGW_libole32 ole32 "C:/MinGW/lib" ) find_library( MinGW_libshell32 shell32 "C:/MinGW/lib" ) # Is there a better way to do the above? What happens when you have dozens of

Re: [CMake] Handling tests

2008-07-26 Thread Piotr Jaroszyński
> I can't figure out how to add dependencies to tests defined with > ADD_TEST() like: > ADD_EXECUTABLE(foo_TEST foo_TEST.cc) > ADD_TEST(foo_TEST /path/test_wrapper foo_TEST) > > Is it possible to somehow tell CMake that this test deps on the target > foo_TEST? ADD_EXECUTABLE was supposed to be wi

[CMake] Handling tests

2008-07-26 Thread Piotr Jaroszyński
Hello, I can't figure out how to add dependencies to tests defined with ADD_TEST() like: ADD_EXECUTABLE(foo_TEST foo_TEST.cc) ADD_TEST(foo_TEST /path/test_wrapper foo_TEST) Is it possible to somehow tell CMake that this test deps on the target foo_TEST? Another problem I have is that I can't fig

Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Bob Paddock
On Saturday 26 July 2008 03:28:59 pm Miguel A. Figueroa-Villanueva wrote: > > My project needs to link against C:\MinGW\lib\libuuid.a, amoung > > others, but it is not being found. > > > > I tried this: > > > > find_library( MinGW_Libraries uuid ) > > find_library(MinGW_Libraries uuid "C:/MinGW/li

Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 26, 2008 at 11:28 AM, Bob Paddock wrote: > What is the correct way to find MinGW compiler libraries, > when not using MSYS? > > My project needs to link against C:\MinGW\lib\libuuid.a, amoung > others, but it is not being found. > > I tried this: > > find_library( MinGW_Libraries uuid )

[CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Bob Paddock
What is the correct way to find MinGW compiler libraries, when not using MSYS? My project needs to link against C:\MinGW\lib\libuuid.a, amoung others, but it is not being found. I tried this: find_library( MinGW_Libraries uuid ) but that did not find it. The only way I could find to link my p