Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread Bill Hoffman
On 11/2/2010 4:16 AM, Michael Wild wrote: David Cole Looks like w3c has had enough of the excessive traffic (although the post is back from 2008): http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic Odd thing is, it fails all the time. If you run xmllint from the

Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread Bill Hoffman
On 11/2/2010 10:11 AM, Michael Wild wrote: Seems like W3C is now requiring the User-Agent header, otherwise you get a 403 response. Using wireshark I found that xmllint doesn't send a User-Agent identification, and gets rejected. If I use wget and tell it to suppress the User-Agent header I

Re: [cmake-developers] Creating cdash subprojects: create_cdash_subprojects()

2010-11-02 Thread David Cole
Hey Alex, Have you prototyped this at all yet? Somebody has asked me recently (again) to make LABELS a global and directory level property that the target property automatically inherits its value from... to avoid having to set the target property hundreds of times, when the global could be set

Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread David Cole
I just merged this commit into 'next' : http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bb1df1ec8ea880c9859845b85828b8b724abb1ba It will definitively highlight for us all the submitting dashboard machines that are *not* using the --nonet argument to xmllint. Then, after tomorrow's run, we can

Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread Michael Wild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - From my experiments, --dtdvalid is not enough. No matter what I try, xmllint still wants to resolve http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd. The only way that worked for me was a catalog file. So, I suggest you add a minimal catalog file

Re: [CMake] Flags when building objects or a target

2010-11-02 Thread Rolf Eike Beer
Am Tuesday 02 November 2010 schrieb mina adel: Hi Please don't start a new discussion by replying to an old one. This completely breaks threading. I have a problem when cmake builds the objects for shared library. I have the following in my cmaklists.txt set(SIMULATOR_SOURCES circuit.cc

Re: [CMake] add_custom_command depends on output from add_custom_target

2010-11-02 Thread Rolf Eike Beer
Am Monday 01 November 2010 schrieb SK: I know add_custom_target does not produce output as far as CMake is concerned. My situation is as follows: A traditional make process that I cannot modify produces a target on which I must do some post-processing. I use add_custom_target to force

Re: [CMake] Converting from autoconf to cmake problem

2010-11-02 Thread Michael Wild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi In addition to the other replies, here some thoughts on the mentioned macros (see below): On 10/30/2010 05:45 AM, mina adel wrote: Hi All I am converting a code from configure.ac to cmake. Can any one please advice me about what is the

Re: [CMake] FindODBC.cmake

2010-11-02 Thread Adam J Richardson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 01 Nov 2010 20:04:44 + Mateusz Loskot mate...@loskot.net wrote: Thanks Mateusz, that's great! I only needed to add odbc32 to the list of library names (MinGW's OBDC implementation is in libodbc32.a). I'm glad it helped and thanks

[CMake] Using modules, adjusting CMAKE_MODULE_PATH

2010-11-02 Thread Thomas Lehmann
Hi all, what I read is that I have to adjust CMAKE_MODULE_PATH so that include or find_packages can work. My problem is that I don't want to use environment variables to tell where the root of all sources is: set(CMAKE_MODULE_PATH ${ CMAKE_MODULE_PATH } ${SRCROOT}) But I really don't like the

Re: [CMake] Using modules, adjusting CMAKE_MODULE_PATH

2010-11-02 Thread Rolf Eike Beer
Hi all, your solution is working fine but I got this message: CMake Error: The source F:/Checkouts/prototyping/cmake_sandbox/CMakeLists.txt does not match the source F:/Checkouts/prototyping/cmake_sandbox/rtd/CMakeLists.txt used to generate cache. Re-run cmake with a different source

Re: [CMake] Using modules, adjusting CMAKE_MODULE_PATH

2010-11-02 Thread Thomas Lehmann
I have not changed anything in the source tree and the current folder for the build tree is empty before I start calling cmake. The build is working fine (by the way) but this warning disturbs. CMP0011: Included scripts do automatic cmake_policy PUSH and POP. I'm not sure what I should do now.

Re: [CMake] CMake hangs on new install

2010-11-02 Thread Phil Smith
Is anyone else successfully using a toolchain file for an in-source build with 2.8.2 or later? We can't be the only ones?! I've reduced this to a relatively minimal case, but it doesn't fail on the first TryCompile, so I can't just stuff in a dummy compiler. With the toolchain file below

[CMake] Error with older QGis Cmake project

2010-11-02 Thread Bob Pawley
Hi I'm having a problem converting a QGis project using CMake GUI version 2.8 on Win 7. Can someone point me to a small project that will convert (Borland) so that I can discover what I am doing wrong? Bob ___ Powered by www.kitware.com Visit

Re: [CMake] Converting from autoconf to cmake problem

2010-11-02 Thread Aaron Turner
On Tue, Nov 2, 2010 at 12:40 AM, Michael Wild them...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi In addition to the other replies, here some thoughts on the mentioned macros (see below): On 10/30/2010 05:45 AM, mina adel wrote: Hi All I am converting a code from

[CMake] How to force the configure step to start over

2010-11-02 Thread tmp
Hi all, I have got some circular dependencies in my source that origin from internal cache variables managed in different parts of my project. Unfortunately there is no correct order to include the subprojects: Sometimes A B C would be correct, sometimes B C A, sometimes C A B. At the moment I

Re: [CMake] How to force the configure step to start over

2010-11-02 Thread David Cole
Elminate the circularity. You'll drive yourself mad. :-) On Tue, Nov 2, 2010 at 2:38 PM, tmp template.meta.program...@googlemail.com wrote: Hi all, I have got some circular dependencies in my source that origin from internal cache variables managed in different parts of my project.

Re: [CMake] add_custom_command depends on output from add_custom_target

2010-11-02 Thread SK
On Mon, Nov 1, 2010 at 11:25 PM, Rolf Eike Beer e...@sf-mail.de wrote: Am Monday 01 November 2010 schrieb SK: I know add_custom_target does not produce output as far as CMake is concerned.  My situation is as follows: A traditional make process that I cannot modify produces a target on which

[CMake] building static binaries

2010-11-02 Thread Szilárd Páll
Hi, I've been trying to implement a feature which would enable building static binaries with cmake, but I've got completely stuck, I hope someone can hint me what's the best way to do this. What I've done is a 2 stage solution for making static binaries: 1) Telling cmake to prefer picking up

[CMake] rpath business: CPack / running binaries in the build dir

2010-11-02 Thread Szilárd Páll
Hi, In order to be able to run binaries linked dynamically to some libraries from the same project the rpath in the build directory has to point to the lib directory in the build directory. However, this brakes CPack which seems to require the CMAKE_BUILD_WITH_INSTALL_RPATH set on to work

Re: [CMake] rpath business: CPack / running binaries in the build dir

2010-11-02 Thread Eric Noulard
2010/11/2 Szilárd Páll szilard.p...@cbr.su.se: Hi, In order to be able to run binaries linked dynamically to some libraries from the same project the rpath in the build directory has to point to the lib directory in the build directory. However, this brakes CPack which seems to require the

[CMake] findAtlas cmake

2010-11-02 Thread luxInteg
Greetings, I am a novice at cmake and attempting to compile lapack-3.2.2 on a computer with these:- ---cpu amd64 2 cores ---BLAS: atlas3.9.26 in /usr/local/atlas ---gcc-4.2.2/gfortran cmake-2.8 here is a list of algebra stuff in /usr/local/atlas/lib root [ ~ ]# ls /usr/local/atlas/lib

Re: [CMake] Converting from autoconf to cmake problem

2010-11-02 Thread Clifford Yapp
On Tue, Nov 2, 2010 at 12:24 PM, Aaron Turner synfina...@gmail.com wrote: Michael brings up a good point and I'd take it one step further. Rather then re-creating the laundry list of Autoconf macros, I'd rather just see a few macros like: CMAKE_CHECK_C99_COMPATIBILITY

Re: [CMake] Converting from autoconf to cmake problem

2010-11-02 Thread Aaron Turner
On Tue, Nov 2, 2010 at 6:09 PM, Clifford Yapp cliffy...@gmail.com wrote: On Tue, Nov 2, 2010 at 12:24 PM, Aaron Turner synfina...@gmail.com wrote: Michael brings up a good point and I'd take it one step further. Rather then re-creating the laundry list of Autoconf macros, I'd rather just see

Re: [CMake] findAtlas cmake

2010-11-02 Thread Michael Wild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 11/03/2010 12:48 AM, luxInteg wrote: Greetings, I am a novice at cmake and attempting to compile lapack-3.2.2 on a computer with these:- ---cpu amd64 2 cores ---BLAS: atlas3.9.26 in /usr/local/atlas ---gcc-4.2.2/gfortran cmake-2.8