Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-21 Thread Martin Costabel
Bill Hoffman wrote: Martin Costabel wrote: [] QT_INCLUDE_DIR:PATH=QT_INCLUDE_DIR-NOTFOUND If I read the module correctly, cmake looks if the file $ENV{QTDIR}/include/qglobal.h exists, which should in principle be the case. I'll ask her if something is wrong with this file. Thanks Well,

Re: [CMake] Can't compile a quite simple Fortran static library

2008-08-21 Thread Bill Hoffman
Renato N. Elias wrote: Hi Bill, I've followed your hint and tried to create a lib with 4 routines (https://mail.nacad.ufrj.br/~rnelias/transfer/cmake/SimpleLib.zip) and the problem persists. The VS project created by CMake doesn't work at all while my hand-made project works just fine. Is

Re: [CMake] unset() command

2008-08-21 Thread Brad King
Philip Lowman wrote: On Wed, Aug 20, 2008 at 10:54 AM, Brad King [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The set command already supports unsetting: set(FOO xyz) set(FOO) # unsets if(DEFINED FOO) message(This message does not appear.) endif(DEFINED

Re: [CMake] Can't compile a quite simple Fortran static library

2008-08-21 Thread Bill Hoffman
Bill Hoffman wrote: Renato N. Elias wrote: Hi Bill, I've followed your hint and tried to create a lib with 4 routines (https://mail.nacad.ufrj.br/~rnelias/transfer/cmake/SimpleLib.zip) and the problem persists. The VS project created by CMake doesn't work at all while my hand-made project

[CMake] link problem with a name changed target

2008-08-21 Thread Ingrid Kemgoum
HI, i'm building a project with 3 targets in Linux. each target has a different name when in debug. the executable i want to link to the 2 libraries fail to find thoz libs when i'm in debug (not the case in release, everything's good). here is the CMakeLists of the executable

Re: [CMake] unset() command

2008-08-21 Thread Philip Lowman
On Thu, Aug 21, 2008 at 9:01 AM, Brad King [EMAIL PROTECTED] wrote: Philip Lowman wrote: On Wed, Aug 20, 2008 at 10:54 AM, Brad King [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The set command already supports unsetting: set(FOO xyz) set(FOO) # unsets

[CMake] Questions on features

2008-08-21 Thread Jens.Storz
Hello, we are currently developing with MPC (Makefile project creator) and I'm trying to find out what advantages we would have with a switch to CMake. First of all I would like to say, that CMake is very useful for me. Still there are some things, I'd like to know how to do or if this features

Re: [CMake] Can't compile a quite simple Fortran static library

2008-08-21 Thread Bill Hoffman
Can you try this: In the .vfproj file that works it has this: VisualStudioProject ProjectType=typeStaticLibrary ProjectCreator=Intel Fortran Keyword=Static Library Version=9.10 ProjectIdGuid={3963F5B6-C0D8-4C36-8503-131A2F661664} In the one that does not work, it looks like this:

Re: [CMake] link problem with a name changed target

2008-08-21 Thread Yuri V. Timenkov
On Thursday 21 August 2008 17:27:36 Ingrid Kemgoum wrote: HI, i'm building a project with 3 targets in Linux. each target has a different name when in debug. the executable i want to link to the 2 libraries fail to find thoz libs when i'm in debug (not the case in release, everything's

Re: [CMake] unset() command

2008-08-21 Thread Brad King
Philip Lowman wrote: On Thu, Aug 21, 2008 at 9:01 AM, Brad King [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: However, this: unset(MY_CACHE_VARIABLE) should not remove the cache entry. It should only unset the CMake variable. In order to remove the cache entry, we

[CMake] Symbolinc links

2008-08-21 Thread William Candillon
Hi, During the installation of my cmake project on unix systems, I would like to create a symbolic of my binary in /usr/bin. Is it possible to execute the ln command only during the execution of the install target ? Best regards, William -- William Candillon http://apdt.googlecode.com

Re: [CMake] Symbolinc links

2008-08-21 Thread Alan W. Irwin
On 2008-08-21 16:26+0200 William Candillon wrote: Hi, During the installation of my cmake project on unix systems, I would like to create a symbolic of my binary in /usr/bin. Is it possible to execute the ln command only during the execution of the install target ? Use either the

Re: [CMake] How to make cmake-2.6 tell why it fails

2008-08-21 Thread Martin Costabel
Martin Costabel wrote: [] Now I only have to find out why another user gets the error find_package cannot find package FREETYPE because FREETYPE_DIR is set to /sw/lib/freetype219 which is not a directory containing a package configuration file (or it is not for the requested version).

[CMake] BUILD_DOCUMENTATION vs. BUILD_DOXYGEN

2008-08-21 Thread Darren Weber
What's the difference between the CMake options: BUILD_DOCUMENTATION vs. BUILD_DOXYGEN ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] BUILD_DOCUMENTATION vs. BUILD_DOXYGEN

2008-08-21 Thread Bill Hoffman
Darren Weber wrote: What's the difference between the CMake options: BUILD_DOCUMENTATION vs. BUILD_DOXYGEN The doxygen documents the C++ code in CMake. The documentation is the cmake --help stuff. -Bill ___ CMake mailing list CMake@cmake.org