[CMake] Building Matlab Mex Functions: Best Approach?

2008-05-29 Thread Adam Weiss
Hey Folks, I'm new to cmake and am in the process of converting a Linux based project over to use it. The project I'm converting includes a lot of Matlab mex extensions. I've done a good deal of internet research (both archives of this list and Google) and I've yet to really garner a good sense

Re: [CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

2008-05-29 Thread clinton
On Thursday 29 May 2008 12:59:18 pm Tanguy Krotoff wrote: > On Thu, May 29, 2008 at 8:48 PM, <[EMAIL PROTECTED]> wrote: > > Your patch doesn't work with build systems that have configurations > > (Visual Studio, XCode, etc..). > > Oups... I never use Visual Studio and others. > > > What's wrong wi

Re: [CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

2008-05-29 Thread Christian Ehrlicher
Tanguy Krotoff schrieb: On Thu, May 29, 2008 at 8:48 PM, <[EMAIL PROTECTED]> wrote: The bug that I got with QT_DEBUG/QT_NO_DEBUG not being defined is a pretty hard one. I simply would like other devs not to spend time on such stupid issues, so how can this be prevented? We hit this problem som

Re: [CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

2008-05-29 Thread Tanguy Krotoff
On Thu, May 29, 2008 at 8:48 PM, <[EMAIL PROTECTED]> wrote: > Your patch doesn't work with build systems that have configurations (Visual > Studio, XCode, etc..). Oups... I never use Visual Studio and others. > What's wrong with leaving it in UseQt4.cmake? In general, things work better > if yo

Re: [CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

2008-05-29 Thread clinton
Your patch doesn't work with build systems that have configurations (Visual Studio, XCode, etc..). Adding -DQT_DEBUG or -DQT_NO_DEBUG cannot rely on CMAKE_BUILD_TYPE. What's wrong with leaving it in UseQt4.cmake? In general, things work better if you use UseQt4.cmake (not only because of QT_

Re: [CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

2008-05-29 Thread Tanguy Krotoff
This thread contained another issue related to UseQt4.cmake and FindQt4.cmake: I wrote a bug report here http://public.kitware.com/Bug/view.php?id=7123 >> If you don't want that you don't have to use UseQt4.cmake and use >> FindQt4.cmake directly. >> There you have fine grained control over that.

[CMake] rebuild forces reloading of all project in VS2008

2008-05-29 Thread David Solbach
Hi, with Visual Studio 2008 I get a very annoying behaviour in connection with cmake which I didn't experience with Visual Studio 2005. So it's either the generator or VS itself. The problem is, that whenever I Recompile a project of my solution-file (which causes to build the "Check Cmak

Re: [CMake] CTest having difficulty determining where certain errors occurred

2008-05-29 Thread Bill Hoffman
troy d. straszheim wrote: I'd like to try to improve this. At first glance you'd try to scrape the name of the failed target out of the log and report it inside tags with each error/warning. I've been picking through ctest's source code and am willing to give it a shot, but first Sani

[CMake] CTest having difficulty determining where certain errors occurred

2008-05-29 Thread troy d. straszheim
Hey CMake and Co, Here's a snippet from a log generated by ctest: 1042 /usr/bin/ld: cannot find -lboost_serialization-static /usr/local/bin/cmake -E cmake_progress_report /.../Boost_1_35_0-build/CMakeFiles [ 15%] Building CXX object lib

Re: [CMake] CMakeLists for Hans-J. Boehm garbage collector

2008-05-29 Thread Joshua L. Blocher
David Genest wrote: Hi, I am converting a project from autotools to CMake which has a dependency on the the Hans B. GC library. I was wondering what would be the best way to go about converting the GC library. This library already comes with a set of makefiles for different platforms (NT_MAK

Re: [CMake] CMakeLists for Hans-J. Boehm garbage collector

2008-05-29 Thread Christoph Cullmann
Am Donnerstag, 29. Mai 2008 16:21:11 schrieb David Genest: > In the end, I would think that a CMake build would remove all these > makefiles for different platforms and thus be the best solution. Maybe this > work could be submitted to the maintainers > > What do you think ? We use libgc, too, if y

[CMake] CMakeLists for Hans-J. Boehm garbage collector

2008-05-29 Thread David Genest
Hi, I am converting a project from autotools to CMake which has a dependency on the the Hans B. GC library. I was wondering what would be the best way to go about converting the GC library. This library already comes with a set of makefiles for different platforms (NT_MAKEFILE, BCC_MAKEFILE, etc,

Re: [CMake] Support of Qt Designer source code generation in Visual Studio...

2008-05-29 Thread Clinton Stimpson
Iwan Dobbe wrote: Hi everyone, I'm using "Visual Studio 8 (2005) C++ with Qt4 integration" (MSVS/QT IDE) on a Windows XP platform. I started creating my application in the standard way with . This gives me Qt Designer support that creates and/or shows the accompanying source when a double c

Re: [CMake] to_cmake_path/to_native_path oddities

2008-05-29 Thread Axel Roebel
On Wednesday 28 May 2008, Bill Hoffman wrote: > Axel Roebel wrote: > > Hi Bill, > > > > Ok I see you mean running the windows binary from the command line. > > However,it does not work with unix makefiles. > > It uses windows paths in a unix makefile. > > I don't see in which situation this could b

Re: [CMake] Problem with installing shared libraries

2008-05-29 Thread Tero Laitinen
Hi again, I got it working by specifying different build directories for each subdirectory (the second parameter of add_subdirectory-command). add_subdirectory(${DIR} build/${DIR}) worked. It could be mentioned somewhere (in the documentation or as an error message) that a same path cannot b

[CMake] Problem with installing shared libraries

2008-05-29 Thread Tero Laitinen
Hi, I haven't been able to get cmake to install shared libraries from directories (CMakeLists.txt files) that only contain libraries, that is, no programs. The shared libraries defined in CMakeLists.txt that define also programs (with add_executable - command) get installed without problems

[CMake] Support of Qt Designer source code generation in Visual Studio...

2008-05-29 Thread Iwan Dobbe
Hi everyone, I'm using "Visual Studio 8 (2005) C++ with Qt4 integration" (MSVS/QT IDE) on a Windows XP platform. I started creating my application in the standard way with . This gives me Qt Designer support that creates and/or shows the accompanying source when a double click on a widget. It