Re: [CMake] CMake installation on Mac - compilers not found

2011-04-27 Thread Michael Jackson
Did you install the Xcode developer tools? - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio Sent from my mobile device. On Apr 27, 2011, at 5:05, Renan Mendes

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
Take a look at /Applications/Utilities/Console.app and seem if anything shows up in the logs as to why it failed. Permissions maybe? Missing /usr/local/ directory? ___ Mike Jackson www.bluequartz.net Principal Software

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote: 2011/4/27 Eric Noulard eric.noul...@gmail.com: 2011/4/27 Michael Jackson mike.jack...@bluequartz.net: Take a look at /Applications

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Michael Jackson
the log I did get was far less verbose than that? 2011/4/27 Michael Jackson mike.jack...@bluequartz.net: 4/27/11 12:14:11 PM Installer[9262] 4/27/11 12:14:11 PM Installer[9262] User picked Standard

Re: [CMake] OS X and getline ?

2011-04-25 Thread Michael Jackson
For the CMake side of things you can actually check for the function during the initial cmake checks: INCLUDE (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake) CHECK_FUNCTION_EXISTS(getline HAS_GETLINE) This will perform the check and put the result into the variable HAS_GETLINE. The easiest

Re: [CMake] BundleUtilities and super-build

2011-04-23 Thread Michael Jackson
BundleUtilities can not seem to find the QtLibraries. Are you passing in the path to the Qt Libraries as part of the arguments to fixup_bundle? I gave up on bundleUtilities for Windows platforms and use the following macro in its place: #

Re: [CMake] BundleUtilities (was RPATH on Mac)

2011-04-23 Thread Michael Jackson
for Frameworks ? Best Regards Guillaume On Wed, Apr 20, 2011 at 9:48 PM, David Cole david.c...@kitware.com wrote: On Wed, Apr 20, 2011 at 11:38 AM, Michael Jackson mike.jack...@bluequartz.net wrote: ___ Mike Jackson

Re: [CMake] Properly Detecting Win64

2011-04-20 Thread Michael Jackson
On Apr 20, 2011, at 8:55 AM, David Cole wrote: On Tue, Apr 19, 2011 at 5:44 PM, James Bigler jamesbig...@gmail.com wrote: On Tue, Apr 12, 2011 at 2:24 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 4/12/2011 4:13 PM, David Cole wrote: Does somebody have reproducible steps to get

Re: [CMake] BundleUtilities (was RPATH on Mac)

2011-04-20 Thread Michael Jackson
On Apr 20, 2011, at 10:55 AM, David Cole wrote: What is wrong with that one ? Nothing is wrong with it, but there is no link from the app to the plugin, so fixup_bundle cannot determine that it's necessary and automatically pull it in. The plugin, from the app's point of view, is

Re: [CMake] BundleUtilities (was RPATH on Mac)

2011-04-20 Thread Michael Jackson
at 11:17 AM, Michael Jackson mike.jack...@bluequartz.net wrote: On Apr 20, 2011, at 10:55 AM, David Cole wrote: What is wrong with that one ? Nothing is wrong with it, but there is no link from the app to the plugin, so fixup_bundle cannot determine that it's necessary

Re: [CMake] Properly Detecting Win64

2011-04-20 Thread Michael Jackson
a CMakelists.txt. I have no problems then with: IF (WIN32) IF (${CMAKE_SIZEOF_VOID_P} MATCHES 4) ELSE (${CMAKE_SIZEOF_VOID_P} MATCHES 4) ENDIF (${CMAKE_SIZEOF_VOID_P} MATCHES 4) ENDIF (WIN32) in my files. Juan On Wed, Apr 20, 2011 at 9:24 AM, Michael Jackson mike.jack...@bluequartz.net wrote

Re: [CMake] Properly Detecting Win64 - [Semi Off Topic Reply]

2011-04-20 Thread Michael Jackson
Hey Dave, So here are some timings for running CMake to the point where I can actually build my project. THe hardware is an Mac Pro 8 Core (16 Thread) 2.6GHz OS X 10.6.6 box also running Windows 7 x64. On OS X I use Makefiles in combination with Eclipse as the IDE so I generate straight

Re: [CMake] RPATH on Mac

2011-04-19 Thread Michael Jackson
]: *** [plugin/libplugin.1.2.3.so] Error 1 Thanks Guillaume On Sat, Apr 16, 2011 at 6:51 PM, Michael Jackson mike.jack...@bluequartz.net wrote: You need to process your executable with install_name_tool either manually or using the BundleUtilities functionality built into CMake. Note

Re: [CMake] RPATH on Mac

2011-04-16 Thread Michael Jackson
You need to process your executable with install_name_tool either manually or using the BundleUtilities functionality built into CMake. Note that there is a bug in the current CMake 2.8.4 that will NOT allow bundleUtilities to work on a command line type app. Your app MUST be in a .app bundle.

Re: [CMake] FortranCInterface_VERIFY problem on Mac

2011-04-12 Thread Michael Jackson
It looks like your fortran compiler by default compiles in 32 bit (i386) where as GCC on OS X 10.6 defaults to 64 bit (x64). You probably need to provide some compiler flags to the fortran compiler in order to get it to compile in 64 bit mode. The error is actually pretty easy to read:

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread Michael Jackson
On Apr 12, 2011, at 4:24 PM, Bill Hoffman wrote: On 4/12/2011 4:13 PM, David Cole wrote: Does somebody have reproducible steps to get to the point where CMAKE_SIZEOF_VOID_P disappears?? I've never seen that... How many times do you have to re-configure before you start seeing this

Re: [CMake] BundleUtilities Error between 2.8.3 and 2.8.4

2011-03-31 Thread Michael Jackson
=c2895f48a4e79af49937b9e6a260076440b1a67a You can read about the change which was to prevent problems. Does it not apply to you and its being too restrictive? Clint - Reply message - From: Michael Jackson mike.jack...@bluequartz.net Date: Wed, Mar 30, 2011 4:50 pm Subject: [CMake] BundleUtilities Error between 2.8.3

Re: [CMake] BundleUtilities Error between 2.8.3 and 2.8.4

2011-03-31 Thread Michael Jackson
www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Mar 31, 2011, at 12:01 PM, David Cole wrote: On Thu, Mar 31, 2011 at 8:29 AM, Michael Jackson mike.jack...@bluequartz.net wrote: So things did majorly change between

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

2011-03-31 Thread Michael Jackson
http://public.kitware.com/Bug/view.php?id=12034 ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Mar 29, 2011, at 1:56

Re: [CMake] problems with FindBoost

2011-03-31 Thread Michael Jackson
The 2 items that you will need to know (and us to help you) are: The list of libraries that you have installed. We need to know the complete filename. Then you need to probably dive into FindBoost.cmake and enable the debugging output and see what filenames CMake is trying to find. My bet is

[CMake] BundleUtilities Error between 2.8.3 and 2.8.4

2011-03-30 Thread Michael Jackson
Were there any major changes to the BundleUtilities.cmake file between 2.8.3 and 2.8.4? I have a project that installs just fine when running against CMake 2.8.3 but when using CMake 2.8.4 it errors out somewhere in BundleUtilities. I was wondering if there were any major changes to that file

[CMake] Too many packages being created for my project with CPack

2011-03-25 Thread Michael Jackson
I have a project on OS X that I am using CMake 2.8.3 and generating makefiles. When I do make package I get a .dmg, .sh, .stz and .zip files all created. Here is what I think is the relative portion of my CPack code that gets included in my CMakeLists.txt file: SET(CPACK_BINARY_BUNDLE OFF)

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Michael Jackson
YOu have this argument to gcc: -Werror which means treat warnings as errors. Either remove the flag or fix the warnings. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Jackson
On Mar 2, 2011, at 1:12, Michael Wild them...@gmail.com wrote: On 03/02/2011 10:05 AM, Robert Bielik wrote: Michael Wild skrev 2011-03-02 10:02: Probably this means to add -fvisibility=hidden and -static. However, -static will cause you to link everything statically, which will fail if you

Re: [CMake] Xcode C++ linking

2011-03-02 Thread Michael Jackson
On Mar 2, 2011, at 12:05 AM, Robert Bielik wrote: Hi, I'm trying to set Xcode to have static linking to the C++ standard libary, but I don't know how to. Also, Xcode mention that to make this work reliably, Symbols hidden by default must be enabled. Tips ? :) TIA /Rob In case you

Re: [CMake] Including a header file fails

2011-03-01 Thread Michael Jackson
Note that your error does not say the compiler could NOT find winbase.h, it is saying that it does not have a definition for those constants. Do you have #define WIN_LEAN_AND_MEAN or something like that somewhere in your code or is there another define that is causing the compiler to skip over

Re: [CMake] using ctest with cpu emulator

2011-02-26 Thread Michael Jackson
I do the following to run tests for all built archs on OS X: # -- macro(MXA_ADD_TEST testname Exename) if (NOT APPLE) ADD_TEST(${testname} ${Exename}) else() foreach(arch ${CMAKE_OSX_ARCHITECTURES})

Re: [CMake] Default visual studio filters

2011-02-25 Thread Michael Jackson
I have the following macro that I use: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES) STRING(REPLACE / source_group_path ${SOURCE_PATH} ) source_group(${source_group_path} FILES ${HEADERS} ${SOURCES}) ENDMACRO (cmp_IDE_SOURCE_PROPERTIES NAME HEADERS SOURCES

Re: [CMake] Installing cmake-2.8.4-Darwin-universal.dmg

2011-02-21 Thread Michael Jackson
There was a bug where we were discussing keeping or ditching the version number that gets appended to the CMake.app package. There are good reasons both to keep it and to remove it. You may want to add your thoughts to the bug. http://public.kitware.com/Bug/view.php?id=11693

Re: [CMake] Copying plugins into a bundle

2011-02-14 Thread Michael Jackson
You may want to take a look at some of the macros that I have created just for this purpose: copying my own plugins plus some of Qt's plugins into the application bundle. http://scm.bluequartz.net/support-libraries/cmp/trees/master Take a look at the cmpCMakeMacros.cmake file One of my

Re: [CMake] Detecting 32/64 bit systems

2011-02-14 Thread Michael Jackson
This will FAIL on windows. MSVC defines long as 32 bits on BOTH 32 and 64 bit compiles. Stick with the already defined CMAKE_SIZE_OF_VOID_P instead. It is known to work correctly on all the systems that CMake defines. As mentioned earlier, when building for OS X and universal binaries there

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread Michael Jackson
Bump? -- Mike Jackson www.bluequartz.net On Feb 8, 2011, at 5:36 PM, Michael Jackson wrote: At what point is the MacOSXBundleInfo.plist.in configured? I am setting all the relevant variables but they are not getting inserted into the plist. Here is some debug output from a CMake run of my

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread Michael Jackson
On Feb 10, 2011, at 2:04 PM, David Cole wrote: On Thu, Feb 10, 2011 at 1:51 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 2/10/2011 1:27 PM, Michael Jackson wrote: Bump? Did you try cmake --trace to see when it was configure... -- Mike Jacksonwww.bluequartz.net On Feb 8

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread Michael Jackson
mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Feb 10, 2011, at 2:39 PM, David Cole wrote: Can you share your source code so I can repro the issue here? Thx, David On Thu, Feb 10, 2011 at 2:25 PM, Michael Jackson mike.jack...@bluequartz.net wrote

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread Michael Jackson
CPack # And then there's ways to customize this as well set(CPACK_BINARY_DRAGNDROP ON) include(CPack) On Feb 10, 2011, at 2:39 PM, David Cole wrote: Can you share your source code so I can repro the issue here? Thx, David On Thu, Feb 10, 2011 at 2:25 PM, Michael Jackson mike.jack

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread Michael Jackson
the target properties and not the variables from now on. It's been that way since at least CMake 2.6.something... Thanks, David On Thu, Feb 10, 2011 at 3:04 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Instructions to reproduce: Pull the sample Qt Project from the CMake

[CMake] OS X Application plist configuration questions

2011-02-08 Thread Michael Jackson
At what point is the MacOSXBundleInfo.plist.in configured? I am setting all the relevant variables but they are not getting inserted into the plist. Here is some debug output from a CMake run of my project: -- MACOSX_BUNDLE_INFO_STRING: StatsGenerator_debug Version 2011.02.08, Copyright 2009

Re: [CMake] New warnings in CMake 2.8.4-rc2

2011-02-02 Thread Michael Jackson
On Feb 2, 2011, at 9:12 AM, Bill Hoffman wrote: On 2/2/2011 6:10 AM, Micha Renner wrote: Am Mittwoch, den 02.02.2011, 12:00 +0100 schrieb Emmanuel Blot: Hello, How to disable the new warnings CMake 2.8.4-rc2 emits, such as the following ones? I support this question too. There

Re: [CMake] namespace support

2011-02-02 Thread Michael Jackson
On Feb 2, 2011, at 6:38 PM, Peter Kümmel wrote: On 02.02.2011 16:39, Michael Jackson wrote: On Feb 2, 2011, at 10:21 AM, Peter Kümmel wrote: On 02.02.2011 16:17, Michael Wild wrote: namespace(a) include_directories(a) add_library(a MODULE a/a.cpp) endnamespace() Put

Re: [CMake] Help with fixup_bundle for Mac OS - @executable_path, @loader_path, @rpath

2011-02-01 Thread Michael Jackson
Basically you need to implement the following cmake function: function(gp_item_default_embedded_path_override item default_embedded_path_var) You can set to use @executable_path or @loader_path or what ever you really want in there. which BundleUtilities will use if it finds it. The trick here

Re: [CMake] cmake config.h

2011-01-26 Thread Michael Jackson
I _think_ there are issues with generating a file that is later used by CMake. I think. The other issue is that every time you run CMake (by default) that file is going to be written, then configured by cmake which will most likely mean a larger recompile than might be necessary. I don't see

Re: [CMake] Improvements for cross-referencing in the documentation?

2011-01-25 Thread Michael Jackson
I use the following script to generate a QtAssistant based documentation set. This allows quick searching of the docs and a more organized CMake documentation package. Here is the bash script. Maybe some else will find it useful also. I'll be the first to admit that I am not the best/most

Re: [CMake] cpack bundle on osx

2011-01-21 Thread Michael Jackson
Yngve On 1/20/11 9:02 PM, Michael Jackson wrote: There are a lot of different reasons it can fail. I usually end up debugging through the fixup_bundle() code and placing lots of message(STATUS ) commands in order to try and follow what is going on. There are already some through out

Re: [CMake] cpack bundle on osx

2011-01-21 Thread Michael Jackson
file perhaps? Cheers Yngve On 1/20/11 9:02 PM, Michael Jackson wrote: There are a lot of different reasons it can fail. I usually end up debugging through the fixup_bundle() code and placing lots of message(STATUS ) commands in order to try and follow what is going

Re: [CMake] [New Module] FindEXIF.cmake

2011-01-21 Thread Michael Jackson
The only thing I might add to it would be something like the following: # Only set EXIF_ROOT_DIR to the environment variable if # the user has not specifically set it as a -D variable # on the command line or in CMake-GUI as a CMake Variable. if (${EXIF_ROOT_DIR} STREQUAL ) SET

Re: [CMake] cpack bundle on osx

2011-01-20 Thread Michael Jackson
the GUI only, whereas if you click on the executable Contents/MacOS/Name you first see a terminal that then opens the GUI...? Is e.g. Octave bundled, and how is that done? Cheers Yngve On 1/19/11 4:42 PM, Michael Jackson wrote: You will need to look into the BundleUtilities

Re: [CMake] cpack bundle on osx

2011-01-19 Thread Michael Jackson
You will need to look into the BundleUtilities functionality, specifically the fixup_bundle() function. This will copy and fixup dependent dylibs/frameworks needed by your project. There is a short example that uses Qt that you can download. You will also probably need to properly configure

Re: [CMake] Adding support for Absoft Fortran compilers in CMake

2011-01-19 Thread Michael Jackson
That is awesome that you want to support CMake. I have some collaborators that use Absoft and want to switch to CMake but can not due to some issues. I think a great place to start would be this link: http://www.cmake.org/pipermail/cmake/2009-September/031730.html

[CMake] Properly Detecting Win64

2011-01-17 Thread Michael Jackson
I have the following code: if ( ${CMAKE_SIZEOF_VOID_P} EQUAL 8 ) set(CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME}-Win64) elseif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 ) set(CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME}-Win32) else() set(CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME}-Unknown)

Re: [CMake] Properly Detecting Win64

2011-01-17 Thread Michael Jackson
On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote: 2011/1/17 Michael Jackson mike.jack...@bluequartz.net: I have the following code: if ( ${CMAKE_SIZEOF_VOID_P} EQUAL 8 ) set(CPACK_PACKAGE_FILE_NAME ${PROJECT_NAME}-Win64) elseif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 ) set

Re: [CMake] InstallRequiredSystemLibraries.cmake

2011-01-13 Thread Michael Jackson
Along those same lines would it be possible to have separate variables for the Debug and Release runtime libraries? I _think_ I need this based on some previous conversations on this list. Comments welcome. -- Mike Jackson www.bluequartz.net On Jan 13, 2011, at 1:22 PM, David Cole wrote:

Re: [CMake] fixup_bundle, shared libs and Plugins

2011-01-11 Thread Michael Jackson
it, David On Mon, Jan 10, 2011 at 6:24 PM, Michael Jackson mike.jack...@bluequartz.net wrote: And just to follow up a bit with something else, I added the following bit of cmake code for the 2 libraries MXADataModel and AIMLib: SET_TARGET_PROPERTIES(${targetName} PROPERTIES LINK_FLAGS

Re: [CMake] fixup_bundle, shared libs and Plugins

2011-01-11 Thread Michael Jackson
-- Mike Jackson www.bluequartz.net On Jan 11, 2011, at 11:17 AM, David Cole wrote: On Tue, Jan 11, 2011 at 10:31 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Thanks for the explanation David it really helps to narrow down what might be going on. Couple of comments. Starting fresh

[CMake] fixup_bundle, shared libs and Plugins

2011-01-10 Thread Michael Jackson
CMake 2.8.3, OS X 10.6.6, Makefiles I am attempting to use fixup_bundle() to create my OS X app bundle. The issue I am running into is that under a certain case some common libraries that get built by the project are not being resolved correctly. Here goes the explanation: I have a project

Re: [CMake] fixup_bundle, shared libs and Plugins

2011-01-10 Thread Michael Jackson
to an external location with the proper install_name for that location then run my fixup_bundle(). I can't see the difference. -- Mike Jackson www.bluequartz.net On Jan 10, 2011, at 6:12 PM, Michael Jackson wrote: CMake 2.8.3, OS X 10.6.6, Makefiles I am attempting to use fixup_bundle() to create my

Re: [CMake] Problems with CPack and Mac OS X

2011-01-06 Thread Michael Jackson
You will want to read this page: http://www.cmake.org/Wiki/BundleUtilitiesExample It should answer your questions. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

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

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 bug because this is _still_ an issue

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

2011-01-05 Thread Michael Jackson
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 Jackson wrote

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

2011-01-05 Thread Michael Jackson
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 at 12:06 PM, Michael Jackson mike.jack...@bluequartz.net wrote

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

2011-01-05 Thread Michael Jackson
:16 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Note that I am using the ./configure to configure CMake itself. Not CMake to configure CMake. So maybe there is something missing from those installs. The interesting part (with all the discussions with putting in bug reports

[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

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

2011-01-05 Thread Michael Jackson
, 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 mike.jack...@bluequartz.net wrote: I am working on my CPack code for my project. What I have noticed

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,

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

2011-01-05 Thread Michael Jackson
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 mike.jack...@bluequartz.net 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 Release. I have

[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})

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 mike.jack...@bluequartz.net wrote: That is where I pulled the code from so I must have grabbed that version

Re: [CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread Michael Jackson
(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS) On Wed, Jan 5, 2011 at 2:30 PM, Michael Jackson mike.jack...@bluequartz.net wrote: 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

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 Principal

[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

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

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 Studio 2010? I

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 of order?

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 of order?

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

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,

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 clin...@elemtech.com 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

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.

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

[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

Re: [CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Michael Jackson
(\${APPS}\   \\   \${DIRS}\)    COMPONENT BrandedRuntime) On Sat, Dec 11, 2010 at 12:31 PM, Michael Jackson mike.jack...@bluequartz.net wrote: 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

[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})

Re: [CMake] OSX_BUNDLE_PLIST Use

2010-12-09 Thread Michael Jackson
. 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, Michael Jackson wrote

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:

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 PACKAGElibTif #define PACKAGE_BUGREPORT b...@libtiff.com #define PACKAGE_VERSION 8.9.10 You can set these as CMake varables in

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 size

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,

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

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 mike.jack...@bluequartz.net wrote: I tool a little different approach in my own projects. I end up configuring a shell script

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

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

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

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

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 and then download them

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

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,

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

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

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

<    1   2   3   4   5   6   7   8   9   >