Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-15 Thread clinton
Does that result in building the code 3 times? And why would you need to repeat the install directives? I've attached a CMakeLists.txt file for an example project that works for me without repeating install directives. Clint - Original Message - > Here's a follow-up. > I was unabl

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Clinton Stimpson
set(CPACK_INSTALL_CMAKE_PROJECTS # self project "${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/" # other config project "${CMAKE_BINARY_DIR}/SecondaryBuildTree;${CMAKE_PROJECT_NAME};ALL;/" ) endif() -- Clinton Stimpson Elemental Technologies, Inc Computati

Re: [CMake] CPack DEB dependencies

2013-01-28 Thread Clinton Stimpson
On Monday, January 28, 2013 10:07:04 PM Eric Noulard wrote: > 2013/1/28 Clinton Stimpson : > > When I try installing a cpack generated .rpm package on another machine, > > it > > also installs a handful of other dependent packages (including the 32 bit > > libc

Re: [CMake] CPack DEB dependencies

2013-01-28 Thread Clinton Stimpson
On Monday, January 28, 2013 11:59:46 AM Clinton Stimpson wrote: > When I try installing a cpack generated .rpm package on another machine, it > also installs a handful of other dependent packages (including the 32 bit > libc.so.6 for one of the 32 bit executables among all the 64

[CMake] CPack DEB dependencies

2013-01-28 Thread Clinton Stimpson
y way to fix this, either in cpack or in my cpack config? At a minimum, I think all I really need is the 32 bit libc.so.6. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projec

Re: [CMake] Making swig wrapper depend on the involved headers

2012-12-19 Thread Clinton Stimpson
${foo_SOURCE_DIR}/foo.h ) ... SWIG_ADD_MODULE(foo python foo.i) -- 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

Re: [CMake] Testing Qt 5 RC 1 CMake files

2012-12-11 Thread Clinton Stimpson
> > > > Steve. > > > > > > -- > > > > 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 a

Re: [CMake] Poor performance of copy_if_different

2012-11-06 Thread Clinton Stimpson
after your project(gmms): if(CMAKE_CONFIGURATION_TYPES) set( CMAKE_CONFIGURATION_TYPES debug release CACHE INTERNAL "" FORCE ) endif() Or some code to strip out types from CMAKE_CONFIGURATION_TYPES except for debug and release. So if it was empty to begin with, it c

Re: [CMake] Poor performance of copy_if_different

2012-11-06 Thread Clinton Stimpson
Know any good workarounds for this? > > On Tue, Nov 6, 2012 at 11:54 AM, Clinton Stimpson wrote: > > Try this: > > add_custom_command( > > > > OUTPUT ${bin_outputs} > > COMMAND ${copy_commands} > > DEPENDS > &g

Re: [CMake] Poor performance of copy_if_different

2012-11-06 Thread Clinton Stimpson
Try this: add_custom_command( OUTPUT ${bin_outputs} COMMAND ${copy_commands} DEPENDS ) On Tuesday, November 06, 2012 11:50:54 AM Robert Dailey wrote: > Thanks Clinton, > > Here is what I have so far: > > > project( copy_dlls )

Re: [CMake] Poor performance of copy_if_different

2012-11-06 Thread Clinton Stimpson
ith it? Also > would I add the custom commands to the custom target? > > On Tue, Nov 6, 2012 at 11:11 AM, Clinton Stimpson wrote: > > On Tuesday, November 06, 2012 11:06:45 AM Robert Dailey wrote: > >> I use ${CMAKE_COMMAND} -E copy_if_different to copy DLL files to my >

Re: [CMake] Poor performance of copy_if_different

2012-11-06 Thread Clinton Stimpson
rent is so slow? Is my assumption correct? > How can I make it faster? How about using plain "cmake -E copy ..." and rely on the timestamp check done by a custom command (add_custom_command()). You need to make sure the input/ouput parts of the custom command are set correctly so i

Re: [CMake] GenerateExportHeader for module library

2012-11-01 Thread Clinton Stimpson
On Nov 1, 2012, at 8:01 AM, Stephen Kelly wrote: > Gregoire Aujay wrote: > >> Hello, >> >> I am doing my tests with visual 2008 and mingw. >> >> As far as I understand a module is like a shared library that cannot be >> linked. Instead it is dynamically loaded and then we find and use symbols

Re: [CMake] cmake on Windows x64

2012-10-15 Thread Clinton Stimpson
On Monday, October 15, 2012 01:37:42 PM John Drescher wrote: > > Having CMAKE_SYSTEM_PROCESSOR be "x86" for a 64-bit build is very > > inconvenient when detecting machine-dependent compiler flags, > > constructing directory names for outputs based on configuration, > > configuring third party searc

Re: [CMake] QT4_WRAP_CPP and Implicit Dependencies

2012-10-12 Thread Clinton Stimpson
If you run moc on Main.h, which includes Dum.h, moc doesn't even open "Dum.h" to scan its contents. That tells me there is no way that moc would be required to rescan Main.h if Dum.h is modified. Clint On Oct 10, 2012, at 10:32 PM, Miller, Frank wrote: > Greetings, > > Suppose we have a head

Re: [CMake] RPATH not set for "first" build library

2012-08-25 Thread Clinton Stimpson
This doesn't look like a cmake bug to me. Someone tried to "fix" dlopen() for this case you are demonstrating, when the --enable-new-dtags linker flag is used. http://sources.redhat.com/ml/libc-hacker/2002-10/msg00048.html But the patch was rejected because it was by design. http://sourceware.or

Re: [CMake] CMake files for static builds of Qt 5

2012-08-22 Thread Clinton Stimpson
ds. > > This is for convenience, so that users of Qt do not have to specify the > static dependencies themselves, and so that I don't have to maintain the > list 'artificially' in the cmake files in Qt either. > > However, there are issues, see below: > >

Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Clinton Stimpson
Did you make the mistake of relocating your Qt installation? You could run qmake -query to see the paths it prints out, to make sure it matches your installation. Clint On Aug 12, 2012, at 12:59 PM, Toronto Andrew wrote: > Yes to both John, I did point the CMake gui to the position of the qmake

Re: [CMake] Disabling C for C++-only projects

2012-07-25 Thread Clinton Stimpson
ler as the build-process does? > This has already been fixed in FindQt4 since 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/op

Re: [CMake] fixup_bundle() doesn't like libglut.3.dylib

2012-05-22 Thread Clinton Stimpson
s nowadays anyway...?) > > >> >> > > > >> >> > In order to classify it as a system library, you can > > >> >> > provide a > > > > CMake > > > > >> >> > function named gp_resolved_file_type_over

Re: [CMake] relocatable build directory: howto?

2012-05-05 Thread Clinton Stimpson
On May 5, 2012, at 5:52 AM, Dave Abrahams wrote: > > on Sat May 05 2012, Michael Wild > wrote: > >> On 05/05/2012 07:25 AM, Dave Abrahams wrote: >>> >>> I need to preserve the built-but-not-yet-installed state of some >>> projects, and the tool I'm driving CMake with moves the result of ever

Re: [CMake] CCTray like tool for CDash?

2012-04-18 Thread Clinton Stimpson
- > > 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://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/

Re: [CMake] FindQt4 with Official Nokia install

2012-01-09 Thread Clinton Stimpson
laining about the same thing. > It works for me. 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 project

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 add

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

2011-12-20 Thread Clinton Stimpson
the ZIP generator instead. > >>>>> > >>>>> Anyone else can confirm this? I tried to search for it in the > >>>>> archives, but I could not find it. > >>>>> > >>>>> Best Regards, > >>>>> Yngv

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

2011-12-07 Thread Clinton Stimpson
... #else ... #endif Is there any way to generate 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.co

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 ${${column

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

2011-11-22 Thread Clinton Stimpson
ave a concern if one builds their own Qt (different version) without phonon, is it OK to find /usr/lib/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

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Clinton Stimpson
ARY_SUFFIX and > CMAKE_IMPORT_LIBRARY_SUFFIX? Which should I use? > > - > Robert Dailey > > On Mon, Nov 14, 2011 at 2:49 PM, Clinton Stimpson wrote: > > That's what I do sometimes. To make that easier, CMake gives some > > convenience > > variables for library pre

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Clinton Stimpson
t; link_directories(), however I haven't run into those issues yet and our > > consistent organization of third party libraries on our intranet server > > are carry over from our legacy build system that I'm replacing. > > -- > > > > Powered by www.kitware.

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

2011-10-31 Thread Clinton Stimpson
g issue and allowed me to build without any > problems. Is that project just misusing cmake, or is it really a > problem with Qt4Macros.cmake? > > Regards, > > Pierre-Francois > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at &

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 wrote: > > On Thursday, October 27, 2011 12:03:20 pm Robert Dailey wrote: > > > *cricket... cricket...* > > > > > > - > > > Ro

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

2011-10-27 Thread Clinton Stimpson
Dailey :) Yeah it looks like a bug to me. The culprit is in CMakeCPack.cmake where it sets 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 registr

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

2011-10-11 Thread Clinton Stimpson
SAMPLEAPP/build/CMakeFiles > $(CMAKE_PROGRESS_22) @$(CMAKE_COMMAND) -E cmake_echo_color > --switch=$(COLOR) --blue --bold "Generating SampleControl.h" > SAMPLEAPP/build/src && /usr/bin/uic-qt3 -o > SAMPLEAPP/build/src/SampleControl.h > SAMPLEAPP/src/SAMP

Re: [CMake] FindQt4

2011-10-06 Thread Clinton Stimpson
our code needs to link with opengl32.lib, then you can use find_package(OpenGL) and target_link_libraries(). -- 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.

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 wrote: > > > >

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Clinton Stimpson
es with quoting. Peter, is that your problem also? Can 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

Re: [CMake] dmg CPack Options

2011-09-22 Thread Clinton Stimpson
quot; option. > You're probably looking for this: set(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/open

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

2011-08-31 Thread Clinton Stimpson
> >> Follow this link to subscribe/unsubscribe: > >> http://www.cmake.org/mailman/listinfo/cmake > > Furthermore: > > Additionally, "cmake -E rename" is supposed to be guaranteed to be > "atomic" -- adding this code makes it "mostly atomic&quo

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

2011-08-29 Thread Clinton Stimpson
f Qt which is built as dynamic ones. > A fix for this has 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

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread clinton
Here's my (not so complete) understanding... Public assemblies are searched before private ones. http://msdn.microsoft.com/en-us/library/aa374224(v=vs.85).aspx So, on your machine, you have the required CRT libraires in the winsxs folder. You also have a redirection that says to use a newer CRT l

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

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

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

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
On Tuesday, August 02, 2011 03:38:01 pm Gregory Crosswhite wrote: > On 8/2/11 1:09 PM, Clinton Stimpson wrote: > > Ok, can you make an example that demonstrates the problem? > > > > I think this should work without overriding get_dotapp_dir() in > > BundleUtilities. &

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 h

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_RPAT

Re: [CMake] Gathering up required shared libraries

2011-08-02 Thread Clinton Stimpson
See gp_item_default_embedded_path() in GetPrerequisites for more information. And finally, to copy the dependents into lib/ instead of bin/, you can implement gp_item_default_embedded_path_override() to return a different path. See gp_resolved_file_type() in GetPrerequisites for more information. --

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] FindQt4 errors out when locating QtUITools under CMake 2.8.5

2011-07-25 Thread Clinton Stimpson
ce of undefined variable when detecting frameworks on Mac OS X -- 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://w

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

2011-07-22 Thread Clinton Stimpson
Qt was configured with "-headerdir include/qt4" --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -620,7 +620,7 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION) SET(QT_QTCORE_INCLUDE_DIR NOTFOUND) FIND_PATH(QT_QTCORE_INCLUDE_DIR QtCore

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

2011-07-21 Thread clinton
- Original Message - > Hi Clint and thanks for your advices (sorry about the delayed > answer), > > On Tue, Jul 19, 2011 at 1:33 AM, clin...@elemtech.com > wrote: > > When cross compiling, only some the qmake queries are actually > > used. > > > > Finding the rest just works if subdirs

Re: [CMake] CPack: Bundle Generator and fixup_bundle

2011-07-11 Thread Clinton Stimpson
it creates a dmg from the layout/bundle(s) created by your install() commands, so you will be able to call fixup_bundle(). -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by ww

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

2011-07-11 Thread Clinton Stimpson
> add_subdirectory(touch) > else(QT_QTDECLARATIVE_FOUND) > message(WARNING "Qt installation lacks Qt Declarative - > disabling touch based player") > endif(QT_QTDECLARATIVE_FOUND) > > Best Regards, > Laszlo Papp Can you try this with a

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
the same problems and/or could help me > > Much thanks in advance > > Best 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 Elem

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

2011-07-07 Thread Clinton Stimpson
On Thursday, July 07, 2011 11:02:50 am Laszlo Papp wrote: > Hi Clinton, > > > What is the value of QT_QTDECLARATIVE_LIBRARY ? The > > QT_QTDECLARATIVE_FOUND depends on that value. > > /usr/lib/libQtDeclarative.so > > That file exists in scratchbo

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

2011-07-07 Thread Clinton Stimpson
ld like to find the root cause of the issue. > > Any help is welcome and thank you in advance! What is the value of QT_QTDECLARATIVE_LIBRARY ? The QT_QTDECLARATIVE_FOUND depends on that value. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft

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 anythi

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 u

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

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

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

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 s

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

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

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

2011-06-20 Thread Clinton Stimpson
CTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG QT_DEBUG) SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE QT_NO_DEBUG) SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_DEBUG) SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG) --

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

2011-06-15 Thread Clinton Stimpson
2246) > > Teach file(DOWNLOAD|UPLOAD) to timeout after inactivity > > Xcode: Fix parallel build depends with universal binaries (#11844) > > Fix style errors added by parent and grandparent > > Use cascading-if for per-config test and install code >

Re: [CMake] CPack specify filename

2011-06-01 Thread Clinton Stimpson
_PROJECT_CONFIG_FILE and in that file include per-generator code. -- 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.ki

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

2011-06-01 Thread Clinton Stimpson
-V -C \${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

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

2011-05-23 Thread Clinton Stimpson
Studio > 9.0\Common7\IDE;%PATH% > > Can I set environment variables in CMake? I would 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 [

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-20 Thread Clinton Stimpson
T* handled - directory/file does not exist... > > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:657 (message): > > error: fixup_bundle: not a valid bundle > > Call Stack (most recent call first): > > C:/Repository/Git

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' Th

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-20 Thread Clinton Stimpson
orry for the missing information. > >> I use CMake 2.8.4 and have also Visual Studio 2008 installed. > >> > >> > >> Best Regards > >> > >> Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson" < > >> clin...@elemtech.c

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-19 Thread clinton
And what error messages are you getting? Clint - Original Message - > Sorry for the missing information. > I use CMake 2.8.4 and have also Visual Studio 2008 installed. > > > Best Regards > > Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson

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] How do folks work with rpath on OS X using cmake?

2011-04-11 Thread Clinton Stimpson
CMakeLists.txt file. IF(APPLE) SET(CMAKE_INSTALL_NAME_DIR @executable_path) SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON) ENDIF(APPLE) Or use BundleUtilities script when you create an install. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com

[CMake] multiple targets depending on generated file

2011-04-05 Thread Clinton Stimpson
t because its 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-

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 wrote: > > > 2011/4/1 Crni Gorac : > > >> Am working with seemingly not too complicated CMake s

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

2011-04-01 Thread Clinton Stimpson
tch on the bug tracker. > > Thanks for replies. I'm using CMake 2.8.4, and for this particular > project - it's mostly about PackageMaker and NSIS installers (for Mac > and Windows, respectively). Also, CPack components stuff is really > not usable here, these are two proje

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

2011-04-01 Thread Clinton Stimpson
do so by throwing idea (on the mailing list or tracker) > and/or patch on the bug tracker. I've been doing this with multiple CPack config files. You can either make them by hand or use CPack.cmake multiple times to make those config files for you. Then when you

Re: [CMake] avoid substitution of semicolon

2011-03-15 Thread Clinton Stimpson
d create the correct argument string? > > thanks, tim Have you tried quotes in your message() so it doesn't remove the semi-colons? message("${x}") -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com _

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

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

2011-03-10 Thread Clinton Stimpson
re, that is always a problem ;-) > > So, I would be glad if you could have a look at the toolchain file and > we could improve cross compiling Qt projects with cmake. > Ok, and what was the error you were getting? Is this a problem because you have Qt installed in the same relative lo

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

2011-03-09 Thread Clinton Stimpson
compile patches for FindQt4.cmake and the end result 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-

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] 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 "$ENV{USER

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

2011-02-24 Thread Clinton Stimpson
he find_program() call in FindQt4.cmake has registry keys first, but if you look at the docs for find_program(), all of those paths 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. -- Cli

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,

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 f

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

2011-02-23 Thread Clinton Stimpson
your CMakeLists.txt to use find_package(Qt4 4.5) to have it check the minimum version number for you. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kitware.com Visit other Kitware

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 >

Re: [CMake] FIND_PATH issue in FindQt4.cmake

2011-02-14 Thread Clinton Stimpson
t if I add the NO_CMAKE_SYSTEM_PATH option, then the problem goes away. But, I thought HINTS had a higher 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 St

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 : > > > Hi Eric, > > > > > > Thanks a bunch for your tremendous work ! > > > > You&

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

2011-02-08 Thread Clinton Stimpson
nclude(CPack) $ cpack -G TGZ Why is it a warning if no groups are defined? Is it because one should use groups? However, I can suppress that warning with set(CPACK_COMPONENTS_IGNORE_GROUPS 1) -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft

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 : > > 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 lea

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

2011-02-07 Thread Clinton Stimpson
{myprog} DESTINATION bin) SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIRbin${myprog}\\\"'") -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com ___ Powered by www.kit

[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] 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 &q

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

2011-01-27 Thread Clinton Stimpson
te shared libraries. Is there some other property like 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 Kitwa

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 : >> Hello, >> >> On Fri, 14 Jan 2011 11:06:04 +0100 >> Eric Noulard wrote: >> >>> Clinton Stimpson is the maintainer of the QT4 module >>> http://www.cmake.org/W

<    1   2   3   4   5   6   >