Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Clinton Stimpson
multiple times to make those config files for you. Then when you run cpack, you give it the config file to use when making a package. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered

Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Clinton Stimpson
) create_cpack_config(CPackConfig-Foo.cmake) set(CPACK_INSTALL_CMAKE_PROJECTS ${Bar_BINARY_DIR} Bar ALL *) set(CPACK_PACKAGE_FILE_NAME Bar) create_cpack_config(CPackConfig-Bar.cmake) Then use the --config option to cpack to build the packages. -- Clinton Stimpson Elemental Technologies, Inc

Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Clinton Stimpson
On Friday, April 01, 2011 02:42:53 pm Clinton Stimpson wrote: On Friday, April 01, 2011 01:48:41 pm Crni Gorac wrote: On Fri, Apr 1, 2011 at 8:38 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/4/1 Crni Gorac cgo...@gmail.com: Am working with seemingly not too complicated CMake setup

[CMake] multiple targets depending on generated file

2011-04-05 Thread Clinton Stimpson
a separate directory? Maybe cmake can do the add_dependencies() automatically? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-18 Thread Clinton Stimpson
What version of cmake? I don't think that QtTest example worked until CMake 2.8.3. And you have dumpbin available on Windows from a Visual Studio installation? It might be nice to add support for mingw's objdump tool to find dependent dlls. Clint On May 14, 2011, at 7:48 AM, NoRulez wrote:

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-20 Thread Clinton Stimpson
Visual Studio 2008 installed. Best Regards Am 19.05.2011 um 05:52 schrieb Clinton Stimpson clin...@elemtech.com : What version of cmake? I don't think that QtTest example worked until CMake 2.8.3. And you have dumpbin available on Windows from

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-20 Thread Clinton Stimpson
CPack Verbose: Installing: C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1. 1-win32/./QtTest.exe CPack Verbose: fixup_bundle CPack Verbose: app='C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest -0.1.1-win32/bin/QtTest.exe' There is

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-20 Thread Clinton Stimpson
: NoRulez noru...@me.com Date: Fri, May 20, 2011 1:40 pm Subject: AW: [CMake] BundleUtilities with MinGW under Windows To: 'Clinton Stimpson' clin...@elemtech.com Cc: 'CMake MailingList' cmake@cmake.org For the QtTest example I get the following error: CPack: Create package using NSIS CPack

Re: [CMake] [SOLVED] BundleUtilities with MinGW under Windows

2011-05-23 Thread Clinton Stimpson
like to add those paths to the PATH if they aren't there Best Regards and thanks for your help NoRulez -Ursprüngliche Nachricht- Von: Clinton Stimpson [mailto:clin...@elemtech.com] Gesendet: Montag, 23. Mai 2011 16:44 An: NoRulez Betreff: Re: AW: [CMake] BundleUtilities with MinGW

Re: [CMake] How to add CPack errors to CDash

2011-06-01 Thread Clinton Stimpson
\${CTEST_CONFIGURATION_TYPE} --config ${CMAKE_BINARY_DIR}/CPackConfig.cmake) -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] CPack specify filename

2011-06-01 Thread Clinton Stimpson
. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] CMake 2.8.5-rc2 ready for testing!

2011-06-15 Thread Clinton Stimpson
to unknown configuration GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_lang value (#12258) Teach find_(library|package) about Linux multiarch (#12037) Test find_package multiarch support (#12037) Clinton Stimpson (11): BundleUtilities: Work w/ non .app exes on Mac (#12034

Re: [CMake] Where is QT_USE_IMPORTED_TARGETS not safe to use?

2011-06-20 Thread Clinton Stimpson
APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG) -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Where is QT_USE_IMPORTED_TARGETS not safe to use?

2011-06-21 Thread Clinton Stimpson
On Tuesday, June 21, 2011 06:59:25 am Stephen Kelly wrote: Hi, Thanks for the response. I've got a few followups. Clinton Stimpson wrote: The part that is not clear to me is this: This means when a project B then uses project A, these imported targets must be created again

Re: [CMake] Where is QT_USE_IMPORTED_TARGETS not safe to use?

2011-06-22 Thread Clinton Stimpson
On Jun 22, 2011, at 7:01 AM, Stephen Kelly wrote: Wups, sent a moment to early... Stephen Kelly wrote: Clinton Stimpson wrote: It means the target must be created again with something like add_library(Qt4::QtCore UNKNOWN IMPORTED) If GrantleeConfig.cmake were to do this: SET

Re: [CMake] How to handle COMPONENT arguments to find_package in my Config file?

2011-06-22 Thread Clinton Stimpson
On Wednesday, June 22, 2011 10:01:37 am Stephen Kelly wrote: Hi, In my GrantleeConfigVersion.cmake.in I can use ${PACKAGE_FIND_VERSION} which I presume is filled from the find_package command (I just copied the file from elsewhere). Is there an equivalent for COMPONENTS so that if someone

Re: [CMake] Build flags when using Qt plugins (was: Where is QT_USE_IMPORTED_TARGETS not safe to use?)

2011-06-22 Thread Clinton Stimpson
On Wednesday, June 22, 2011 05:06:41 am Stephen Kelly wrote: Clinton Stimpson wrote: # http://mail.kde.org/pipermail/kde-windows/2007-December/001692.html # http://lists.trolltech.com/pipermail/qt-interest/2009-July/009829.htm l # qt is always compiled with QT_NO_DEBUG under mingw

Re: [CMake] Build flags when using Qt plugins (was: Where is QT_USE_IMPORTED_TARGETS not safe to use?)

2011-06-22 Thread Clinton Stimpson
On Wednesday, June 22, 2011 12:21:51 pm Stephen Kelly wrote: Clinton Stimpson wrote: And all unit tests then fail with MinGW. The errorString() reported is: QDEBUG : TestBuiltinSyntax::testInsignificantWhitespace(insignificant- whitespace43) Object QObject(0x0) The plugin 'C:/software

Re: [CMake] Build flags when using Qt plugins (was: Where is QT_USE_IMPORTED_TARGETS not safe to use?)

2011-06-22 Thread Clinton Stimpson
On Wednesday, June 22, 2011 12:21:51 pm Stephen Kelly wrote: Clinton Stimpson wrote: And all unit tests then fail with MinGW. The errorString() reported is: QDEBUG : TestBuiltinSyntax::testInsignificantWhitespace(insignificant- whitespace43) Object QObject(0x0) The plugin 'C:/software

Re: [CMake] Build flags when using Qt plugins (was: Where is QT_USE_IMPORTED_TARGETS not safe to use?)

2011-06-22 Thread Clinton Stimpson
On Wednesday, June 22, 2011 01:47:33 pm Stephen Kelly wrote: Clinton Stimpson wrote: The output is attached, but I'm not certain it's very helpful. Let me know if anything else would be useful. I can maybe try to create a smaller plugin using qt example for easy reproduction of the issue

Re: [CMake] Build flags when using Qt plugins (was: Where is QT_USE_IMPORTED_TARGETS not safe to use?)

2011-06-23 Thread Clinton Stimpson
On Wednesday, June 22, 2011 02:20:08 pm Clinton Stimpson wrote: On Wednesday, June 22, 2011 01:47:33 pm Stephen Kelly wrote: Clinton Stimpson wrote: The output is attached, but I'm not certain it's very helpful. Let me know if anything else would be useful. I can maybe try to create

Re: [CMake] QT_QTDECLARATIVE_FOUND issue on N9(50)

2011-07-07 Thread Clinton Stimpson
on that value. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] QT_QTDECLARATIVE_FOUND issue on N9(50)

2011-07-07 Thread Clinton Stimpson
. I'm not able to reproduce this problem. Do you know if the other *_FOUND variables are set? Is it also a problem if you run cmake on a CMakeLists.txt file with just the following: find_package(Qt4) if(QT_QTDECLARATIVE_FOUND) message(found it) endif() -- Clinton Stimpson Elemental

Re: [CMake] After updating CMake to 2.8-5, I get ld: framework not found QtGui on Mac OS X (Snow Leopard)

2011-07-11 Thread Clinton Stimpson
Regards NoRulez Do you have a simple way to reproduce the problem? I don't see this problem with some of my projects on the Mac. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered

Re: [CMake] QT_QTDECLARATIVE_FOUND issue on N9(50)

2011-07-11 Thread Clinton Stimpson
(QT_QTDECLARATIVE_FOUND) Best Regards, Laszlo Papp Can you try this with a newer CMake version? Perhaps the 2.8.5 that just came out? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered

Re: [CMake] CPack: Bundle Generator and fixup_bundle

2011-07-11 Thread Clinton Stimpson
to call fixup_bundle(). -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] How pass a -spec parameter to FindQt4.cmake?

2011-07-22 Thread Clinton Stimpson
it (that is if the PkgConfig thing gets fixed too). -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] FindQt4 errors out when locating QtUITools under CMake 2.8.5

2011-07-25 Thread Clinton Stimpson
CMake 2.8.5 then FIND_PACKAGE can successfully locate QtUiTools. More details on GitHub: https://github.com/Kitware/CMake/issues/7 Thanks for finding. Its been fixed in git. 702538e Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X -- Clinton Stimpson

Re: [CMake] CMake QT4 toolbar icons disappear

2011-07-30 Thread Clinton Stimpson
On Jul 29, 2011, at 10:58 AM, James Sutherland wrote: I have the following in my CMakeLists.txt: install( DIRECTORY ${QT_PLUGINS_DIR}/imageformats DESTINATION ${plugin_dest_dir}/plugins COMPONENT Runtime ) This results in the appropriate libraries (libqtiff.dylib

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
() to return a different path. See gp_resolved_file_type() in GetPrerequisites for more information. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
On Tuesday, August 02, 2011 01:42:47 pm Gregory Crosswhite wrote: On 8/2/11 9:28 AM, Clinton Stimpson wrote: You shouldn't need to copy GetPrerequisites and BundleUtilities. For Linux you can do: set_target_properties( ... PROPERTIES INSTALL_RPATH \$ORIGIN/../lib) To get /usr/lib

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
On Tuesday, August 02, 2011 02:03:23 pm Gregory Crosswhite wrote: On 8/2/11 12:53 PM, Clinton Stimpson wrote: On Mac, are you making a .app bundle, or are you doing a layout similar to Linux, with bin/, lib/ layout, or something else? The latter --- I was hoping to use a layout similar

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
On Tuesday, August 02, 2011 05:09:04 pm Gregory Crosswhite wrote: On 08/02/2011 03:10 PM, Clinton Stimpson wrote: On Tuesday, August 02, 2011 03:38:01 pm Gregory Crosswhite wrote: You need an @ONLY for configure_file() so it doesn't substitute the ${} parts also. Doh! Thanks for the tip

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
On Aug 2, 2011, at 5:47 PM, Gregory Crosswhite wrote: On 8/2/11 4:32 PM, Clinton Stimpson wrote: There is no scanning the file system to find which libraries to fix up. Any libraries used by executables will be considered in the set of libraries to fix up, regardless of where

Re: [CMake] Gathering up required shared libraries

2011-08-03 Thread Clinton Stimpson
On Tuesday, August 02, 2011 06:36:45 pm David Cole wrote: On Tue, Aug 2, 2011 at 8:05 PM, Clinton Stimpson clin...@elemtech.com wrote: On Aug 2, 2011, at 5:47 PM, Gregory Crosswhite wrote: On 8/2/11 4:32 PM, Clinton Stimpson wrote: There is no scanning the file system to find which

Re: [CMake] FindQt4 fails to find QtUiTools in windows cross-environment

2011-08-29 Thread Clinton Stimpson
been put in. http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=a67be31 -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Problem and proposed solution with cmake -E rename across devices

2011-08-31 Thread Clinton Stimpson
between devices? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] dmg CPack Options

2011-09-22 Thread Clinton Stimpson
(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1) -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Clinton Stimpson
you edit your .cbp to remove lines like that? Or copy it to a file with a .xml extension then open it in a program that can check the xml (e.g. firefox). -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Clinton Stimpson
On Wednesday, October 05, 2011 09:53:53 am Alexander Neundorf wrote: On Wednesday 05 October 2011, Clinton Stimpson wrote: On Wednesday, October 05, 2011 08:29:00 am Marcus D. Hanwell wrote: On Wed, Oct 5, 2011 at 6:53 AM, Peter Kuemmel syntheti...@gmx.net wrote: When I install the .sh

Re: [CMake] FindQt4

2011-10-06 Thread Clinton Stimpson
(). -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] Problem with QT3 not generating .cpp files using Cmake

2011-10-11 Thread Clinton Stimpson
-- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] Windows installer creating duplicate entries in Add/Remove Programs

2011-10-27 Thread Clinton Stimpson
CPACK_PACKAGE_INSTALL_REGISTRY_KEY. That registry key is patch version specific, while the default install directory is minor version specific. So overwriting a previous install will still create a new set of registry keys, and a new entry in Add/Remove programs. -- Clinton Stimpson Elemental Technologies, Inc

Re: [CMake] Windows installer creating duplicate entries in Add/Remove Programs

2011-10-27 Thread Clinton Stimpson
On Thursday, October 27, 2011 12:11:36 pm Robert Dailey wrote: On Thu, Oct 27, 2011 at 1:10 PM, Clinton Stimpson clin...@elemtech.comwrote: On Thursday, October 27, 2011 12:03:20 pm Robert Dailey wrote: *cricket... cricket...* - Robert Dailey On Tue, Oct 25, 2011

Re: [CMake] cmake 2.8.5 qt4 macros and file names with parentheses

2011-10-31 Thread Clinton Stimpson
at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Clinton Stimpson
/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Clinton Stimpson
and CMAKE_IMPORT_LIBRARY_SUFFIX? Which should I use? - Robert Dailey On Mon, Nov 14, 2011 at 2:49 PM, Clinton Stimpson clin...@elemtech.comwrote: That's what I do sometimes. To make that easier, CMake gives some convenience variables for library prefixes and suffixes if you are on multiple

Re: [CMake] CMake, Qt4, Ubuntu and Phonon

2011-11-22 Thread Clinton Stimpson
/libphonon.so? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

Re: [CMake] 2D arrays

2011-11-29 Thread Clinton Stimpson
How about the following two examples for a table or 2d array. In the first one, each column can have a name too. Its like an array of pointers in C++. set(fruits apple orange banana) set(animals cat dog elephant) set(columns fruits animals) foreach(column ${columns}) foreach(item

Re: [CMake] import/export and DLL's

2011-12-07 Thread Clinton Stimpson
this configured header for a static or for a shared build, so one doesn't have to add preprocessor defines to use the header file? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread Clinton Stimpson
/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Clinton Stimpson
Yeah it does look like synchronization is needed to fix this. The current interrupt functionality depends on message output or progress reporting to actually process the interrupt on the worker thread, which isn't good enough. I'm not sure if you've considered this, but it seems simpler to

Re: [CMake] FindQt4 with Official Nokia install

2012-01-09 Thread Clinton Stimpson
. But perhaps you're hitting a bug that was fixed in CMake 2.8.6. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] Cross-compilation vs FindQt4.cmake

2010-05-31 Thread Clinton Stimpson
On 05/31/2010 06:29 AM, Andrey. wrote: I would like to know whether there is some progress on making FindQt4.cmake friends with cross-compilation. Not much, unfortunately. Not a piece of good news. There actually has been a slow replacing of things that prevent

[CMake] FindThreads.cmake

2010-06-01 Thread Clinton Stimpson
How can I make FindThreads.cmake find pthreads on IRIX instead of sproc? Thanks, Clint ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and

Re: [CMake] list of lists -possible?

2010-06-02 Thread Clinton Stimpson
On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: Is it possible to implement a list of lists. The following example shows cmake ending up with a list with 6 elements instead of a list with 2 elements with each element being a list with 3 elements set(fooa 1 2 3) set(foob a b c)

Re: [CMake] list of lists -possible?

2010-06-02 Thread Clinton Stimpson
On Wednesday, June 02, 2010 11:02:18 am Hendrik Sattler wrote: Am Mittwoch 02 Juni 2010, 18:34:56 schrieb Clinton Stimpson: On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: Is it possible to implement a list of lists. The following example shows cmake ending up with a list

[CMake] find_path() and non-standard paths

2010-07-02 Thread Clinton Stimpson
I have this FIND_PATH(QT_MKSPECS_DIR NAMES qconfig.pri PATH_SUFFIXES mkspecs) And a Qt installation qtinstall/bin qtinstall/mkspecs qtinstall/include qtinstall/lib and this file exists qtinstall/mkspecs/qconfig.pri. And if I set CMAKE_PREFIX_PATH=qtinstall for a native build or

Re: [CMake] Finding WS2 library on Windows Vista

2010-07-03 Thread Clinton Stimpson
On Friday, July 02, 2010 11:56:02 am Di Zou wrote: I am trying to use CMake to find WS2_32.dll on Windows Vista. For me, the dll is located in C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib. So I use the command: FIND_LIBRARY(WS2 NAMES WS2_32 PATHS C:/Program Files/Microsoft SDKs/Windows/*

[CMake] find_path() and directories

2010-07-06 Thread Clinton Stimpson
Can find_path() be used to find a directory containing a directory or directories? For example: find_path(MY_DIR NAMES subdir) It seems to work on Linux, but the docs say it is for finding directories containing files. Thanks, Clint ___ Powered by

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

2010-07-19 Thread Clinton Stimpson
On 07/19/2010 02:54 PM, Michael Jackson wrote: 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

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

2010-07-29 Thread Clinton Stimpson
Why? I'm still waiting for someone to post a reason of why a decorated name is a problem for them. Also waiting on an answer to the code duplication issue. An automatic naming scheme could break existing applications that search for plugins based on their names. Some of those developers

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

2010-07-31 Thread Clinton Stimpson
If you put main.moc in add_executable() then you don't have to use the set_source_files_properties() to manually specify dependencies. Clint On 07/31/2010 10:11 AM, 1+1=2 wrote: Thanks for your advice. I just want the project to be able to work under both cmake and qmake. I found an

Re: [CMake] [cmake-developers] Support for multiple components in cpack

2010-08-02 Thread Clinton Stimpson
On Aug 2, 2010, at 5:29 AM, Eric Noulard wrote: Hi All, I did add a patch for the multiple file problem http://public.kitware.com/Bug/view.php?id=10736 May be interested people can have a try and comment this patch. It adds the possibility for any CPack generators to generate

Re: [CMake] include_directories and qt4_wrap_cpp

2010-08-02 Thread Clinton Stimpson
On 08/02/2010 09:02 AM, Michael Wild wrote: On 2. Aug, 2010, at 16:44 , Dennis Schridde wrote: Hello! I setup include_directories and then call qt4_wrap_cpp for a set of files. What I am seeing now is that the set of -I flags for moc are different from those for the compiler:

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

2010-08-03 Thread Clinton Stimpson
On Tuesday, August 03, 2010 02:07:31 pm Alexander Neundorf wrote: On Saturday 31 July 2010, Clinton Stimpson wrote: If you put main.moc in add_executable() then you don't have to use the set_source_files_properties() to manually specify dependencies. Yes, but main.moc is already #included

Re: [CMake] static Qt linking while building other DLLs

2010-08-03 Thread Clinton Stimpson
You just need to build Qt as static libraries with the configure -static option. There's nothing else you need to change in your CMake setup, so you can keep your BUILD_SHARED_LIBS flag as you want and Qt is not affected by it. Clint On Tuesday, August 03, 2010 04:40:50 pm Glenn Hughes

Re: [CMake] Double linking / linking static libraries

2010-08-04 Thread Clinton Stimpson
FindQt4.cmake has been fixed so it doesn't potentially introduce this double linking problem. If you can upgrade, 2.8 would help you. Clint On Aug 4, 2010, at 2:51 AM, Dennis Schridde wrote: I searched some more and found a trigger for this behaviour: -- PROJECT(test)

Re: [CMake] include_directories and qt4_wrap_cpp

2010-08-05 Thread Clinton Stimpson
On 08/05/2010 03:28 AM, Dennis Schridde wrote: On Monday 02 August 2010 17:20:36 Dennis Schridde wrote: Replacing .framework with \\.framework works. Was this change already commited? I.e. is the problem solved in the sources now? Yes, it is in git, but its still waiting for a

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

2010-08-11 Thread Clinton Stimpson
On Wednesday, August 11, 2010 12:52:32 pm Erik Lindahl wrote: Hi Sean, On Aug 11, 2010, at 8:08 PM, Sean McBride wrote: On Wed, 11 Aug 2010 18:08:35 +0200, Erik Lindahl said: All the CheckTypeSize() tests then seem to run directly when e.g. ccmake is invoked, and they thus set all

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

2010-08-11 Thread Clinton Stimpson
On Wednesday, August 11, 2010 02:13:09 pm Michael Jackson wrote: H ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio

Re: [CMake] Support for multiple components in cpack (reloaded)

2010-08-21 Thread Clinton Stimpson
On Aug 21, 2010, at 6:21 AM, Eric Noulard wrote: 2010/8/21 Eric Noulard eric.noul...@gmail.com: [...] They change the number and the contents of the generated packages: 3.a) CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE=1 means you want to get a single package whose content

Re: [CMake] several questions about cmake

2010-08-26 Thread Clinton Stimpson
On 08/26/2010 09:45 AM, John Drescher wrote: On Thu, Aug 26, 2010 at 6:47 AM, Hickel, Kellykelly_hic...@bmc.com wrote: -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Mike McQuaid Sent: Thursday, August 26, 2010 1:12 AM To:

Re: [CMake] Would it be possible to have cmake make final binaries?

2010-08-31 Thread Clinton Stimpson
On Tuesday, August 31, 2010 09:33:18 am Mark Roden wrote: Hi all, I'm wondering if it would be possible to have CMake bypass IDEs altogether and just produce the final, installed results. Right now, I do this: 1) download source 2) configure source 3) tweak settings 4) configure source

Re: [CMake] CMake with Qt: Couldn't link against gluPerspective / gluLookAt under Linux, but does work on Win7 / VS2008

2010-09-01 Thread Clinton Stimpson
You are not linking with OpenGL libraries. Perhaps the difference you are seeing is because of cleanup in FindQt4.cmake. It no longer links OpenGL libraries for you. If you write code using OpenGL, you should make that explicit in your CMakeLists.txt file. So, try using FindOpenGL.cmake.

Re: [CMake] cpack/nsis behavior

2010-09-03 Thread Clinton Stimpson
On Friday, September 03, 2010 02:39:33 pm John Drescher wrote: On Fri, Sep 3, 2010 at 4:36 PM, John Drescher dresche...@gmail.com wrote: I've got this case where I'm using cpack to create nsis packages with a set of components that I want packaged. If I run the installer, things work.

[CMake] mixing c/fortran - missing gfortran sometimes

2010-09-23 Thread Clinton Stimpson
Hi, I've got a source files for a mixed C/fortran going into one library. If the library is shared, -lgfortran is added to the link line, and I'm good to go. If it is static, -lgfortran is not added to any executable or shared library that links with this static library. Should I add

Re: [CMake] mixing c/fortran - missing gfortran sometimes

2010-09-23 Thread Clinton Stimpson
On 09/23/2010 10:56 AM, Brad King wrote: On 09/23/2010 12:20 PM, Clinton Stimpson wrote: I've got a source files for a mixed C/fortran going into one library. If the library is shared, -lgfortran is added to the link line, and I'm good to go. If it is static, -lgfortran is not added to any

Re: [CMake] Create Qt language files

2010-12-27 Thread Clinton Stimpson
On 12/27/2010 06:31 AM, NoRulez wrote: Hello, currently I use a file called Languages.pro which generates language files for my application. On the command line I call qmake Languages.pro. How can I convert these file into cmake? CODECFORTR = UTF-8 CODECFORSRC = UTF-8 INCLUDEPATH = . \

[CMake] new support for deploying Qt apps

2011-01-01 Thread Clinton Stimpson
There has been recent discussions about deploying Qt applications, especially about Qt plugins. To address that issue, some new support has been added for plugins to FindQt4.cmake and I would enjoy feedback from any testers. Specifically: - support for static plugins If you are using a

Re: [CMake] Qt4 module too restrictive about uic requirement

2011-01-14 Thread Clinton Stimpson
On Jan 14, 2011, at 3:27 AM, Eric Noulard wrote: 2011/1/14 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, On Fri, 14 Jan 2011 11:06:04 +0100 Eric Noulard eric.noul...@gmail.com wrote: Clinton Stimpson is the maintainer of the QT4 module http://www.cmake.org/Wiki

[CMake] problem with export(TARGETS ...)

2011-01-27 Thread Clinton Stimpson
LINK_INTERFACE_LIBRARIES that I need to set? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] problem with export(TARGETS ...)

2011-01-27 Thread Clinton Stimpson
On Thursday, January 27, 2011 03:23:44 pm Brad King wrote: On 01/27/2011 03:08 PM, Clinton Stimpson wrote: add_library(A SHARED a.cpp) add_library(B SHARED b.cpp) target_link_libraries(B A) set_target_properties(B PROPERTIES LINK_INTERFACE_LIBRARIES ) export(TARGETS B FILE B

[CMake] cpack components archive generators

2011-02-07 Thread Clinton Stimpson
Is there a reason the archive generators append -ALL to the package file name I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1? Can we leave that to the user to decide if they want -ALL by putting it in CPACK_PACKAGE_FILE_NAME? Clint ___

Re: [CMake] CPack/NSIS and launching the application after the installation completed

2011-02-07 Thread Clinton Stimpson
(CPACK_NSIS_EXTRA_INSTALL_COMMANDS ExecWait '\\\$INSTDIRbin${myprog}\\\') -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] cpack components archive generators

2011-02-07 Thread Clinton Stimpson
On Monday, February 07, 2011 01:38:22 pm Eric Noulard wrote: 2011/2/7 Clinton Stimpson clin...@elemtech.com: Is there a reason the archive generators append -ALL to the package file name I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1? Can we leave that to the user to decide

Re: [CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Clinton Stimpson
suppress that warning with set(CPACK_COMPONENTS_IGNORE_GROUPS 1) -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Clinton Stimpson
On Tuesday, February 08, 2011 12:10:36 pm Clinton Stimpson wrote: On Tuesday, February 08, 2011 11:29:31 am Eric Noulard wrote: 2011/2/8 Mathieu Malaterre mathieu.malate...@gmail.com: Hi Eric, Thanks a bunch for your tremendous work ! You're welcome, feedback of this feature

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-14 Thread Clinton Stimpson
priority than paths from the Mac's platform files. And, I don't see this problem on Linux. Is this a bug in find_path() ?? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-16 Thread Clinton Stimpson
This might need some deeper looking into. If you could file a bug report, that would be nice. Clint On Wednesday, February 16, 2011 09:15:25 am Harinarayan Krishnan wrote: Hi All, Any thoughts on this subject? or should I file a bug report and see what happens? Thanks, Hari On

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
? No need for a git bisect. Now that you mention this, I know which commit did this (it was merged into master yesterday), and I can look at it. Also, you could change your CMakeLists.txt to use find_package(Qt4 4.5) to have it check the minimum version number for you. -- Clinton Stimpson Elemental

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote: On 02/23/2011 04:26 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote: Hi all, I have just pulled from master, and in my project I can't get the QT_VERSION_MINOR Here

Re: [CMake] error with FindQt4.cmake (on master)

2011-02-23 Thread Clinton Stimpson
On Wednesday, February 23, 2011 02:38:38 pm Arnaud GELAS wrote: On 02/23/2011 04:35 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:27:29 pm Arnaud GELAS wrote: On 02/23/2011 04:26 PM, Clinton Stimpson wrote: On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-24 Thread Clinton Stimpson
are looked at last. The CMAKE_PREFIX_PATH and PATH variables have a higher priority, and you can set those to control which Qt you want found. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Clinton Stimpson
Yeah, that works too. I thought it would be nice to encourage CMAKE_PREFIX_PATH which should work with any cmake find module. I was easily able to control which Qt was found by modifying myqt below #file(TO_CMAKE_PATH $ENV{USERPROFILE}/qt/qt-4.5.2-2008-64 myqt) file(TO_CMAKE_PATH

Re: [CMake] find_package(Qt4 REQUIRED) doesn't include QtNetwork?

2011-03-04 Thread Clinton Stimpson
On Friday, March 04, 2011 11:59:07 am kent williams wrote: To use Qt in my projects with CMake, up until now all it seemed to require was this: find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) But then I tried to use QTcpServer and QTcpSocket, and the compiles failed because it

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-09 Thread Clinton Stimpson
was to simplify the toolchain files. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Clinton Stimpson
in the same relative location from the non-rooted and rooted directory? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] Mac rpaths

2011-03-10 Thread Clinton Stimpson
Does CMake have native support for the -rpath linker flag on Mac? I'm wondering about using @rpath/... on Mac 10.5+ for some libraries in an arbitrary location, and still have apps work in a build tree using those libraries. -- Clinton Stimpson Elemental Technologies, Inc Computational

Re: [CMake] cmake on different systems

2008-08-04 Thread Clinton Stimpson
On Aug 1, 2008, at 11:27 AM, Jan Dinger wrote: Hello folks, I'll use cmake for my qt-apps, but I've a little trouble. If I run cmake under Debian-sid all works fine, next tray I run cmake under Debian-lenny, and now I'vr trouble. Cmake failed with an error: ###snip### Please set the

  1   2   3   4   5   6   7   >