Re: [CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Andreas Pakulat
Hi, On Tue, Jun 26, 2012 at 12:14 AM, Sohail Shafii wrote: > I'm sorry but I don't quite understand the first sentence in your > response. How would I run my locally-built cmake "for the cmake sources"? > Do you mean try to use cmake to generate a makefile for the cmake sources? > Yes, exactly,

Re: [CMake] Announcements mailing list

2012-06-25 Thread Ben Medina
You could subscribe to the Kitware blog. It's more than just CMake, but they do announce all releases there. Thanks, Ben On Monday, June 25, 2012 at 4:16 PM, Craig Scott wrote: > Hi all. There's a fair amount of traffic on this list these days. Even in > digest > mode, it's not unusual to

[CMake] Using MPI and non-MPI compiler in the same cmake project?

2012-06-25 Thread Ateljevich, Eli
Hi all, My project is mostly built with Fortran that uses mpif90 as a wrapper. I use find_package(MPI REQUIRED) to locate f90mpi and then change set the CMAKE_Fortran_COMPILER to ${MPI_Fortran_COMPILER}. This seemed to work fine until started wrapping up some utilities that do not need to be

[CMake] Announcements mailing list

2012-06-25 Thread Craig Scott
Hi all. There's a fair amount of traffic on this list these days. Even in digest mode, it's not unusual to get up to 8 or more emails a day from this list alone. For those who really just want to know when new CMake releases are coming out, this list is a bit too busy. Any chance a separate mai

Re: [CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Sohail Shafii
I'm sorry but I don't quite understand the first sentence in your response.  How would I run my locally-built cmake "for the cmake sources"? Do you mean try to use cmake to generate a makefile for the cmake sources? Also, I don't know anything regarding cmake's trace features.  I only use it to

Re: [CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:48 PM, Sohail Shafii wrote: > Thanks. What it is apparently doing is including the argument: > -I/home/***/local/include/ncurses. It should be -I/home/***/local/include. > I'm not sure why it generates the former during the bootstrap/configuration > phase. > > The p

Re: [CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Sohail Shafii
Thanks. What it is apparently doing is including the argument: -I/home/***/local/include/ncurses. It should be -I/home/***/local/include.  I'm not sure why it generates the former during the bootstrap/configuration phase. The problem variable is the following in the CMakeCache.txt file: //The c

Re: [CMake] Python version specification in FindPythonInterp is ignored

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:20 PM, Ateljevich, Eli wrote: > Actually, clearing the cache worked for FindPythonInterp but I still can’t > get FindPythonLibs.cmake to work. Same problem …. it can find the 2.4 > version but not the 2.7 version – and gives an error when 2.7 is required. > Obvious

Re: [CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:25 PM, Sohail Shafii wrote: > Hi, > > [ 49%] Building C object > Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.c.o > In file included from > /home/***/src/cmake-2.8.8/Source/CursesDialog/form/form.priv.h:34, > from > /home/***/src/cmake-2.8

[CMake] Trying to compile cmake with local copy of ncurses library

2012-06-25 Thread Sohail Shafii
Hi, I am currently on a machine that I do not have admin access to. As such, I have to install my libraries locally inside of my home directory, which I did do for ncurses (since I like to use ccmake). Now when I run the bootstrap program for cmake, it does not complain about ncurses being mis

Re: [CMake] Can imported libraries depend on ExternalProject targets?

2012-06-25 Thread Alexander Neundorf
On Saturday 23 June 2012, Stefan Reuschl wrote: > Am 22.06.2012, 20:21 Uhr, schrieb Kent Williams > > : > > OK, I guess. > > > > The only reason I bring this up is ITK. If you're familiar with the > > ITK build process, it has a 'module' concept -- not a module in the > > CMake sense (where it is

Re: [CMake] Python version specification in FindPythonInterp is ignored

2012-06-25 Thread Ateljevich, Eli
Actually, clearing the cache worked for FindPythonInterp but I still can't get FindPythonLibs.cmake to work. Same problem it can find the 2.4 version but not the 2.7 version - and gives an error when 2.7 is required. Obviously, I cleared the cache this time. Again, is there a hint I can giv

Re: [CMake] Python version specification in FindPythonInterp is ignored

2012-06-25 Thread Ateljevich, Eli
Apologies to all. It worked OK after I blew away the cache. From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Ateljevich, Eli Sent: Monday, June 25, 2012 1:40 PM To: cmake@cmake.org Subject: [CMake] Python version specification in FindPythonInterp is ignored Hi, I am wo

[CMake] Python version specification in FindPythonInterp is ignored

2012-06-25 Thread Ateljevich, Eli
Hi, I am working with cmake 2.6 but have grabbed FindPythonInterp.cmake and its dependencies from 2.8.8. From what I can tell, this version is touted as having resolved most issues with specifying the python version. Our OS has a python 2.4 called "python" installed in /usr/bin. There is another

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Michael Jackson
I have this issue with the Qt runtime Libraries because I have multiple versions of Qt on my system so putting the Qt stuff on my path just doesn't work. I have a cmake script that copies in the needed run time libraries into the build directory. This is for external libraries. Internal librarie

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Benjamin Kurz
Thank you both for clarifying that for me. Benjamin Am 25.06.2012 um 21:31 schrieb Bill Hoffman: > Bottom line is that Windows does not have an RPATH equivalent. There is no > way to embed a search path into an executable like there is on Linux/Unix. > Windows has a very simple search algo

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Bill Hoffman
Bottom line is that Windows does not have an RPATH equivalent. There is no way to embed a search path into an executable like there is on Linux/Unix. Windows has a very simple search algorithm for dll's: 1. Is it in the same directory as the running .exe 2. Is it in the PATH So, you can use

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread David Cole
On Mon, Jun 25, 2012 at 2:38 PM, Benjamin Kurz wrote: > Hi Petr, > > thanks for the help. > Sure, setting the PATH is an option. I will also try the > RUNTIME_OUTPUT_DIRECTORY. > > But I'm still wondering why Visual Studio does not pick up the dll at runtime. > Is the option "link_directories" an

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Benjamin Kurz
Hi Petr, thanks for the help. Sure, setting the PATH is an option. I will also try the RUNTIME_OUTPUT_DIRECTORY. But I'm still wondering why Visual Studio does not pick up the dll at runtime. Is the option "link_directories" and the resulting "additional lib path" in Visual Studio only for the

Re: [CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Petr Kmoch
Hi Benjamin. What you're dealing with is the runtime not finding the DLL, and cmake has little control over that. One solution would be to set both library and the executable to build in the same directory (using set_property(TARGET trgt PROPERTY RUNTIME_OUTPUT_DIRECTORY whatever). Two other solu

[CMake] dll not found in test app for library within visual studio solution (Windows)

2012-06-25 Thread Benjamin Kurz
Hi there, I have a small project setup, it contains one library and one small test application, that should use the library. Basically very similar to the basic example on the cmake website. the structure is still pretty easy: Project (called ProjectBridge) | |-- Library (called Bridge)

[CMake] compiled .ui file

2012-06-25 Thread Heena Mahur
 hey, Using cmake . make and make install command i am getting this http://pastebin.com/raw.php?i=MDJaeqF9 now,what shall I need to do? when a write ptedit in the run command only bash appears. regards bye -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.ki

Re: [CMake] Adding "*.obj" geometry files...

2012-06-25 Thread Daniel Dekkers
Hi Brad, Yes you are right. With the VS2010 generator, with HEADER_FILE_ONLY, the file "Item Type" is set to "C++/C header". So it works (I've tested it with CMake-2.8.9-rc1). But it is still uncomfortable that with the VS2008 generator, the file is explicitly set as "Excluded From Build", com

Re: [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-25 Thread David Cole
On Sat, Jun 23, 2012 at 5:32 PM, Clifford Yapp wrote: > On Fri, Jun 22, 2012 at 3:34 PM, David Cole wrote: >> I am happy to announce that CMake 2.8.9 has entered the release candidate >> stage! > > Awesome!  I tried 2.8.9-rc1 with the latest Ninja, and it looks like > this issue is still present

Re: [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-25 Thread David Cole
Was your source the ".zip" file by any chance? (That one intentionally has text files with Windows-style line endings in it.) If so, please try the ".tar.gz" file instead. I've bootstrapped on my Mac just fine with files that have Unix-style line endings Thanks, David On Sat, Jun 23, 2012

Re: [CMake] (no subject)

2012-06-25 Thread David Cole
This is reported as: http://public.kitware.com/Bug/view.php?id=12878 Monitor that issue to see when it will be fixed. Thx, David On Fri, Jun 22, 2012 at 5:46 PM, George Petasis wrote: > I had this warning under Fedora 17, 64 bit: > > -- Searching for Java... > CMake Warning at /usr/share/c

Re: [CMake] SHARED library containing OBJECT library: Missing -fPIC

2012-06-25 Thread David Cole
On Sun, Jun 24, 2012 at 10:05 AM, Benjamin Eikel wrote: > Hello Leif, > > Am Freitag, 22. Juni 2012 um 15:55:55 schrieb Leif Walsh: >> I tried this in my project. I added -fPIC to the COMPILE_FLAGS property of >> the object library and it worked, but then you also get PIC static >> libraries (whic

Re: [CMake] A way to suppress 'make install' output

2012-06-25 Thread Stefan Eilemann
On 25. Jun 2012, at 10:42, marco atzeri wrote: > make install &> filename > > no output at all and everything in the "filename" Sure, but I want to suppress the output of one particular install() step, e.g., install(DIRECTORY ... QUIET) ...in a cross-platform way, i.e, also for the VS generat

Re: [CMake] Problem with IMPORTED_LINK_INTERFACE_LIBRARIES_

2012-06-25 Thread Michele Santullo
On 06/22/2012 02:18 PM, Michele Santullo wrote: Thanks for the suggestion. We just tried that but unfortunately it doesn't change anything. Using IMPORTED_LINK_INTERFACE_LIBRARIES adds the library to every target build, but either IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG and IMPORTED_LINK_INTERFAC

Re: [CMake] A way to suppress 'make install' output

2012-06-25 Thread Michele Santullo
On 06/25/2012 11:04 AM, marco atzeri wrote: On 6/25/2012 10:50 AM, Michele Santullo wrote: On 06/25/2012 10:42 AM, marco atzeri wrote: On 6/25/2012 10:29 AM, Stefan Eilemann wrote: Hi, I'm looking for a way to suppress the output when installing a project: One of our projects installs a large

Re: [CMake] A way to suppress 'make install' output

2012-06-25 Thread marco atzeri
On 6/25/2012 10:50 AM, Michele Santullo wrote: On 06/25/2012 10:42 AM, marco atzeri wrote: On 6/25/2012 10:29 AM, Stefan Eilemann wrote: Hi, I'm looking for a way to suppress the output when installing a project: One of our projects installs a large directory structure, and the resulting 'make

Re: [CMake] A way to suppress 'make install' output

2012-06-25 Thread Michele Santullo
On 06/25/2012 10:42 AM, marco atzeri wrote: On 6/25/2012 10:29 AM, Stefan Eilemann wrote: Hi, I'm looking for a way to suppress the output when installing a project: One of our projects installs a large directory structure, and the resulting 'make install' output is so noisy that finding other

Re: [CMake] A way to suppress 'make install' output

2012-06-25 Thread marco atzeri
On 6/25/2012 10:29 AM, Stefan Eilemann wrote: Hi, I'm looking for a way to suppress the output when installing a project: One of our projects installs a large directory structure, and the resulting 'make install' output is so noisy that finding other errors in parallel builds is next to impos

[CMake] A way to suppress 'make install' output

2012-06-25 Thread Stefan Eilemann
Hi, I'm looking for a way to suppress the output when installing a project: One of our projects installs a large directory structure, and the resulting 'make install' output is so noisy that finding other errors in parallel builds is next to impossible. Does somebody have an idea? Cheers, S