Re: [CMake] strip runtime paths from non-targets

2010-10-09 Thread Michael Jackson
Is this with mingw or with visual studio? You may need to place a qt.conf file in your installation. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Oct 9, 2010, at 2:43,

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Michael Jackson
maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Oct

[CMake] CMake and Absoft Fortran compilers

2010-09-22 Thread Michael Jackson
Does anyone use CMake in combination with the Absoft fortran compilers? What environment variables would need to be set to have cmake detect the Absoft compilers? Like you can set CC or CXX vars. Thanks for any information. ___ Mike

Re: [CMake] How to get rid of lib prefix on plugins?

2010-09-21 Thread Michael Jackson
SET_TARGET_PROPERTIES( ${targetName} PROPERTIES SUFFIX .plugin ) ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

Re: [CMake] CMake CDT generator

2010-09-18 Thread Michael Jackson
On Sat, Sep 18, 2010 at 5:34 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Saturday 18 September 2010, tinau...@libero.it wrote: Dear list, I'm trying to use CMake to move a project from XCode to Eclipse CDT. I have A CMakeList text that generate a working project in XCode. I tryed

Re: [CMake] makefile to CMakeLists.txt, possible?

2010-09-03 Thread Michael Jackson
On Sep 3, 2010, at 1:45 PM, Alexander Neundorf wrote: On Thursday 02 September 2010, Alexander Neundorf wrote: On Thursday 02 September 2010, Raymond Wan wrote: Hi Chiheng, On Thu, Sep 2, 2010 at 16:15, Chiheng Xu chiheng...@gmail.com wrote: CMake is a very great tool.But its drawback

Re: [CMake] FindHDF5.cmake and the hl versions of hdf5 libs

2010-09-01 Thread Michael Jackson
So there is probably a bug in the FindHDF5.cmake file plain and simple. Can you file a bug report with CMake? What version of HDF5 are you using? What version of CMake are you using? What platform are you running on ___ Mike Jackson

Re: [CMake] FindHDF5.cmake and the hl versions of hdf5 libs

2010-09-01 Thread Michael Jackson
, 2010 at 7:30 AM, Michael Jackson mike.jack...@bluequartz.net wrote: So there is probably a bug in the FindHDF5.cmake file plain and simple. Can you file a bug report with CMake? What version of HDF5 are you using? What version of CMake are you using? What platform are you running

Re: [CMake] FindHDF5.cmake and the hl versions of hdf5 libs

2010-09-01 Thread Michael Jackson
? ___ Mike Jackson www.bluequartz.net On Sep 1, 2010, at 10:54 AM, James C. Sutherland wrote: On Wed, Sep 1, 2010 at 8:06 AM, Michael Jackson mike.jack...@bluequartz.net wrote: This probably isn't the best solution but until CMake fixes

[CMake] OS X and CPack not bundling the support libraries?

2010-08-19 Thread Michael Jackson
I have a CMake based project that produces an OS X App bundle with libraries, Frameworks, and plugins. If I do a make install then the app bundle is created just fine. But if I do make package then I get the shell of the app bundle but none of the required libraries are include. Kinda like make

[CMake] Re: OS X and CPack not bundling the support libraries?

2010-08-19 Thread Michael Jackson
code to run properly and give me a properly generated OS X App bundle. Sorry for the noise. ___ Mike Jackson www.bluequartz.net On Aug 19, 2010, at 7:51 PM, Michael Jackson wrote: I have a CMake based project

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-08-17 Thread Michael Jackson
There may possibly be renewed support for a CMakeified version of Boost. Boost 1.44 was just released and it looks like at least one individual http://gitorious.org/~denisarnaud/boost/denisarnauds-zeuners-boost-cmake/commits/1.44.0-denis is keeping the boost-cmake up-to-date with the

Re: [CMake] OS X architecture changes interfere with CheckTypeSize()?

2010-08-11 Thread Michael Jackson
So basically you will over ride some of the values that get returned from those tests for OS X. Typically you end up with a Configuration file that has something like this in it: #if !defined(__APPLE__) /* The size of `size_t', as computed by sizeof. */ #define MXA_SIZEOF_SIZE_T /* The size

Re: [CMake] OS X architecture changes interfere with CheckTypeSize()?

2010-08-11 Thread Michael Jackson
(In particular if there's large risk of inconsistent results if you actually do edit it, which I'd say the blank initial value is an invitation to :-)? Cheers, Erik On Aug 11, 2010, at 7:03 PM, Michael Jackson wrote: So basically you will over ride some of the values that get returned from those

Re: [CMake] OS X architecture changes interfere with CheckTypeSize()?

2010-08-11 Thread Michael Jackson
H ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Aug 11, 2010, at 4:00 PM, Olaf van der Spek wrote: On Wed, Aug 11,

Re: [CMake] OS X architecture changes interfere with CheckTypeSize()?

2010-08-11 Thread Michael Jackson
On Aug 11, 2010, at 3:52 PM, Michael Wild wrote: On 11. Aug, 2010, at 21:44 , Erik Lindahl wrote: Hi, Sound technical answers from both David Clinton - I see the limitations, and why we have to live with it for now ;-) Given that there are good reasons to change it on-the-fly, but

Re: [CMake] How to write CMakeLists.txt for Qt4 when Q_OBJECT in xxx.cpp file

2010-07-31 Thread Michael Jackson
PROJECT(mytest) CMAKE_MINIMUM_REQUIRED(VERSION 2.6) FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED) INCLUDE(${QT_USE_FILE}) SET(pro_SOURCESmain.cpp) QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) ADD_EXECUTABLE(mytest ${pro_SOURCES}

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Michael Jackson
On Fri, Jul 30, 2010 at 7:15 PM, John Drescher dresche...@gmail.com wrote: I have created a very simple CMake file (I am a newbie) that works wonderfully in Linux, but am having problems in Windows.  The CMakeLists.txt is below #I think 2.6 is required for some of things I do below, but I am

Re: [CMake] Help using CMake Expat in Windows

2010-07-31 Thread Michael Jackson
to the correct location. Thanks again for all your help. Clark On Sat, Jul 31, 2010 at 9:44 AM, Michael Jackson mike.jack...@bluequartz.net wrote: On Fri, Jul 30, 2010 at 7:15 PM, John Drescher dresche...@gmail.com wrote: I have created a very simple CMake file (I am a newbie) that works

Re: [CMake] How to write CMakeLists.txt for Qt4 when Q_OBJECT in xxx.cpp file

2010-07-31 Thread Michael Jackson
On Sat, Jul 31, 2010 at 11:45 AM, 1+1=2 dbzhang...@gmail.com wrote: On Sat, Jul 31, 2010 at 11:28 PM, John Drescher dresche...@gmail.com wrote: On Sat, Jul 31, 2010 at 9:05 AM, 1+1=2 dbzhang...@gmail.com wrote: Thanks for your answer. when use QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ),  

Re: [CMake] libraryname decoration

2010-07-30 Thread Michael Jackson
- Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jul 30, 2010, at 8:46, Olaf van der Spek olafvds...@gmail.com wrote: On Fri, Jul 30, 2010 at 2:42 PM, Michael Wild

Re: [CMake] libraryname decoration

2010-07-30 Thread Michael Jackson
On Fri, Jul 30, 2010 at 7:49 AM, Ryan Pavlik rpav...@iastate.edu wrote:  On 7/30/10 6:45 AM, Michael Wild wrote: On 30. Jul, 2010, at 13:16 , Olaf van der Spek wrote: On Fri, Jul 30, 2010 at 9:06 AM, Michael Wildthem...@gmail.com  wrote: First of all: There is almost NO duplication, since

Re: [CMake] [cmake-developers] Bug fix requests for the *next* release of CMake...

2010-07-29 Thread Michael Jackson
On Jul 29, 2010, at 6:01 PM, Olaf van der Spek wrote: Everything is a big word. Of course I disagree with you. Ever heard of abstractions? They're there so one doesn't have to bother with all the details. With CMake, I don't have to think about how to build stuff on tons of different

Re: [CMake] [cmake-developers] Bug fix requests for the *next* release of CMake...

2010-07-29 Thread Michael Jackson
. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jul 29, 2010, at 6:07 PM, Olaf van der Spek wrote: On Fri, Jul 30, 2010 at 12:04 AM, Michael Jackson mike.jack

Re: [CMake] autoheader-like functionality?

2010-07-29 Thread Michael Jackson
Well luckily there are a whole slew of projects to take a look at. HDF5 is one. CMake, VTK, ITK, ParaView are some others. Basically you have a .cmake file that runs all the tests like looking for headers, structs, functions and stuff like that. Each result is put into a cmake variable.

Re: [CMake] recpie for doing an install before tests?

2010-07-28 Thread Michael Jackson
I think if you look in the actual cmake project itself there are tests for doing installs. Not sure if that is what you are after or not. ___ Mike Jackson www.bluequartz.net Principal Software Engineer

Re: [CMake] Debug/Release configurations for codeblocks ?

2010-07-27 Thread Michael Jackson
On Jul 27, 2010, at 5:32 AM, Verweij, Arjen wrote: Hi, Isn't build_type = Release sufficient? Not for the way I'm mistreating cmake ;) set (CMAKE_BUILD_TYPE RELEASE FORCE) SET (CMAKE_EXE_LINKER_FLAGS_INIT FORCE) set (CMAKE_C_FLAGS_RELEASE_INIT ) set (CMAKE_CXX_FLAGS_RELEASE_INIT ) set

Re: [CMake] Debug/Release configurations for codeblocks ?

2010-07-27 Thread Michael Jackson
On Jul 27, 2010, at 5:20 AM, Verweij, Arjen wrote: Hi, The default is for CMake to generate a Release configuration for Makefile based projects. ie, if you do NOT specify or otherwise set CMAKE_BUILD_TYPE then you will be a Release configuration. I think this statement is false for

Re: [CMake] Debug/Release configurations for codeblocks ?

2010-07-26 Thread Michael Jackson
On Jul 26, 2010, at 1:02 PM, Olaf van der Spek wrote: On Mon, Jul 26, 2010 at 6:59 PM, Michael Wild them...@gmail.com wrote: On 26. Jul, 2010, at 18:49 , Olaf van der Spek wrote: On Sun, Jul 25, 2010 at 6:58 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: Hmm, the Codeblocks

Re: [CMake] Debug/Release configurations for codeblocks ?

2010-07-26 Thread Michael Jackson
On Jul 26, 2010, at 2:23 PM, Olaf van der Spek wrote: On Mon, Jul 26, 2010 at 7:12 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Because it may horrendously interfere with my current established workflows Why? but I would be open to trying this out. The main issue I can think

Re: [CMake] [VS gen] Multiple configurations code

2010-07-26 Thread Michael Jackson
On Jul 26, 2010, at 3:46 PM, Olaf van der Spek wrote: On Mon, Jul 26, 2010 at 9:21 PM, David Cole david.c...@kitware.com wrote: Olaf, It's definitely not easy to make such a modification with the current VS generators. For better or for worse, there are currently separate generators for

Re: [CMake] [VS gen] Multiple configurations code

2010-07-26 Thread Michael Jackson
On Jul 26, 2010, at 4:35 PM, Olaf van der Spek wrote: On Mon, Jul 26, 2010 at 10:31 PM, John Drescher dresche...@gmail.com wrote: You do not have multiple copies of the source. You have 1 copy of the source that you build in multiple trees. For me I build 32 and 64 bit for multiple

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 4:38 PM, Olaf van der Spek wrote: On Thu, Jul 22, 2010 at 10:32 PM, Ryan Pavlik rpav...@iastate.edu wrote: Unfortunately there are as many ways to denote these differences as there are projects. However, unless you're setting the ARCHIVE_OUTPUT_DIRECTORY,

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 4:54 PM, Olaf van der Spek wrote: On Thu, Jul 22, 2010 at 10:46 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Ya know , I go back and forth on this. In my own projects I will give my libs a _debug suffix because I end up installing both debug and release

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 5:25 PM, Olaf van der Spek wrote: On Thu, Jul 22, 2010 at 11:14 PM, Michael Jackson mike.jack...@bluequartz.net wrote: So here is what really happens with Visual Studio. When you invoke CMake you select to build Shared libraries and a Win64 application

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 5:42 PM, Olaf van der Spek wrote: On Thu, Jul 22, 2010 at 11:36 PM, Michael Jackson mike.jack...@bluequartz.net wrote: How does the loader find the DLL? Because when Visual Studio launches an executable it will look in the same directory that the executable resides

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 5:40 PM, J Decker wrote: On Thu, Jul 22, 2010 at 2:37 PM, John Drescher dresche...@gmail.com wrote: On Thu, Jul 22, 2010 at 5:25 PM, J Decker d3c...@gmail.com wrote: I'll add my two cents - I like that the names are the same, it allows me to switch the release out with

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 5:53 PM, Olaf van der Spek wrote: On Thu, Jul 22, 2010 at 11:50 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Of course I have separate projects. I didn't write libz... Did you? DLLs should be *shared*. There shouldn't be a need for me to copy them to my app

Re: [CMake] Windows library target names

2010-07-22 Thread Michael Jackson
On Jul 22, 2010, at 6:17 PM, Olaf van der Spek wrote: On Fri, Jul 23, 2010 at 12:00 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Yes, it was done already (For some of them) which is what I started with. But what you find is that the CMake files that someone wrote are kinda

[CMake] Finding Debug Versions of Qt4 Frameworks on OS X

2010-07-19 Thread Michael Jackson
Wonder why I have never seen this before but with CMake 2.8.x and a Qt4 based project on OS X when finding the Qt4 frameworks only the release version is found, ie, the Debug version that is located inside the framework is NOT found by default. My question is: is this a bug, a feature or

Re: [CMake] Finding Debug Versions of Qt4 Frameworks on OS X

2010-07-19 Thread Michael Jackson
On Jul 19, 2010, at 4:28 PM, Michael Wild wrote: On 19. Jul, 2010, at 19:59 , Michael Jackson wrote: Wonder why I have never seen this before but with CMake 2.8.x and a Qt4 based project on OS X when finding the Qt4 frameworks only the release version is found, ie, the Debug version

Re: [CMake] Is this page outdated? http://www.cmake.org/Wiki/BuildingWinDLL

2010-07-06 Thread Michael Jackson
The wiki page you cite is still relevant for cmake/visual studio with shared libraries. You do NOT need this line in your CMakeLists.txt file: ADD_LIBRARY(vtkFiniteDifference SHARED vtkFiniteDifference.cxx) The ADD_PARAVIEW_PLUGIN should do that for you. class MyStaticFunctionClass {

Re: [CMake] Setting up standard library output directory

2010-07-03 Thread Michael Jackson
That cmake variable controls where the compiled library will be placed during the compilation process not the install process. You will probably have to use the install command to tell cmake that you want your libraries installed in lib64 instead of lib. - Mike Jackson

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Jackson
Nuke everything and start again from a fresh source directory. I have seen this with dirty build folders that were some how messed up from in source bootstraping then running cmake to configure cmake. Hope that helps. - Mike Jackson www.bluequartz.net Principal Software

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Jackson
Dayton, Ohio On Jun 23, 2010, at 17:19, j s j.s4...@gmail.com wrote: On Wed, Jun 23, 2010 at 3:35 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Nuke everything and start again from a fresh source directory. I have seen this with dirty build folders that were some how messed up

Re: [CMake] One last try

2010-06-21 Thread Michael Jackson
What are the problems that you are are having? What errors does cmake produce? I use cmake with vs2008 every day on win 7 and win xp sp3 without any problems. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz

[CMake] NCurses issues with OS X 10.6.3 and ccmake

2010-06-15 Thread Michael Jackson
Just FYI that Apple released the OS X 10.6.4 update today that among other things _should_ have fixed the messed up ncurses library that stopped the arrow keys from working with ccmake. As usual use the usual update mechanisms that Apple provides. If anyone _does_ update could you post

Re: [CMake] try_compile question

2010-06-07 Thread Michael Jackson
# # Save required variable SET(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES}) SET(CMAKE_REQUIRED_FLAGS_SAVE${CMAKE_REQUIRED_FLAGS}) # Add HDF5_INCLUDE_DIR to CMAKE_REQUIRED_INCLUDES SET(CMAKE_REQUIRED_INCLUDES

Re: [CMake] Need cmake help for MacOsX

2010-05-21 Thread Michael Jackson
That is not a file, but really a folder and maybe that is messing up CMake? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton,

Re: [CMake] QT4 on OSX and Cocoa

2010-05-04 Thread Michael Jackson
Did you download a Cocoa build of Qt4 or build Qt4 with Cocoa support yourself? I don't think there is anything special to do in CMake besides the normal find_package (Qt4) stuff. ___ Mike Jackson www.bluequartz.net

Re: [CMake] QT4 on OSX and Cocoa

2010-05-04 Thread Michael Jackson
64bit. Since QT4/Cocoa supports 32bit 64bit it's safe to default that way; no idea why Nokia didn't choose that in the first place. Sounds like I need to hack the FindQt4.cmake package and send a patch. :) On Tue, May 4, 2010 at 6:05 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Did

Re: [CMake] Problem running ccmake on Mac OSX

2010-04-29 Thread Michael Jackson
On Apr 28, 2010, at 2:12 PM, Bill Hoffman wrote: On 4/28/2010 11:39 AM, Michal Depa wrote: Hi, I have been using cmake on my linux machine for a while now (without problems), but recently I needed to do some work on my Macbook Pro and ran into a problem. Since I prefer the linux

Re: [CMake] [CMAKE] fixup_bundle problem with qt plugins

2010-04-28 Thread Michael Jackson
This is what I use. Note that this gets configured by cmake first. Pay Attention to the notes in the file as the use case is _very_ specific. #- Start -- message (STATUS # Starting OS X Bundle Fixup --)

[CMake] LaTex Find Module available

2010-04-20 Thread Michael Jackson
Does anyone have a Find*.cmake file that would find LaTex by any chance and be willing to share it? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

Re: [CMake] LaTex Find Module available

2010-04-20 Thread Michael Jackson
posted a group of macros that makes it quite easy to create CMake builds for LaTeX files. The link is below. http://www.cmake.org/Wiki/CMakeUserUseLATEX -Ken On 4/20/10 9:05 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Does anyone have a Find*.cmake file that would find LaTex

Re: [CMake] LaTex Find Module available

2010-04-20 Thread Michael Jackson
, 2010, at 12:14 PM, Moreland, Kenneth wrote: FindLATEX.cmake has been part of CMake for many years now. It should be in 2.6.4. -Ken On 4/20/10 9:29 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Must have been CMake 2.8. I'm still using 2.6.4. I guess I should move up one day

Re: [CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-16 Thread Michael Jackson
Lets take a deeper look at what is needed for an OS X bundle, cmake and Qt. The issues with making an OS X app bundle relocatable are well known (those following along at home can Google search..). If you are including libraries into the bundle then the install_name of those

Re: [CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-16 Thread Michael Jackson
While I agree with everything said I think a Qt Specific function for deploying Apps, whether those are on Windows, OS X or linux, should be created. The script would be at a higher level than BundleUtilites as I would envision DeployQt4App.cmake calling BundleUtilities, checking the type

Re: [CMake] HOW DO I: Build VTK with CMake/ExternalProject_add against Qt with Cocoa on OS X?

2010-04-13 Thread Michael Jackson
Not sure about the X11 part but you would definitely want to set VTK_USE_CARBON=OFF and VTK_USE_COCOA=ON in the CMakeCache for VTK, how ever you need to do this with ExternalProject_add(). I would think that it should just work. ___

Re: [CMake] target_link_libraries difficulties

2010-04-01 Thread Michael Jackson
Not sure if this is recommended or not with CMake 2.8 BUT: [mjack...@ferb]$ cmake --help-command link_directories cmake version 2.6-patch 4 -- SingleItem link_directories Specify directories in which the linker

Re: [CMake] find_library and mac os x SDKs

2010-03-26 Thread Michael Jackson
Probably not working because the 10.4u SDK is not is any standard location like /Library/Frameworks or /System/library/Frameworks. You may have to add the additional argument to add another search path. ___ Mike Jackson

Re: [CMake] QTCreator project to VS2008 problems

2010-03-19 Thread Michael Jackson
You may want to take a look at the following sample project: http://www.cmake.org/Wiki/images/2/25/QtTest-Package-Example.zip While the project was geared towards OS X specific topics the project will compile and run on any platform that Qt is supported on, Including MinGW and Visual

Re: [CMake] QTCreator project to VS2008 problems

2010-03-19 Thread Michael Jackson
On Mar 19, 2010, at 9:21 AM, Oli Glaser wrote: - Original Message - From: John Drescher dresche...@gmail.com To: Oli Glaser o...@glasers.org; CMake mailing list cmake@cmake.org Sent: Friday, March 19, 2010 1:09 PM Subject: Re: [CMake] QTCreator project to VS2008 problems Thanks

Re: [CMake] [Temproraly Solution , may be bug in cmake] Re: cmake error in windows 7 , visual studio 2008

2010-03-19 Thread Michael Jackson
What version of Visual Studio 2008 are you running? Express. Standard? Pro? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton,

Re: [CMake] cmake and boost

2010-03-19 Thread Michael Jackson
On Mar 19, 2010, at 3:34 PM, James C. Sutherland wrote: Why not just let the user decide where they'd like to get boost, and simplify your build system by just using find_package(Boost)? For example, this is all you need for a simple boost-using app... find_package(Boost 1.34.0 REQUIRED

Re: [CMake] FIND_LIBRARY in FindBoost finds wrong library

2010-03-18 Thread Michael Jackson
I thought there was now an option the boost build system to NOT add all the very specific naming of each library which is now the default. There is a way to turn that back on. You will have to search through the boost-build docs for that info.

Re: [CMake] Problem with QtTest Bundle Utility Example?

2010-03-12 Thread Michael Jackson
___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Mar 12, 2010, at 4:01 PM, Bradley Lowekamp wrote: Thanks for the

Re: [CMake] OS X, SDL, Frameworks and Libraries

2010-03-05 Thread Michael Jackson
This is actually ironic. The SDL.framework is actually ready to be used in a bundle in its default state which seems to be the exception to the rule. Typically the install_path embedded in the dylib or framework is either just the name of the library OR the complete path to the

Re: [CMake] CMake interview for FLOSS Weekly in about 1 hour

2010-03-04 Thread Michael Jackson
Is there an archive of the interview? -- Mike Jackson www.bluequartz.net On Mar 3, 2010, at 3:39 PM, Bill Hoffman wrote: At 4:30, I am going to be interviewed for FLOSS Weekly. The chat is here: http://irc.twit.tv/ The video is here: http://live.twit.tv/ Should be going on some time

Re: [CMake] FindHDF5.cmake improvement proposal

2010-03-02 Thread Michael Jackson
On 3/2/2010 11:53 AM, Antonio Valentino wrote: 2. For your SZip portion to work, there would need to be a FindSZip.cmake in system modules directory. Do you have one that you can contribute? Oh, sorry. I found it on gitorious.org

Re: [CMake] FindHDF5.cmake improvement proposal

2010-03-02 Thread Michael Jackson
, at 12:19 PM, Michael Jackson wrote: On 3/2/2010 11:53 AM, Antonio Valentino wrote: 2. For your SZip portion to work, there would need to be a FindSZip.cmake in system modules directory. Do you have one that you can contribute? Oh, sorry. I found it on gitorious.org http://gitorious.org

Re: [CMake] FindHDF5.cmake improvement proposal

2010-03-02 Thread Michael Jackson
On 3/2/2010 12:37 PM, Mark Moll wrote: On Mar 2, 2010, at 10:53 AM, Antonio Valentino wrote: 2. For your SZip portion to work, there would need to be a FindSZip.cmake in system modules directory. Do you have one that you can contribute? Oh, sorry. I found it on gitorious.org

Re: [CMake] FindHDF5.cmake improvement proposal

2010-03-02 Thread Michael Jackson
On 3/2/2010 12:41 PM, Antonio Valentino wrote: Hi Michael, Il giorno Tue, 02 Mar 2010 12:19:32 -0500 Michael Jacksonmike.jack...@bluequartz.net ha scritto: On 3/2/2010 11:53 AM, Antonio Valentino wrote: 2. For your SZip portion to work, there would need to be a FindSZip.cmake

Re: [CMake] Qt assistant in OsX application bundle

2010-03-01 Thread Michael Jackson
I would take a look at the ParaView project as ParaView uses QtAssistant for help. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer

Re: [CMake] OsX bundle including Qt framework

2010-02-24 Thread Michael Jackson
http://www.cmake.org/Wiki/BundleUtilitiesExample ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Feb 24, 2010, at

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Michael Jackson
Not associated with the author but I did find the following book/site very useful when I switched to Git. http://progit.org/book/ The book is open source, Ie, you can download a pdf of the book and all the sources to the book are up on github. Hope it helps someone..

Re: [CMake] Missing Software\Microsoft\VisualStudio\8.0\vsmacros\OtherProjects7

2010-02-19 Thread Michael Jackson
Is this the Express version of Visual Studio? Visual Studio Express does NOT support the macros. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

[CMake] CMake Code for Deploying Qt Plugins for Image Formats

2010-02-04 Thread Michael Jackson
Are there any examples or does anyone have any CMake code for copying Qt plugins for the various image formats that come with a Qt installation. I could probably hack something together similar to what I have for the main QtCore and QtGui libraries, but existing code is always better, and

[CMake] CMakeEd Maintenance Release - Version 1.1.5

2010-02-03 Thread Michael Jackson
It has been a while but I was finally able to get some time to put together a new Release for the CMakeEd Eclipse plugin. CMakeEd provides syntax coloring and command completion for CMake files in Eclipse. All the CMake help is also integrated into the Eclipse Help system and is fully

Re: [CMake] Java Support

2010-01-22 Thread Michael Jackson
What specific problems are you having with your Java code? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jan 22,

Re: [CMake] Double @-substitution and configure_file()??

2010-01-18 Thread Michael Jackson
I came across the same problem. I never really found a suitable working solution. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

Re: [CMake] FindQt in a Specific place?

2010-01-15 Thread Michael Jackson
On Jan 13, 2010, at 4:58 PM, Andreas Pakulat wrote: On 13.01.10 13:34:34, clin...@elemtech.com wrote: I've also seen people put a qt.conf file in the Qt installation, to override the compiled-in paths. That's probably how its done by the Windows installer. Thats one way to do it, but

Re: [CMake] Source code configuration management in CMake?

2010-01-15 Thread Michael Jackson
On Jan 15, 2010, at 2:17 PM, Tyler Roscoe wrote: On Fri, Jan 15, 2010 at 05:57:20PM +, Ian Scott wrote: I have an existing large hierarchically structured code base, but I want to extract a cut-down source code tree that only contains the source code files necessary for a particular

Re: [CMake] Proposal for new generator options

2010-01-15 Thread Michael Jackson
For your project you can always add your own flags such as: CMakeLists.txt Begin if (VS_USE_STATIC_RUNTIME) set (CMAKE_CXX_FLAGS .) endif() CMakeLists.txt-- END Then on the command line do the following: cmake -G Visual Studio 9 2008 -DVS_USE_STATIC_RUNTIME=ON ../ or from a

Re: [CMake] FindQt in a Specific place?

2010-01-13 Thread Michael Jackson
SEt the QT_QMAKE_EXECUTABLE variable. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Jan 13, 2010, at 1:07

Re: [CMake] FindQt in a Specific place?

2010-01-13 Thread Michael Jackson
Um, yea, you don't want to do that, change the location of the Qt libraries after they are built in one location. On Windows, the only way you can do that (to my knowledge) is to use the MinGW precompiled binaries from Nokia. When the installer runs all the paths are updated for the

Re: [CMake] configure_file without continuous re-build

2010-01-12 Thread Michael Jackson
you shouldn't have to do that. There are multitudes of projects that do exactly what you are doing and don't have continuous rebuilds. Now, having said that I am _assuming_ that osconfig.h.in is NOT being changed, generated, updated or in any way changed? osconfig.h.in being changed would

Re: [CMake] Qt qmake not found

2010-01-09 Thread Michael Jackson
On Jan 8, 2010, at 10:26 PM, David Doria wrote: On Fri, Jan 8, 2010 at 10:10 PM, David Doria daviddo...@gmail.com wrote: On Fri, Jan 8, 2010 at 10:07 PM, Mike Jackson mike.jack...@bluequartz.net wrote: You installed qt version 3 instead of qt version 4. Sudo apt-get install qt4-dev. Or

Re: [CMake] mingw crosscompile error: invalid option `macosx-version-min=10.5' ?

2010-01-03 Thread Michael Jackson
This is probably a bug in the Darwin-gcc.cmake file that gets called to initialize all the compilers and flags. There is a bunch of code which tries to figure out which OS X version you are compiling for and what flags to use. I say this because there probably needs to be an IF( NOT

Re: [CMake] cmake file in build directory

2009-12-30 Thread Michael Jackson
On Dec 30, 2009, at 10:48 AM, Hicham Mouline wrote: -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: 29 December 2009 23:16 To: Hicham Mouline Cc: cmake@cmake.org Subject: Re: [CMake] cmake file in build directory On Tue, Dec 29, 2009 at 6:01 PM, Hicham

Re: [CMake] what is the right way to set CMAKE_USE_RELATIVE_PATHS?

2009-12-21 Thread Michael Jackson
There are lots of questions on this CMake variable and the consensus is DO NOT USE IT. PERIOD. The implementation is basically broken for all but the most trivial case. _ Mike Jackson mike.jack...@bluequartz.net

Re: [CMake] ExternalProject() Question

2009-12-17 Thread Michael Jackson
On Dec 17, 2009, at 11:34 AM, David Cole wrote: On Thu, Dec 17, 2009 at 10:53 AM, Michael Wild them...@gmail.com wrote: On 17. Dec, 2009, at 15:01 , David Cole wrote: On Thu, Dec 17, 2009 at 3:20 AM, Michael Wild them...@gmail.com wrote: On 16. Dec, 2009, at 20:35 , Michael Jackson

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Michael Jackson
On Dec 15, 2009, at 7:24 PM, Glenn Hughes wrote: Really? How could it? Suppose I only have 1 qrc file, named foo.qrc: wouldn't these two lines be equivalent? FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} res/ *.qrc ) SET( my_RESOURCES res/foo.qrc) ??? TIA G On Tue, Dec

[CMake] ExternalProject() Question

2009-12-16 Thread Michael Jackson
I am intrigued by the ExternalProject feature of CMake 2.8. One question that I have after reading through the Oct 09 Kitware Source is this. If I do a make clean or rebuild are all the ExternalProjects also cleaned/rebuilt? I could make an argument both ways but I was curious what the

Re: [CMake] SDL troubles on Mac OS X

2009-12-15 Thread Michael Jackson
On Dec 15, 2009, at 10:03 AM, Clinton Stimpson wrote: On Dec 15, 2009, at 2:31 AM, Werner Smekal wrote: Hi Michael, On 12/15/09 9:58 AM, Michael Wild wrote: Hi What is the install-name of SDL.framewor/SDL? What does otool -L ~/Library/Frameworks/SDL.framework/SDL tell you? I suspect

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
source_group( NameSubName FILES ${source} ) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Dec 11,

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
. I can get one level of grouping under Target, i.e. /Sources/Target/SubFolder but not /Sources/Target/SubFolder/SubSubFolder Can you make Sources/ModelEditor/ModelEditor/SomeSubGroup/ ? G On Fri, Dec 11, 2009 at 4:43 PM, Michael Jackson mike.jack...@bluequartz.net wrote: You mean like

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
one level of grouping under Target, i.e. /Sources/Target/SubFolder but not /Sources/Target/SubFolder/SubSubFolder Can you make Sources/ModelEditor/ModelEditor/SomeSubGroup/ ? G On Fri, Dec 11, 2009 at 4:43 PM, Michael Jackson mike.jack...@bluequartz.net wrote: You mean like

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
Post a bug to the bug tracker. Maybe someone will get to it. -- Mike Jackson www.bluequartz.net On Dec 11, 2009, at 5:26 PM, Glenn Hughes wrote: Xcode definitely supports it. I'm moving to CMake from a pure Xcode project, and we have some deeply nested folders. My guess is its a bug in the

Re: [CMake] Building CMake on Windows

2009-12-08 Thread Michael Jackson
don't miss the sarcasm If you have cmake installed, you can bootstrap newer versions of CMake on Windows. /don't miss the sarcasm -1 for not being helpful. +1 for General information. ;-) Mike Jackson On Dec 8, 2009, at 7:34 AM, Pau Garcia i Quiles wrote: On Tue, Dec 8, 2009 at 12:58 PM,

<    1   2   3   4   5   6   7   8   9   >