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 reloa

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 you

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 http://www.kitware.com/o

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

[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 adva

Re: [CMake] VC2010 Express crashing

2011-11-21 Thread Robert Dailey
On Mon, Nov 21, 2011 at 5:32 PM, John Drescher 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 somehow >

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 b

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 wrote: > Submit/send your crash reports to Microsoft so they can fix it.

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 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 wrote: > Unfortunately I don't have a whole lot of details to share her

[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 script:

[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 s

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" escreveu: > On Monday 21 November 2011, Mauricio de Paulo wrote: > > Hi Alexander, thanks for the quick reply! > > > > As far as I've read, the

[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

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 tag. The > workaround I wrote just removes the inside it. > > I've downloaded cmake 2.8.6, removed 2.8.5 packaged, and tested it with > the same resu

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 w

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 before,

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 tag. The workaround I wrote just removes the 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 this tag doing what i

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

2011-11-21 Thread Jonathan Riddell
On 21 November 2011 16:25, Félix C. Morency 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 independently released phonon l

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

[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 hou

[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 11

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] [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\

[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
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 guidanc

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 descri

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 > dpkg-

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] 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 wrote: > >> On 11/18/2011 10:03 PM, James Bigler wrote: >>> 2011/11/18 Alexander Neundorf >>> On Friday 18 November 2011, James Bigler wrote: > I thought CMake knew how to not drag all the dep

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] 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 virus,

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? > > Cur

[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 www.kit