Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread Brad King
On 11/18/2011 12:50 PM, James Bigler wrote: What I'm envisioning is developing a new custom build tool, call it CMake Custom Command (or CCC for short) Would the custom commands in the project files just invoke this tool on every build? -Brad -- Powered by www.kitware.com Visit other

Re: [cmake-developers] rpaths on Mac

2011-11-21 Thread Brad King
On 11/17/2011 5:26 PM, Clinton Stimpson wrote: To get the desired behavior, we can automate set(CMAKE_INSTALL_NAME_DIR @rpath) I think it would be nice to have it be @rpath even in the build tree, but I don't see that as a requirement. It could help avoid install name changes at install

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.com wrote: On 11/18/2011 12:50 PM, James Bigler wrote: What I'm envisioning is developing a new custom build tool, call it CMake Custom Command (or CCC for short) Would the custom commands in the project files just invoke this

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread Brad King
On 11/21/2011 3:33 PM, James Bigler wrote: On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.com mailto:brad.k...@kitware.com wrote: On 11/18/2011 12:50 PM, James Bigler wrote: What I'm envisioning is developing a new custom build tool, call it CMake Custom

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote: On 11/21/2011 3:33 PM, James Bigler wrote: On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.commailto: brad.k...@kitware.com wrote:

Re: [cmake-developers] rpaths on Mac

2011-11-21 Thread Clinton Stimpson
On Monday, November 21, 2011 01:41:57 pm James Bigler wrote: Would what you are proposing make the following easier? This is how I setup @rpath on my system. Why do you need something special? I use @rpath for the install name by doing the following: if(RELEASE_PUBLIC)

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 2:03 PM, James Bigler jamesbig...@gmail.com wrote: On Mon, Nov 21, 2011 at 1:55 PM, James Bigler jamesbig...@gmail.comwrote: On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote:

[CMake] fetch pkgconfig variable

2011-11-21 Thread Weng Xuetian
Hi, currently I can only use _pkgconfig_invoke to get pkgconfig variable in cmake, though it works well, but I don't think it is good to use the private macro, is there any plan to make it public? Thanks signature.asc Description: This is a digitally signed message part. -- Powered by

Re: [CMake] Required file to use add_test in a CTedt Script?

2011-11-21 Thread David Cole
The add_test command only works in the context of a CMakeLists.txt file. It is not a scriptable command. HTH, David On Nov 20, 2011, at 12:24 PM, noru...@me.com wrote: Hi, I want to use the add_test() command in a ctest script, but what must I include to get them working? Currently

Re: [CMake] Positives detected in cmake-2.8.6 by antivirus software

2011-11-21 Thread David Cole
Have you run a full virus scan on your entire system? I would think that if you have a pre-existing virus, and are building software on that machine, then it's quite likely for a copy of that virus to end up in whatever software you are building, regardless of what it is, depending on the

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread David Cole
CMake does use env vars PATH, LIB and INCLUDE when detecting executables, libraries and header files. If your env is set up on a machine-wide basis for vs 2003, it would not surprise me if some things were found inconsistently when attempting to build for vs 10... On Nov 19, 2011, at 1:48 PM,

Re: [CMake] Transitive linking

2011-11-21 Thread Michael Hertling
On 11/19/2011 08:02 AM, James Bigler wrote: On Fri, Nov 18, 2011 at 5:51 PM, Michael Hertling mhertl...@online.dewrote: On 11/18/2011 10:03 PM, James Bigler wrote: 2011/11/18 Alexander Neundorf a.neundorf-w...@gmx.net On Friday 18 November 2011, James Bigler wrote: I thought CMake knew how

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
I think though that by default, no visual studio installations place the install path in PATH in the environment. So if I'm remembering correctly and that is true, what other means does it use? Does it use the registry at all? If you could kindly describe the search path it uses that would be very

Re: [CMake] One project, one platform, 2 compilers

2011-11-21 Thread Michael Hertling
On 11/18/2011 06:17 PM, Paul Hansen wrote: Thank you very much for the answers, David and Michael. I am trying to get a QNX compiler to work with CMake. My host comp runs Ubuntu. I did: cmake -G Unix Makefiles -D CMAKE_C_COMPILER=qcc -D CMAKE_CXX_COMPILER=QCC .. but get

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Bill Hoffman
On 11/21/2011 9:23 AM, Robert Dailey wrote: I think though that by default, no visual studio installations place the install path in PATH in the environment. So if I'm remembering correctly and that is true, what other means does it use? Does it use the registry at all? If you could kindly

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
I have the following versions of VS installed: VS 2003 VS 2005 VS 2008 VC 2010 Express So I can imagine there would be a lot of confusion :P FWIW, CMake can find VS 2003 and VS2008 just fine. I will look at the script and debug this a bit and then report back to you guys. Thanks for the

[CMake] build time variables - is it possible?

2011-11-21 Thread Łukasz Tasz
Hi All, I have quick question, Is there any possibilities to set build time variable? something similar to CMAKE_VERBOSE_MAKEFILE which ends with make variable VERBOSE. As far as I found inside documentation there is no such a possibility, but before starting alternative implementation, I would

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Robert Dailey
So I modified the CMakeVS10FindMake.cmake module to print the result of the first call to find_program(): FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES devenv HINTS [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory]

[CMake] CMake, Qt4, Ubuntu and Phonon

2011-11-21 Thread Félix C . Morency
I filled a bug report on launchpad regarding the use of CMake, Qt4, Ubuntu 11.10-64 and Phonon. https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170 The problem is that the FindQt4 module tries to find phonon in the path where the Qt4 library are located. This default path under Ubuntu

[CMake] Eclipse CDT Bug?

2011-11-21 Thread Mauricio de Paulo
Hi list, I've just recently became a CMake user and I'm really glad such a powerfull tool is available. I've used CMake with KDevelop so far but I'd really like to change to Eclipse. I've found that the Eclipse generator is not working properly and I wrote myself a simple fix after some

Re: [CMake] Eclipse CDT Bug?

2011-11-21 Thread Alexander Neundorf
On Monday 21 November 2011, Mauricio de Paulo wrote: Hi list, I've just recently became a CMake user and I'm really glad such a powerfull tool is available. I've used CMake with KDevelop so far but I'd really like to change to Eclipse. I've found that the Eclipse generator is not working

Re: [CMake] CMake, Qt4, Ubuntu and Phonon

2011-11-21 Thread Jonathan Riddell
On 21 November 2011 16:25, Félix C. Morency felix.more...@gmail.com wrote: I filled a bug report on launchpad regarding the use of CMake, Qt4, Ubuntu 11.10-64 and Phonon. https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170 I've commented on the bug report Ubuntu uses the

Re: [CMake] Eclipse CDT Bug?

2011-11-21 Thread Mauricio de Paulo
Hi Alexander, thanks for the quick reply! As far as I've read, the problem is with the linkedResources tag. The workaround I wrote just removes the link inside it. I've downloaded cmake 2.8.6, removed 2.8.5 packaged, and tested it with the same results. I'm afraid the problem persists. Is

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread Michael Jackson
I has been my experience with multiple versions of Visual studio installed on Windows to remove any trace of visual studio from the system path. Period. Having any path in the system wide PATH or User Wide PATH variable will inevitably lead to odd ball issues like this. Then, like I said

Re: [CMake] VC2010 Express + CMake = fails

2011-11-21 Thread David Cole
I've also always found a key ingredient in making multiple versions of Visual Studio work well with each other is to keep them from adding anything about themselves into system-wide or user-wide env var values. It's both unnecessary and counterproductive. Especially given the fact that VS itself

Re: [CMake] Eclipse CDT Bug?

2011-11-21 Thread Alexander Neundorf
On Monday 21 November 2011, Mauricio de Paulo wrote: Hi Alexander, thanks for the quick reply! As far as I've read, the problem is with the linkedResources tag. The workaround I wrote just removes the link inside it. I've downloaded cmake 2.8.6, removed 2.8.5 packaged, and tested it with

[CMake] Java Script Changes

2011-11-21 Thread Allen D Byrne
I needed to change the UseJava.cmake script to allow INSTALL components and to have more flexible locations for JAR resource files. In addition I needed to change the java_copy_file function to use the execute_process command. Attached is the diff for my changes, hoping the correct folks will

Re: [CMake] Eclipse CDT Bug?

2011-11-21 Thread Maurício de Paulo
Great! Thanks for the tips. i'm to download the latest eclipse and try again. All the best, Mauricio de Paulo Em 21/11/2011 18:47, Alexander Neundorf a.neundorf-w...@gmx.net escreveu: On Monday 21 November 2011, Mauricio de Paulo wrote: Hi Alexander, thanks for the quick reply! As far as

[CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
Unfortunately I don't have a whole lot of details to share here, so I'm hoping someone can tell me what steps I can take to debug this issue. I generated about 120 projects in a VC2010 Express solution and opened it. Everything opened fine. I pick any project in the solution, right-click it, and

[CMake] Cmake: Link boost statically in Xcode

2011-11-21 Thread Matthias Dörfelt
Hi, I am new to Xcode and I am currently trying to replicate existing Xcode projects (i manually created) with CMake for future portability reasons. Anyways, I am experiencing some weirdness when trying to build a static library using the Xcode generator. Here is an excerpt of the CMake

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread David Cole
Submit/send your crash reports to Microsoft so they can fix it... I haven't heard of a problem like this. Is it 100% reproducible? (i.e. does it happen every time you do this?) On Mon, Nov 21, 2011 at 4:30 PM, Robert Dailey rcdai...@gmail.com wrote: Unfortunately I don't have a whole lot of

Re: [CMake] Cmake: Link boost statically in Xcode

2011-11-21 Thread David Cole
If you are building a static library, then there is nothing for the linker to put into your library that comes from boost. If somebody then builds a shared library or an executable that links to your library, they will also have to link the dependent boost libraries, if the functions they call in

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
Yes it is 100% reproducible. I don't know if telling someone to send reports to Microsoft and have them fix the problem is the most reasonable solution. - Robert Dailey On Mon, Nov 21, 2011 at 5:18 PM, David Cole david.c...@kitware.com wrote: Submit/send your crash reports to

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread John Drescher
Yes it is 100% reproducible. I don't know if telling someone to send reports to Microsoft and have them fix the problem is the most reasonable solution. Isn't it a Microsoft bug? I mean even if the sln file was somehow wrong Visual Studio should not crash when using it. John -- Powered by

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
On Mon, Nov 21, 2011 at 5:32 PM, John Drescher dresche...@gmail.com wrote: Yes it is 100% reproducible. I don't know if telling someone to send reports to Microsoft and have them fix the problem is the most reasonable solution. Isn't it a Microsoft bug? I mean even if the sln file was

[CMake] ccmake was not created

2011-11-21 Thread Mikhail Artemiev
Hello! After configuring (./configure --prefix=/home/mikhail/install), building (make) and installation (make install) of CMake 2.8.6, I don't have ccmake in /home/mikhail/install/bin directory. What I'm doing wrong? Or I need additional sources for ccmake? My OS is Ubuntu 10.04. Thanks in

Re: [CMake] ccmake was not created

2011-11-21 Thread Michael Wild
On 11/22/2011 06:45 AM, Mikhail Artemiev wrote: Hello! After configuring (./configure --prefix=/home/mikhail/install), building (make) and installation (make install) of CMake 2.8.6, I don't have ccmake in /home/mikhail/install/bin directory. What I'm doing wrong? Or I need additional

Re: [CMake] ccmake was not created

2011-11-21 Thread Mikhail Artemiev
Hi Michael! Thank you for the quick reply. I didn't have this library. Now I installed it, then I reconfigured, rebuild and reinstalled CMake, but still I didn't find ccmake nowhere. Mikhail -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] ccmake was not created

2011-11-21 Thread Michael Wild
On 11/22/2011 08:34 AM, Mikhail Artemiev wrote: Hi Michael! Thank you for the quick reply. I didn't have this library. Now I installed it, then I reconfigured, rebuild and reinstalled CMake, but still I didn't find ccmake nowhere. Mikhail Do you see a BUILD_CursesDialog entry in your

Re: [CMake] ccmake was not created

2011-11-21 Thread Mikhail Artemiev
I don't see a BUILD_CursesDialog entry in my CMakeCache.txt file.But a CURSES_NCURSES_LIBRARY entry exists, and it point to /usr/lib/libncurses.so (which exists too).When I try to add a string BUILD_CursesDialog:BOOL=ON intoCMakeCache.txt by hand and then remake the project,CMakeCache.txt

[Cmake-commits] CMake branch, master, updated. v2.8.6-217-gad9bffd

2011-11-21 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via ad9bffdc3c1b43e0a3c3f47e9ee8d3bff487324e (commit) from

[Cmake-commits] CMake branch, next, updated. v2.8.6-1964-gd6566e2

2011-11-21 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via d6566e24776e7253b926a1a924b977d0f844c9ab (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-1966-gb7755a7

2011-11-21 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b7755a73594d41497819eb90197a94eeb7b4b46b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-1969-gba1212b

2011-11-21 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ba1212b74ec3437eed781c30c7e957dbe6ef1b91 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-1973-gddf1603

2011-11-21 Thread Clinton Stimpson
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ddf16039f8f093f4d5aa43405ae1c22668b5246a (commit) via