[CMake] CMake finds the wrong Python interpreter on Windows

2010-02-24 Thread Noel O'Boyle
Hello all, With the following CMakeLists.txt on Windows... project(MyProject NONE) find_package(PythonInterp) find_package(PythonLibs) Using CMake 2.6.4 (or CMake 2.8), I get -- Found PythonInterp: C:/Cygwin/bin/python2.5.exe -- Found PythonLibs: C:/Python26/libs/python26.lib instead of --

[CMake] OsX bundle including Qt framework

2010-02-24 Thread Martin Guillon
Hi, I use cmake to make an osx bundle of my qt application. During install I copy qt framework from my qt install dir to the Frameworks directory of my bundle. The problem I have now is that when using ostool -L I see that my executable look for qt frameworks in a dir which is the absolute

Re: [CMake] OsX bundle including Qt framework

2010-02-24 Thread Michael Jackson
http://www.cmake.org/Wiki/BundleUtilitiesExample ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Feb 24, 2010, at

Re: [CMake] OsX bundle including Qt framework

2010-02-24 Thread Werner Smekal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Martin, I use cmake to make an osx bundle of my qt application. During install I copy qt framework from my qt install dir to the Frameworks directory of my bundle. This will be done automagically using the BundleUtilities module. E.g. in my

Re: [CMake] OsX bundle including Qt framework

2010-02-24 Thread Martin Guillon
Thanks a lot, it now works perfectly MArtin -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Werner Smekal Sent: Wednesday, February 24, 2010 3:34 PM To: cmake@cmake.org Subject: Re: [CMake] OsX bundle including Qt framework -BEGIN

[CMake] random failures on windows INSTALL target. file INSTALL cannot copy file

2010-02-24 Thread Tim St. Clair
I've been noticing random failures on file copy operations of install targets when they are copying a lot of files. (e.g. - headers for a install library) file INSTALL cannot copy file I've verified there is nothing in the way, and I'm uncertain what the actual error is. It's intermittent

Re: [CMake] how to find out the compiler ID of a compiler which doesn't link

2010-02-24 Thread Alexander Neundorf
On Tuesday 23 February 2010, Alexander Neundorf wrote: On Monday 22 February 2010, Brad King wrote: Alexander Neundorf wrote: Hi, it seems the IAR C/C++ compiler for AVR cannot generate executables, but only object files, and the linker has to be called explcitely on the

Re: [CMake] random failures on windows INSTALL target. file INSTALL cannot copy file

2010-02-24 Thread Tim St. Clair
1-more point, when I check, the file is actually copied. On Wed, Feb 24, 2010 at 3:51 PM, Tim St. Clair timoth...@gmail.com wrote: I've been noticing random failures on file copy operations of install targets when they are copying a lot of files.  (e.g. - headers for a install library)    

[CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread PG
Hi all, I want to link a target to libraries A and B. A is in the /usr/lib directory, and B is in another directory, say /some/path. My problem is that an old version of A also exists in the directory /some/path, and if I add this directory to the linker search path, /some/path/A will be

Re: [CMake] CMake finds the wrong Python interpreter on Windows

2010-02-24 Thread Bill Hoffman
Noel O'Boyle wrote: Hello all, With the following CMakeLists.txt on Windows... project(MyProject NONE) find_package(PythonInterp) find_package(PythonLibs) Using CMake 2.6.4 (or CMake 2.8), I get -- Found PythonInterp: C:/Cygwin/bin/python2.5.exe -- Found PythonLibs:

Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread Bill Hoffman
PG wrote: Hi all, I want to link a target to libraries A and B. A is in the /usr/lib directory, and B is in another directory, say /some/path. My problem is that an old version of A also exists in the directory /some/path, and if I add this directory to the linker search path, /some/path/A

Re: [CMake] policy CMP0003 and full path, but still conflict with implicit directories

2010-02-24 Thread PG
Hi Bill, Can you create a small example that shows the problem you are having? what do you mean by a small example? A simple CMakeList.txt file with some code to compile? I will try to to this with some code anyone could compile, but it may take me some time as I am booked with other

Re: [CMake] Adding a generated source to all multiple targets

2010-02-24 Thread Oliver kfsone Smith
David Cole said the following on 2/24/2010 1:25 AM: Or this: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_generate_a_source_file_during_the_build.3F Bizzare. That's where I started. I rolled out all of my changes, stepped through recreating them based on the faq again, and this time it

Re: [CMake] Adding a generated source to all multiple targets

2010-02-24 Thread Tyler Roscoe
On Wed, Feb 24, 2010 at 05:17:27PM -0600, Oliver kfsone Smith wrote: That's half the problem solved -- the bulk of the post was, though: I want to automatically generate one of these per-target, so that the tolua runs with per-target compiler switches, and so that the resulting .cc file is

Re: [CMake] Adding a generated source to all multiple targets

2010-02-24 Thread Oliver kfsone Smith
Tyler Roscoe said the following on 2/24/2010 6:50 PM: I would write a wrapper for add_library() and/or add_executable() that does the normal add_*() stuff and then also sets up the custom command for generating the lua.*.cc files. Ok - I just wanted to make sure there wasn't some built-in

Re: [CMake] multicore interix'en testing

2010-02-24 Thread Markus Duft
/fs/E/buildbot/s01en22vm3-f_base-10.0/build/toolsbase-2010.0/var/tmp/portage/dev-util/cmake-2.8.1_rc3/work/cmake-2.8.1-rc3/Testing/20100224-1452/Build.xml Error message was: couldn't connect to host Problems when submitting via HTTP Errors while running CTest Markus -Bill