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

Re: [CMake] x64 possible using Cmake2.8.1 for VC2010Express + Windows7.1SDK ??

2010-06-01 Thread Michael Jackson
The only think I know is that getting Visual Studio Express 2008 to do x64 builds involved a whole lot of hacking and such since x64 was not officially supported by VCExpress 2008. Has this changed with VC2010 Express? It would seem that the VC 2010 Express does NOT install the 64 bit tools

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 "${CMAKE_REQUIRED_

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

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 Softwar

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 En

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

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 w

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 { public

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

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 wrote: Unfortunately there are as many ways to denote these differences as there are projects. However, unless you're setting the ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, or RUNTI

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 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 into a local directory and my

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 wrote: So here is what really happens with Visual Studio. When you invoke CMake you select to build "Shared" libraries and a Win64 application. These are the basics. Vis

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 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 in for libraries to load

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 wrote: On Thu, Jul 22, 2010 at 5:25 PM, J Decker wrote: I'll add my two cents - I like that the names are the same, it allows me to switch the release out with the debug and not have to recompil

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 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 dir. Well,

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 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 "tweaked" for their p

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 wrote: On 26. Jul, 2010, at 18:49 , Olaf van der Spek wrote: On Sun, Jul 25, 2010 at 6:58 PM, Alexander Neundorf wrote: Hmm, the Codeblocks generator is makefile-based. It is single-conf

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 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 of is the whole release

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 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 Visual Studio 32-bit an

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 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 compilers. They all share the

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 "")

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 Wind

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 mike.jack..

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

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

2010-07-29 Thread Michael Jackson
it is now CMake offers the functionality you want. ___ 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,

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. The

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 wrote: > On Fri, Jul 30, 2010 at 2:42 PM, Michael Wild wrote: >> Oh, it IS library

Re: [CMake] libraryname decoration

2010-07-30 Thread Michael Jackson
On Fri, Jul 30, 2010 at 7:49 AM, Ryan Pavlik 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 Wild  wrote: First of all: There is almost NO duplication, since almost every project

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} ${Generat

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 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 not sure >>

Re: [CMake] Help using CMake & Expat in Windows

2010-07-31 Thread Michael Jackson
t;> solution.  With that information in there, I can definitely have it copy the >> .dll to the correct location. >> Thanks again for all your help. >> Clark >> >> On Sat, Jul 31, 2010 at 9:44 AM, Michael Jackson >> wrote: >>> >>> On Fri, Jul 30,

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 wrote: > On Sat, Jul 31, 2010 at 11:28 PM, John Drescher wrote: >> On Sat, Jul 31, 2010 at 9:05 AM, 1+1=2 wrote: >>> Thanks for your answer. >>> >>> when use QT4_WRAP_CPP( Generated_MOC_SRCS main.cpp ),  moc_main.cxx >>> will be generated. >>> then I use #

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 s

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

2010-08-11 Thread Michael Jackson
in the GUI/ccmake parameter list (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 "o

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 th

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

[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

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

2010-08-19 Thread Michael Jackson
ot; "@COMPLETE_PLUGIN_LIST@" "@PLUGIN_SEARCH_DIRS@") Allows the CPack code to run properly and give me a properly generated OS X App bundle. Sorry for the noise. ___ Mike Jackson www.bluequartz.net On Au

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
ns for an update, but that won't likely solve the problem since the directory structure didn't really change in the move to 1.8.x as far as I can tell) I filed a bug report: #0011195 Let me know if you need any other information in diagnosing the problem. James On Wed, Sep

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

2010-09-01 Thread Michael Jackson
appen before the next release of CMake? ___ 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 > wrote: This probably isn't the best solution

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 wrote: CMake is a very great tool.But its drawback is also obvious.

Re: [CMake] CMake CDT generator

2010-09-18 Thread Michael Jackson
On Sat, Sep 18, 2010 at 5:34 AM, Alexander Neundorf 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 >> to use it for

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 Da

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

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

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

Re: [CMake] Reusing configuration

2010-10-12 Thread Michael Jackson
I usually have something along these lines in my ParaView Plugins CMake files: # INCLUDE_DIRECTORIES( ${VTK_INCLUDE_DIR} ${ParaView_SOURCE_DIR}/Utilities/VTKClientServer ${ParaView_BIN

Re: [CMake] MacOSX, Qt plugins and BundleUtilities -- not building proper bundle?

2010-10-25 Thread Michael Jackson
On Oct 25, 2010, at 11:58 AM, kent williams wrote: Like everyone else I started here to build my Qt app with CMake: http://www.cmake.org/Wiki/BundleUtilitiesExample Like a lot of things in CMake this involves copying a bunch of brittle CMake code into your CMakeLists.txt, and seems like it has

Re: [CMake] Converting a large C++-Project to CMake

2010-11-01 Thread Michael Jackson
There has since been a 1.0 release which seems to work very well. ftp://ftp.qt.nokia.com/jom/jom.zip ___ Mike Jackson www.bluequartz.net On Nov 1, 2010, at 7:35 AM, Verweij, Arjen wrote: Benjamin, If you haven't a

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-04 Thread Michael Jackson
Clean out your build folder first. export BOOST_ROOT=/home/kknox/sdk/boost_1_44_0 ==> that needs to be an actual "installation", a staged area will probably NOT work to find boost as FindBoost is looking for a very specific path within BOOST_ROOT and if that path is NOT found then it will pr

Re: [CMake] header files with visual studio

2010-11-04 Thread Michael Jackson
I have a macro to help with this: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES INSTALL_FILES) if (${INSTALL_FILES} EQUAL "1") INSTALL (FILES ${HEADERS} DESTINATION include/${SOURCE_PATH} COMPONENT Headers ) endif() S

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit

2010-11-04 Thread Michael Jackson
# set( Boost_DEBUG ON ) Uncomment that and send the output. Yes, it will be A LOT of output but I am trying to figure out what is going wrong. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike

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

2010-11-04 Thread Michael Jackson
I'll vote for that bug. I _was_ going to load VS2010 but maybe I'll hold off. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, O

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

2010-11-05 Thread Michael Jackson
I have an idea for a feature that might help resolve some of the "Find***" issues. I would like to see CMake implement some sort of "Software Update" mechanism where you could tell CMake to check a central server for any updated FindXXX.cmake files and then download them into the cmake inst

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

2010-11-05 Thread Michael Jackson
:39, Michael Jackson wrote: I have an idea for a feature that might help resolve some of the "Find***" issues. I would like to see CMake implement some sort of "Software Update" mechanism where you could tell CMake to check a central server for any updated FindXXX.cmake files an

Re: [CMake] Setting up CMake for Windows projects

2010-11-08 Thread Michael Jackson
On Nov 8, 2010, at 4:39 PM, Rolf Eike Beer wrote: Am Montag, 8. November 2010 schrieb Stormwind Developer: Greetings, I am a complete beginner to CMake, so my problem might be trivial. Nevertheless I did not find a solution yet. I am running Windows XP in a virtual machine on a linux host sy

Re: [CMake] header files with visual studio

2010-11-15 Thread Michael Jackson
On Nov 15, 2010, at 9:50 AM, Bill Hoffman wrote: On 11/14/2010 5:00 AM, Eric Noulard wrote: There has been some discussion on the list about improvement of the dependency scanner, this kind of idea may be examined there. May be it's worth filing a feature request on this subject. I have no

Re: [CMake] header files with visual studio

2010-11-15 Thread Michael Jackson
On Nov 15, 2010, at 12:29 PM, Oliver kfsone Smith wrote: Michael Jackson said the following on 11/15/2010 9:33 AM: I have been casually following this thread and I understand the OPs hesitation when trying to add thousands of files into a CMake build system but what I think one needs to

Re: [CMake] BundleUtilities

2010-11-16 Thread Michael Jackson
I think we used Qt as a basis because lots of people at the time were asking for it. Probably the simplest to demonstrate would be an example that builds a dynamic library and an executable that uses that library so therefor it must be packaged with the executable. Were you wanting to write

Re: [CMake] BundleUtilities

2010-11-17 Thread Michael Jackson
I tool a little different approach in my own projects. I end up "configuring" a shell script that gets run at install time (OS X Only). Inside that shell script are all the copying to the CMAKE_INSTALL_PREFIX, ensuring destination directories inside the OS X App bundle are setup (Plugins, l

Re: [CMake] BundleUtilities

2010-11-17 Thread Michael Jackson
On Nov 17, 2010, at 12:20 PM, Clinton Stimpson wrote: For Qt projects, a macro for creating a qt.conf file and a macro for installing Qt plugins would be nice to have in FindQt4.cmake (anyone want to take a stab at that?) To say this needs cleaned up and refactored is an understatement b

Re: [CMake] BundleUtilities

2010-11-17 Thread Michael Jackson
On Nov 17, 2010, at 12:20 PM, Clinton Stimpson wrote: On Wednesday, November 17, 2010 09:46:23 am David Doria wrote: On Wed, Nov 17, 2010 at 9:32 AM, Michael Jackson wrote: I tool a little different approach in my own projects. I end up "configuring" a shell script that gets run

Re: [CMake] cmake config.h

2010-11-27 Thread Michael Jackson
You use a combination of some CMake macros and "configure_file()" command. First, in your CMakeLists.txt file (or another cmake file) you would have lines such as: # In this file we are doing all of our 'configure' checks. Things like checking # for headers, functions, libraries, types and siz

Re: [CMake] cmake config.h

2010-11-28 Thread Michael Jackson
Those variables are specific for the project you are trying to convert. For example if this was the LibTiff project then you might have something like: #define PACKAGE"libTif" #define PACKAGE_BUGREPORT "b...@libtiff.com" #define PACKAGE_VERSION "8.9.10" You can set these as CMake varables

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Michael Jackson
On Dec 7, 2010, at 4:27 PM, Hicham Mouline wrote: > From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of > Philip Lowman > Sent: 07 December 2010 13:17 > To: Hicham Mouline > Cc: Philip Lowman; Dmytro Ovdiienko; CMake mailing list; > boost-bu...@lists.boost.org > Subject: Re:

[CMake] OSX_BUNDLE_PLIST Use

2010-12-09 Thread Michael Jackson
I have the following CMake for code for an OS X Application: SET(MACOSX_BUNDLE_INFO_STRING "${PROJECT_NAME}${DBG_EXTENSION}, Copyright 2010 BlueQuartz Software.") SET(MACOSX_BUNDLE_ICON_FILE ${ICON_FILE_NAME}) SET(MACOSX_BUNDLE_GUI_IDENTIFIER "${PROJECT_NAME}${DBG_EXTENSION}") SET(MACOSX_BU

Re: [CMake] OSX_BUNDLE_PLIST Use

2010-12-09 Thread Michael Jackson
ariable. Working now. Sorry for the noise. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Dec 9, 2010, at 3:51 PM, M

[CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Michael Jackson
Is there a concise example for BundleUtilites aimed at Windows? I _think_ I get how to use it on OS X but I am failing miserably on Windows side of things. My installation code is turning into a mess currently due to using BundleUtilities on the OS X side and manually writing CMake code to move stu

Re: [CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Michael Jackson
32) > set(APPS "\${CMAKE_INSTALL_PREFIX}/${_dir}/paraview${_extension}")  # paths > to executables > # run Bundle utilities > INSTALL(CODE " >    include(\"${ParaView_CMAKE_DIR}/BundleUtilities.cmake\") >    fixup_bundle(\"${APPS}\"   \"\"   \"${

Re: [CMake] cmake + OSX + gfortran + 64bit problem

2010-12-15 Thread Michael Jackson
http://r.research.att.com/tools/ Has a great distribution of gfortran based on each Xcode distribution. It seems to work well with CMake. Not sure about the -arch flag though. ___ Mike Jackson www.bluequartz.net Princip

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 9:41 AM, Mike McQuaid wrote: It would be good if FindQt4 looked for the various plugins that can be installed with Qt and gave the path to them (both release and debug versions) and searched using the various filenames that are possible. I'd suggest providing variables like:

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Michael Jackson
You will want to read this article: http://www.cmake.org/Wiki/BuildingWinDLL ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohi

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 11:45 AM, Mike McQuaid wrote: On 21 December 2010 16:41, Clinton Stimpson wrote: Would you prefer having a set of variables that point to the dlls, or would you rather have a function that takes a list of Qt modules and copies the necessary plugins for those Qt module

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Michael Jackson
Were you using cmake from a "Visual Studio Command prompt" or a normal command prompt. According to Microsoft you MUST run dumpbin.exe from a "Visual Studio Command Prompt". It seems that dumpbin.exe is included all the way back to Visual Studio 2005. Hope that helps. __

[CMake] Visual Studio 2010 Generator Missing?

2010-12-27 Thread Michael Jackson
I have CMake 2.8.3 installed on a Windows 7 x64 system. I finally got around to installing VS2010 in order to try it out and when I run CMake-GUI there is no option for Visual Studio 2010? I was thinking there was support for VS2010 in CMake 2.8.3? Google seems to think so? Maybe I just missed s

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 27, 2010, at 6:04 PM, Bill Hoffman wrote: > On 12/27/2010 5:46 PM, Michael Jackson wrote: >> I have CMake 2.8.3 installed on a Windows 7 x64 system. I finally got > around to installing VS2010 in order to try it out and when I run > CMake-GUI there is no option for Visual

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 28, 2010, at 9:29 AM, John Drescher wrote: >> Just a small piece of feedback. All the other Visual Studio generators are >> "in order", ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 >> below VS 9. Was there a specific reason for putting VS 10 above VS 6 and >> thus "out

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 28, 2010, at 9:45 AM, Micha Renner wrote: > >> Just a small piece of feedback. All the other Visual Studio generators are >> "in order", ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 >> below VS 9. Was there a specific reason for putting VS 10 above VS 6 and >> thus "out

Re: [CMake] Modules with additional files

2010-12-29 Thread Michael Jackson
You want to do something like this: # In the CMake file get the parent directory of the current # cmake file that is being parsed get_filename_component( CURRENT_DIR ${CMAKE_CURRENT_LIST_FILE} ABSOLUTE) configure_file ( ${CURRENT_DIR}/SomeFile.h.in .. ) Is that what you were looking for? _

Re: [CMake] Modules with additional files

2010-12-29 Thread Michael Jackson
-- Mike Jackson On Dec 29, 2010, at 1:51 PM, Johannes Wienke wrote: > Am 29.12.2010 19:22 schrieb Michael Jackson: >> You want to do something like this: >> >> # In the CMake file get the parent directory of the current >> # cmake file that is being parse

Re: [CMake] fixup_bundle: installing multiple executables that depend on the same libraries

2010-12-31 Thread Michael Jackson
I ended up creating a variation on fixup_bundle for command line tools on OS X. It basically copies the app into "bin/" and depended libraries into "lib/" and then runs install_name_tool on the executables to make them find the libraries in "lib/". You can find examples of the cmake code and confi

[CMake] BundleUtilities Error on Install

2011-01-04 Thread Michael Jackson
Running on Windows 7 x64 with CMake 2.8.3 and Visual Studio 2008. My project is configured with the Win64 type. I am trying to consolidate my installation code to use the BundleUtilities on all platforms where possible. I can not figure out what is going wrong with the install project. Here is a

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Reopened the bug because this is _still_ an issue with CMake 2.8.3. Just tried to configure, build and install and got the same crash. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@blu

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
BlueQuartz Software Dayton, Ohio On Jan 5, 2011, at 12:01 PM, Clinton Stimpson wrote: > > I can't reproduce the problem using the current cmake source from git. > > Clint > > On Wednesday, January 05, 2011 08:05:43 am Michael Jackson wrote: >> Reopened the b

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
viate the issue of the qt_menu.nib. At least it should finally work with CMake 2.8.4? ___ Mike Jackson www.bluequartz.net On Jan 5, 2011, at 12:04 PM, Bill Hoffman wrote: > On 1/5/2011 10:05 AM, Michael Jacks

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
; > The 2.8.3 BundleUtilities should copy in the Resources necessary for > this to work. > > So I think that was done (switch to using built in BU) just *after* 2.8.3. > > > Unless there's still a missing qt.conf file at that point. > > > On Wed, Jan 5, 2011

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
unity to try cmake-gui and ccmake during RC > phases and tell us if something is amiss. > > > Thanks, > David > > > On Wed, Jan 5, 2011 at 12:16 PM, Michael Jackson > wrote: >> Note that I am using the ./configure to configure CMake itself. Not CMake to >

[CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
I am working on my CPack code for my project. What I have noticed is that the MSVC runtime libs for both Debug and Release are included when I do an INSTALL and are NOT included when I try to run the PACKAGE project. Again, this is probably something simple to solve but I just am not sure what a

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
the make > install tree of a debug build, possibly even copying it over to > another machine for testing. > > But it is not intended that the MSVC Debug libraries be packaged... > > > On Wed, Jan 5, 2011 at 1:20 PM, Michael Jackson > wrote: >> I am working on my CPa

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jan 5, 2011, at 2:01 PM, Bill Hoffman wrote: > On 1/5/2011 1:01 PM, Da

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
DEBUG_LIBRARIES ON) from a month ago that I didn't remove. > I'll do that right now. > > On Wed, Jan 5, 2011 at 1:54 PM, Michael Jackson > wrote: > OK.So how do I NOT package them? So far they _are_ getting put into the > installer even if I set Visual Studio to "Rel

[CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread Michael Jackson
>From the CMake 2.8.3 release I am using inside the >InstallRequiredSystemLibraries.cmake file all the way at the bottom is this: IF(WIN32) INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}) ELSE(WIN32) INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}) E

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
On Jan 5, 2011, at 2:36 PM, David Partyka wrote: > FYI, I just merged removal of setting CMAKE_INSTALL_DEBUG_LIBRARIES from > ParaView. > > On Wed, Jan 5, 2011 at 2:24 PM, Michael Jackson > wrote: >> That is where I pulled the code from so I must have grabbed that versi

Re: [CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread Michael Jackson
AD GROUP_EXECUTE > WORLD_READ > COMPONENT Runtime) > ENDIF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS) > > On Wed, Jan 5, 2011 at 2:30 PM, Michael Jackson > wrote: > From the CMake 2.8.3 release I am using inside the > InstallRequiredSystemLibraries.cmake

Re: [CMake] CPack, fixup_bundle, macdeployqt, and QTBUG-5952

2011-01-05 Thread Michael Jackson
The qt_menu.nib package can be located in either the QtGui.framework that gets copied into your application bundle or in MyApp.app/Contents/Resources/qt_menu.nib. Either of those locations should allow your application to work. Do you need to also add a qt.conf file into the Contents/Resources

Re: [CMake] Installing a helper application

2011-01-05 Thread Michael Jackson
Can you use "Find_File()" to get the path to the file. Then use the install(FILES ... ) command to place the file in your app bundle. Not tried any of that but it might work. ___ Mike Jackson www.bluequartz.net Principa

  1   2   3   4   5   6   7   8   9   >