Re: [CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-13 Thread Michael Surette
On 03/13/2010 01:03 PM, Mateusz Loskot wrote: Michael Surette wrote: I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates its own function by that name. This works well w

[CMake] Windows/VC9: How to set a global include path?

2010-03-13 Thread Dennis Kempin
Hi there! Is it possible to set an global include path as environment variable for cmake? I want cmake to search the path for include files when using the find_package command. At the moment I have the following line in my CMakeLists.txt set(CMAKE_INCLUDE_PATH "C:/Program Files/Microsoft SDKs/Wi

Re: [CMake] CTest/CDash and git

2010-03-13 Thread Andreas Schneider
On Thursday 22 October 2009 23:23:56 Andrew Maclean wrote: > I guess the subject says it all. What is the status of using CMake, > Ctest and CDash with git? Hi, I've spent the whole afternoon writing a working CTest script which can checkout a git repository build and test it and submit to CDash

Re: [CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-13 Thread Mateusz Loskot
Michael Surette wrote: > I am updating the CMake build files for a cross-platform project. One > of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If > it's not found the code generates its own function by that name. > > This works well with GCC under Linux, including cross-co

[CMake] Problem with CHECK_FUNCTION_EXISTS and strcasecmp

2010-03-13 Thread Michael Surette
I am updating the CMake build files for a cross-platform project. One of the tests is for strcasecmp for which I use CHECK_FUNCTION_EXISTS. If it's not found the code generates its own function by that name. This works well with GCC under Linux, including cross-compiling with MinGW, as well a

[CMake] New FindXXX modules for XUL and NSPR

2010-03-13 Thread Guillaume Duhamel
Hi, I've been working on some FindXXX modules for XUL ( https://developer.mozilla.org/En/XUL ) and for its dependency: NSPR ( http://www.mozilla.org/projects/nspr/ ) and I'm now searching for some feedback on them. I've already talked a bit about it and about a submodule I had to write in a previ