[CMake] Problem with FindQt.cmake or Qt 4.6.1 on Windows platform. CMake 2.8.0

2010-02-02 Thread Mika . Rajala
Hi I'm not certain if this should be here or in some Qt messageboard, but here's the thing. I had Qt 4.4.X version installed, and i wanted to upgrade to 4.6.1 for nicer licensing. I used the uninstaller to remove the 4.4.X version, and did everything according to the install instructions for ve

Re: [CMake] Multiple libraries, same name...

2010-02-02 Thread Ryan C. Gordon
See this property: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:LIBRARY_OUTPUT_DIRECTORY Oh, wow, I totally missed that. Thanks, Bill, it worked like a charm. :) --ryan. ___ Powered by www.kitware.com Visit other Kitware open-sour

Re: [CMake] Relative (source files) vs Absolute (include files) path

2010-02-02 Thread David Cole
On Tue, Feb 2, 2010 at 6:23 PM, Brian Davis wrote: > > I noticed that if I have a buried CMakeLists.txt file which contains the > following > > file(GLOB_RECURSE DICOM_TEST_SERVER_SRC src *.cpp ) > > and > > INCLUDE_DIRECTORIES( > include > ) > > Where src contains cpp files and include conta

[CMake] Fwd: Relative (source files) vs Absolute (include files) path

2010-02-02 Thread John Drescher
> Why I care: > > Lets say that I someone wants to check the Visual Studio project goop > produced by CMake in trunk and check out in a diffrent directory in their > branch on another machine.  With absolute paths sprinkled all over > effectively makes this impossible. > Never put any generated pa

Re: [CMake] Relative (source files) vs Absolute (include files) path

2010-02-02 Thread Andreas Pakulat
On 02.02.10 17:23:37, Brian Davis wrote: > Why I care: > > Lets say that I someone wants to check the Visual Studio project goop > produced by CMake in trunk and check out in a diffrent directory in their > branch on another machine. With absolute paths sprinkled all over > effectively makes this

Re: [CMake] Relative (source files) vs Absolute (include files) path

2010-02-02 Thread Brian Davis
Performing grep -R "[Cc][:][\]" * > AbsolutePathProb.txt on my build dir created by CMake and looking at the output saddens me :-( Brian ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/open

[CMake] Relative (source files) vs Absolute (include files) path

2010-02-02 Thread Brian Davis
I noticed that if I have a buried CMakeLists.txt file which contains the following file(GLOB_RECURSE DICOM_TEST_SERVER_SRC src *.cpp ) and INCLUDE_DIRECTORIES( include ) Where src contains cpp files and include contains include files CMake uses absolute paths for include path, but relative

Re: [CMake] What is a good way to exclude default library locations from install-tree rpaths?

2010-02-02 Thread Alan W. Irwin
Thanks, Alex, for responding to my questions. On 2010-02-02 21:23+0100 Alexander Neundorf wrote: On Friday 29 January 2010, Alan W. Irwin wrote: If target_link_libraries is given the full path to an external library, then by default CMake uses rpath on Linux so that library is found at run tim

[CMake] File permissions on CONFIGURE_FILE output

2010-02-02 Thread Aaron_Wright
I run CONFIGURE_FILE on a file that is read only. The output file is also read only, which is a problem because I need to append to it. Is there a way to change this behavior? Or a work around? - Aaron Wright ___

[CMake] List of components being build.

2010-02-02 Thread Schwartz, Philip
My current project has many components that need to be built. Some portions of our code depend on others and using add_subdirectory, I am having an issue where I get multiple of my targets loaded causing a faliure. I placed the add_subdirectory in a macro that uses a simple hash style of access

[CMake] Inherited project settings

2010-02-02 Thread Brian Davis
So I have various CMakeLists.txt files in my directory structure. Some with the PROJECT( name ) specified at the top and some without. I am using add_sub directory to add each directory. /CMakeLists.txt /source/cpp/app/CMakeLists.txt /source/cpp/app/someapp/CMakeLists.txt /source/cpp/lib/CmakeLi

Re: [CMake] What is a good way to exclude default library locations from install-tree rpaths?

2010-02-02 Thread Alexander Neundorf
On Friday 29 January 2010, Alan W. Irwin wrote: > If target_link_libraries is given the full path to an external library, > then by default CMake uses rpath on Linux so that library is found at run > time for the build tree. For PLplot I have adjusted the RPATH options so > that the install-tree r

Re: [CMake] Java Support

2010-02-02 Thread Alex Brandt
On Friday 22 January 2010 1:37:50 pm David Cole wrote: > If you are a Java guru, I would appreciate your review and comments on this > issue, which has been in our issue tracker for a while now. If you have a > good suggestion for the best way to fix it, I would love to hear it. > > http://public.

[CMake] No output from GLOBAL_DEPENDS_DEBUG_MODE property and LINK_DIRECTORIES property

2010-02-02 Thread Bob Berger
Hello, Before I describe my problem, I will supply some background information: I am running CMake 2.8 and Visual C++ 2005 SP1 on Windows XP SP Pro SP3. I am investigating why some of the DLLs I am building have started to have unexpected dependencies, making them larger than necessary. This p

Re: [CMake] Build only what you need in third party libs

2010-02-02 Thread Brian Davis
Here is the latest which includes wroking build of dcmtk NOTE the additon of -DINSTALL_PREFIX=${INSTALL_PREFIX} as dcmtk required this move its install eventhought CMAKE_INSTALL_PREFIX was specified. Boost is still not building as boost wave and serialization do not build, but hey I guess 82 out o

Re: [CMake] Multiple libraries, same name...

2010-02-02 Thread Bill Hoffman
Ryan C. Gordon wrote: I'm trying to add bindings for various scripting languages to my library PhysicsFS ( http://icculus.org/physfs/ ), and I'm having some trouble. Eventually I end up with something like this abbreviated example for the Perl bindings... # This is the actual main libr

Re: [CMake] CoreGraphics framework

2010-02-02 Thread Martin Guillon
Thanks a lot now I get it. -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Wild Sent: Tuesday, February 02, 2010 1:48 PM To: Martin Guillon Cc: cmake@cmake.org Subject: Re: [CMake] CoreGraphics framework On 2. Feb, 2010, at 12:05 ,

Re: [CMake] CoreGraphics framework

2010-02-02 Thread Michael Wild
On 2. Feb, 2010, at 12:05 , Martin Guillon wrote: > Hi, > > I am trying to include CGEvent.h in my cmake project. So I need to include > CoreGraphics framework. > > So I added > FIND_LIBRARY(APP_SERVICES ApplicationServices "/") > FIND_LIBRARY(COREGRAPHICS CoreGraphics "/") in my cmakelists

Re: [CMake] Compaq Visual Fortran

2010-02-02 Thread Arjen Markus
Hi Brad, On 2010-02-02 13:38, Brad King wrote: Arjen Markus wrote: Hi Brad, I just tested the patch - Compaq Visual Fortran is recognised, but not accepted - and added the Windows-f90.cmake file from the PLplot project to CMake's Modules\Platform directory. Now the compiler is accepted as well

Re: [CMake] Compaq Visual Fortran

2010-02-02 Thread Brad King
Arjen Markus wrote: > Hi Brad, > > I just tested the patch - Compaq Visual Fortran is recognised, > but not accepted - and added the Windows-f90.cmake file from the > PLplot project to CMake's Modules\Platform directory. Now the > compiler is accepted as well. The "Windows-f90.cmake" name is the

[CMake] Error while moc generating in multiple projects

2010-02-02 Thread Marcelo Geyer
Hello, I have a project in QT4 and now I'm including another project within this (add_subdirectory). I'll post here a summary of the directory structure of the projects: Project1 + src + engine + updater (this directory is Project 2) When compiling, it returned me the followi

Re: [CMake] Compaq Visual Fortran

2010-02-02 Thread Arjen Markus
Hi Brad, I just tested the patch - Compaq Visual Fortran is recognised, but not accepted - and added the Windows-f90.cmake file from the PLplot project to CMake's Modules\Platform directory. Now the compiler is accepted as well. Note: I just saw there is already a Windows-df.cmake file in the re

[CMake] CoreGraphics framework

2010-02-02 Thread Martin Guillon
Hi, I am trying to include CGEvent.h in my cmake project. So I need to include CoreGraphics framework. So I added FIND_LIBRARY(APP_SERVICES ApplicationServices "/") FIND_LIBRARY(COREGRAPHICS CoreGraphics "/") in my cmakelists But the CoreGraphics Framework is in the Application Services Framew