Re: [CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-04 Thread David Cole
Presently, if the generated FOLDER structure is incorrect, our automated testing will not currently catch an error of that sort. Does anybody have a good idea for how to verify the correctness of the generated solution file? Right now it requires manual inspection of the VS GUI to determine whet

Re: [CMake] header files with visual studio

2010-11-04 Thread David Cole
That's funny... Google for "cmake header visual studio" and hit #1 explains it pretty well: http://stackoverflow.com/questions/1167154/listing-header-files-in-visual-studio-c-project-generated-by-cmake So do hits #2 through 10. On Thu, Nov 4, 2010 at 11:58 AM, Oliver kfsone Smith wrote: > Chec

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

2010-11-04 Thread David Cole
interested in seeing fixed for 2.8.4 -- we will be looking at the mailing list and activity in the bug tracker to help prioritize the bug fixes that will occur in the next several weeks. Thanks, David Cole Kitware, Inc. P.S. - as a nice summary of what we've accomplished in the CMake 2.8

Re: [CMake] call already made makefile

2010-11-05 Thread David Cole
On Fri, Nov 5, 2010 at 5:17 AM, Michael Hertling wrote: > On 11/05/2010 05:23 AM, SK wrote: > > On Thu, Nov 4, 2010 at 6:09 PM, Alan W. Irwin > wrote: > >> then the custom make command > >> should always be run (since it has no DEPENDS option), > > > > Alan, you are absolutely right!! I missed t

Re: [CMake] Using gcov/lcov and valgrind with cmake

2010-11-05 Thread David Cole
Bill means your CMakeCache.txt file, not your CMakeLists.txt file. (Pretty sure...) :-) On Fri, Nov 5, 2010 at 8:30 AM, Bill Lorensen wrote: > Try adding these (with proper paths) to your CMakeLists.txt file: > CMAKE_BUILD_TYPE:STRING=Debug > COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov > CMAKE_C_FLA

Re: [CMake] call already made makefile

2010-11-05 Thread David Cole
On Fri, Nov 5, 2010 at 2:00 PM, SK wrote: > On Thu, Nov 4, 2010 at 9:23 PM, SK wrote: >> On Thu, Nov 4, 2010 at 6:09 PM, Alan W. Irwin >> wrote: >>> then the custom make command >>> should always be run (since it has no DEPENDS option), >> >> Alan, you are absolutely right!! > > No, sorry.  Onl

Re: [CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-10 Thread David Cole
y custom target to see if it was an include_external_msproject bug... Thanks for the report, David On Thu, Nov 4, 2010 at 6:10 AM, David Cole wrote: > On Thu, Nov 4, 2010 at 5:36 AM, Jens Auer wrote: >> Hi, >> >> I just downloaded the new cmake 2.8.3 release and found a

[CMake] Who needs daylight savings time, anyway?

2010-11-10 Thread David Cole
Blog post I pushed today that might help you with your "Nightly Start Time" around this time of year -- if you find yourself adjusting things every six months to account for daylight savings time, please stop the madness. :-) http://www.kitware.com/blog/home/post/77 Express your project's nightly

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

2010-11-10 Thread David Cole
On Fri, Nov 5, 2010 at 6:29 AM, Adam J Richardson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi David, > >> Replies requested. > > CMake is already pretty awesome from my POV, but since you ask... > >> Replies on this thread should just be a collector for bug numbers. > > Afraid

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

2010-11-10 Thread David Cole
umber. If you still have an issue, open a bug and reply here with its number or start a new thread!! Thank you, David Cole Kitware, Inc. On Fri, Nov 5, 2010 at 10:48 AM, Rolf Eike Beer wrote: > Am Donnerstag, 4. November 2010 schrieb David Cole: >> Hi all, >> >> Now

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

2010-11-10 Thread David Cole
should be kept alive for a future release still. Cheers, David On Wed, Nov 10, 2010 at 1:30 PM, David Cole wrote: > Thanks to all of you who have participated in this thread so far... > > You have helped to create the initial roadmap for CMake 2.8.4: > http://www.cmake.org/Bug/roadm

Re: [CMake] Support for MacRuby?

2010-11-10 Thread David Cole
Looks like FindRuby.cmake is unclaimed in terms of a CMake module maintainer (according to this page: http://www.cmake.org/Wiki/CMake:Module_Maintainers ) -- but it looks like Alex has done the majority of maintenance on it in the last 2 years or so. What do you think, Alex? Thx, David C. On W

[CMake] discussion about bug 8165

2010-11-12 Thread David Cole
The thread you replied is meant for bug number listing only. I've started a new thread to continue this discussion. It should really be recorded in the bug notes since it's specific to that bug... http://public.kitware.com/Bug/view.php?id=8165 On Fri, Nov 12, 2010 at 3:24 AM, David Hunter wrote:

Re: [CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-15 Thread David Cole
On Sun, Nov 14, 2010 at 3:11 AM, Andreas Mohr wrote: > On Thu, Nov 04, 2010 at 09:28:57AM -0400, cmake-requ...@cmake.org wrote: >> Message: 1 >> Date: Thu, 4 Nov 2010 06:10:24 -0400 >> From: David Cole >> Subject: Re: [CMake] Solution folder property does not work for

Re: [CMake] "the input line is too long" error after upgrading from 2.8.2 to 2.8.3

2010-11-15 Thread David Cole
On Mon, Nov 15, 2010 at 1:48 PM, Bill Hoffman wrote: > On 11/15/2010 1:36 PM, Dieter Oberkofler wrote: >> >> I'm having a hard time to understand why after upgrading from CMake 2.8.2 >> to >> 2.8.3 I get "the input line is too long" when running nmake. >> The problem must be related to the upgrade

Re: [CMake] "the input line is too long" error after upgrading from 2.8.2 to 2.8.3

2010-11-15 Thread David Cole
On Mon, Nov 15, 2010 at 5:54 PM, David Cole wrote: > On Mon, Nov 15, 2010 at 1:48 PM, Bill Hoffman > wrote: >> On 11/15/2010 1:36 PM, Dieter Oberkofler wrote: >>> >>> I'm having a hard time to understand why after upgrading from CMake 2.8.2 >>> to

Re: [CMake] Compiling header files

2010-11-16 Thread David Cole
If you have "unresolved external" errors, then you are (most likely) missing a target_link_libraries call -- find out what library those symbols are built into, and link to that library. On Tue, Nov 16, 2010 at 2:03 PM, David Doria wrote: > I am trying to use ADD_LIBRARY to create a .lib file fr

Re: [CMake] BundleUtilities

2010-11-16 Thread David Cole
On Tue, Nov 16, 2010 at 2:06 PM, David Doria wrote: > On Tue, Nov 16, 2010 at 1:35 PM, Michael Jackson > wrote: >> 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

Re: [CMake] BundleUtilities

2010-11-17 Thread David Cole
On Tue, Nov 16, 2010 at 10:15 PM, David Doria wrote: > Is the goal simply to copy > ...VTK/bin/libvtkHybrid.a > into the package? > > I tried this: > INSTALL(CODE "\${VTK_DIR}/bin/libvtkHybrid.a") > > But I get: > > Parse error.  Expected a command name, got unquoted argument with text > "${VTK_DI

Re: [CMake] Run compiler through another tool?

2010-11-17 Thread David Cole
On Wed, Nov 17, 2010 at 5:50 AM, Micha Renner wrote: > Am Mittwoch, den 17.11.2010, 15:07 +0530 schrieb Hariharan: >> Is it possible to run the compiler and linker through another command, >> say "time" or a custom script? In other words, I want the compile and >> link steps to run " gcc" and " ld

Re: [CMake] VS solution folder puts first project last

2010-11-17 Thread David Cole
On Wed, Nov 17, 2010 at 1:25 PM, James Bigler wrote: > On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer wrote: >> >> Am Mittwoch, 17. November 2010 schrieb James Bigler: >> > Has anyone else noticed situations where VS puts the first project (as >> > determined alphabetically) in a project folder

Re: [CMake] BundleUtilities

2010-11-17 Thread David Cole
On Wed, Nov 17, 2010 at 11:46 AM, David Doria wrote: > On Wed, Nov 17, 2010 at 9:32 AM, Michael Jackson > wrote: >> I tool a little different approach in my own projects. I end up >> "configuring" a shell script that gets run at install time (OS X Only). >> Inside that shell script are all the co

Re: [CMake] BundleUtilities

2010-11-17 Thread David Cole
Responses inline on this one... On Wed, Nov 17, 2010 at 1:56 PM, David Doria wrote: > The goal is simply this: >> >> - given: >> -- an executable target, that happens to be a bundle app on the Mac >> -- a full path to that bundle in the install tree >> -- a list of plugins that you have also

Re: [CMake] Problems with parallel builds

2010-11-18 Thread David Cole
On Thu, Nov 18, 2010 at 8:34 AM, Denis Scherbakov wrote: > Hi! > > What I mean is: > > PROJECT(MYPROJECT) > > ADD_CUSTOM_COMMAND( OUTPUT "${PROJECT_BINARY_DIR}/MyFile.hh" COMMAND > ${CMAKE_COMMAND} -P MyScript.cmake) > > SET_SOURCE_FILE_PROPERTIES("${PROJECT_BINARY_DIR}/MyFile.hh" PROPERTIES > G

Re: [CMake] Problems with parallel builds

2010-11-18 Thread David Cole
when I do "gmake -j2" > I see two "Generating MyFile.hh" lines and MyFile.hh has duplicate lines. > > Denis > >> David Cole wrote: >> >> The easiest way to make this work is to have a separate >>

Re: [CMake] Problems with parallel builds

2010-11-18 Thread David Cole
** No rule to make target `targetFileOne', needed by > `CMakeFiles/targetFileOneS'.  Stop. > gmake[1]: *** [CMakeFiles/targetFileOneS.dir/all] Error 2 > gmake: *** [all] Error 2 > > So I am back to my problem that I cannot compile my project in parallel. > The question is

Re: [CMake] test property COST not working in cmake 2.8.3?

2010-11-23 Thread David Cole
It might be due to this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=142edf8ad4baccd991a6a8a3e5283d0b575acca2 (first released in 2.8.3) Or this one: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3 (first released in 2.8.2) Either way, seem

Re: [CMake] providing library information, what's the cmake way

2010-11-24 Thread David Cole
On Wed, Nov 24, 2010 at 6:57 AM, Rolf Eike Beer wrote: >> In KDE we have a macro MACRO_WRITE_BASIC_CMAKE_VERSION_FILE() which helps >> with >> creating a basic version-info file which should be installed along with >> the >> Config-file. >> It consists of MacroWriteBasicCMakeVersionFile.cmake and

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
The example that demonstrates how to use BundleUtilities contains a Qt app. See the CMakeLists file in that project for clues about how to structure a Qt application. See also CMake itself, in the CMake/Source/QtDialog. And ParaView, too -- it's a Qt app. Start with the example, though, it's much

Re: [CMake] providing library information, what's the cmake way

2010-11-24 Thread David Cole
On Wed, Nov 24, 2010 at 11:34 AM, Rolf Eike Beer wrote: >> On Wed, Nov 24, 2010 at 6:57 AM, Rolf Eike Beer wrote: In KDE we have a macro MACRO_WRITE_BASIC_CMAKE_VERSION_FILE() which helps with creating a basic version-info file which should be installed along with the >>>

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
The BundleUtilities example may be found here, by the way: http://www.cmake.org/Wiki/BundleUtilitiesExample (Sorry for forgetting the link on the original reply...) On Wed, Nov 24, 2010 at 11:33 AM, David Cole wrote: > The example that demonstrates how to use BundleUtilities contains a

Re: [CMake] cmake qt4 for dummies

2010-11-24 Thread David Cole
On Wed, Nov 24, 2010 at 1:09 PM, luxInteg wrote: > On Wednesday 24 November 2010 16:33:24 David Cole wrote: >> The example that demonstrates how to use BundleUtilities contains a Qt >> app. See the CMakeLists file in that project for clues about how to >> structure a Qt a

Re: [CMake] providing library information, what's the cmake way

2010-11-24 Thread David Cole
On Wed, Nov 24, 2010 at 12:58 PM, Tyler Roscoe wrote: > On Wed, Nov 24, 2010 at 11:41:46AM -0500, David Cole wrote: >> On Wed, Nov 24, 2010 at 11:34 AM, Rolf Eike Beer wrote: >> > So I think it is _really_ necessary to go through all the CMake >> > documentation item

[CMake] New blog post: Constraining Values with ComboBoxes in CMake (cmake-gui)

2010-11-29 Thread David Cole
Read all about it: http://www.kitware.com/blog/home/post/82 Cheers, David Cole Kitware, Inc. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] Pass PATH to ExternalProject_Add

2010-11-30 Thread David Cole
Write a wrapper script for your configure command, set the ENV var inside the wrapper script before calling configure. That's the best way to do it with as-is CMake. On Tuesday, November 30, 2010, Joke de Buhr wrote: > Hi, > > I added some ExternalProject_Add directives to my project. Each of t

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-11-30 Thread David Cole
It probably works "accidentally" if you do the set before the project command. Unfortunately, the project command has significant side effects. Setting a default (cached) value for CMAKE_INSTALL_PREFIX might be one of those... On Tuesday, November 30, 2010, Tyler Roscoe wrote: > On Thu, Nov 25,

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-11-30 Thread David Cole
particular idiosyncrasy? On Tuesday, November 30, 2010, S Roderick wrote: > On Nov 30, 2010, at 13:40 , David Cole wrote: > >> It probably works "accidentally" if you do the set before the project >> command. > > That is what we do, and it definitely works for

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread David Cole
On Thu, Dec 2, 2010 at 5:40 AM, Michael Hertling wrote: > On 12/01/2010 06:03 PM, Raymond Wan wrote: > > Hi Michael, > > > > > > On Thu, Dec 2, 2010 at 01:03, Michael Hertling > wrote: > >> On 12/01/2010 08:18 AM, Raymond Wan wrote: > >>> Hi all, > >>> > >>> I'm having a problem understanding how

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread David Cole
If it works without CMake, but not with CMake, then ... clearly there's a difference between your hand-crafted Xcode project file and the CMake generated one. What is that difference? Did you do any diff-ing to find out? Please send a link to your whole project tree, including the hand-crafted Xco

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread David Cole
I don't really have time or funding to investigate this further in the short term. (And I can't get the attachments you sent, perhaps you could post them somewhere public, rather than trying to attach them in email?) Is there anybody else on this list doing iPhone/iPad stuff with CMake that can ch

Re: [CMake] Problem setting ENVIRONMENT for ctest

2010-12-03 Thread David Cole
What version of cmake/ctest are you using? (i.e. -- send the output of "cmake --version") What does CTestTestfile.cmake contain if you change your CMakeLists file to use set_property(TEST ...) instead of set_tests_properties()? This should work as expected in CMake. We have a test in the test sui

Re: [CMake] Problem setting ENVIRONMENT for ctest

2010-12-03 Thread David Cole
c 3, 2010 at 3:49 PM, Johannes Wienke wrote: > Hey, > > thanks for the quick reply. > > Am 03.12.2010 19:12 schrieb David Cole: >> What version of cmake/ctest are you using? >> (i.e. -- send the output of "cmake --version") > > On the windows machine (32

Re: [CMake] Wiki: version compatibility matrix

2010-12-06 Thread David Cole
? Can you describe how much effort this took on your part? (Number of hours esimate?) Can you contribute your helper scripts to the CMake code base itself? (Somewhere under CMake/Utilities perhaps...) Thanks, David Cole Kitware, Inc. On Mon, Dec 6, 2010 at 12:27 AM, Philip Lowman wrote: > Wow.  

Re: [CMake] CPACK on windows

2010-12-06 Thread David Cole
On Mon, Dec 6, 2010 at 3:37 AM, Otmane Lahlou wrote: > Hi, > > I've got no answer for this, > > Can someone tell me whether doing this with CMake is possible. > Yes, it is possible. I do not have time to go into details and tell you exactly how to do it, but if the built-in functionality provided

[CMake] BundleUtilities change to address change in behavior

2010-12-06 Thread David Cole
rror to try to fixup something that is not already inside the bundle. (Arguably we should have had this error checking all along because it is, in fact, an error to attempt to fixup some library that is not inside the bundle...) Let me know if you have thoughts positive or negative on this. T

Re: [CMake] CPack WiX(.msi) Patch

2010-12-07 Thread David Cole
See my comments in the bug report. Thanks, David On Tue, Dec 7, 2010 at 9:00 AM, Tim St. Clair wrote: > Folks - > >    I've opened a ticket > http://public.kitware.com/Bug/view.php?id=11575 to include my WiX > patch I made a while back, and updated to target 2.8.3 src.  Please > update said tic

Re: [CMake] Need some directions for non-trivial setup

2010-12-08 Thread David Cole
Every "project(...)" command in a CMakeLists.txt file (we expect at most one in any given CMakeLists.txt file) results in a *.sln file being generated for use with Visual Studio. Every add_library(...), add_executable(...) and add_custom_target(...) results in a *.vcproj or *.vcxproj file being ge

Re: [CMake] Platform differences for ExternalProject_add URL

2010-12-09 Thread David Cole
On Wed, Dec 8, 2010 at 5:17 PM, KC Jones wrote: > [resending since the original seems to have never made it to the list.] > > I'm using ExternalProject_add in a script that builds various libraries I > depend on, and I'm running into platform differences when attempting to > download a source ar

Re: [CMake] Simultaneous --build-and-test and CDash submission

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 4:13 AM, Wojciech Migda wrote: > Hi, > > I have unit tests configured for CDash submissions. Submissions do work if I > issue in sequence TWO commands which go pretty much like this: > > # configure the build system > ${CMAKE_ROOT}${CMAKE_BINDIR}/cmake . > # build tests > m

Re: [CMake] Simultaneous --build-and-test and CDash submission

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 10:44 AM, Wojciech Migda wrote: > > Użytkownik  napisał(a): >> From: >> Subject: Re: [CMake] Simultaneous --build-and-test and CDash submission >> To: "Wojciech Migda" ; >> >> On Thu, Dec 9, 2010 at 4:13 AM, Wojciech Migda  wrote: >> > Hi, >> > >> > I have unit tests configu

Re: [CMake] Platform differences for ExternalProject_add URL

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 1:43 PM, KC Jones wrote: > On Dec 9, 2010, at 3:18 AM, David Cole wrote: >> What version of cmake are you using? > > I'm running 2.8.2 on Mac and 2.8.0 on Linux.  So I downloaded / built / > installed the latest 2.8.3 source on Linux. > > N

[CMake] CMake 2.8.4 release scheduled for next month

2010-12-09 Thread David Cole
(copying a CMake developers email to the users list, just as an FYI to all the CMake users out here...) The CMake developers held a "bug triage" meeting yesterday, and here are some notes about it: We are still planning to start the release candidate cycle for CMake 2.8.4 on Wed. Jan. 12, 2011. B

Re: [CMake] CMake 2.8.4 release scheduled for next month

2010-12-09 Thread David Cole
er we set its "Target Version" to 2.8.4. Thanks, David > On Thu, Dec 09, 2010 at 03:37:16PM -0500, David Cole wrote: >> We are still planning to start the release candidate cycle for CMake >> 2.8.4 on Wed. Jan. 12, 2011. Because of that, all changes to be >> consid

Re: [CMake] CMake 2.8.4 release scheduled for next month

2010-12-09 Thread David Cole
>> http://www.vtk.org/Bug/view.php?id=11561 >> >> Thanks, >> tyler >> >> On Thu, Dec 09, 2010 at 03:37:16PM -0500, David Cole wrote: >>> We are still planning to start the release candidate cycle for CMake >>> 2.8.4 on Wed. Jan. 12, 2011. Beca

Re: [CMake] CMake 2.8.4 release scheduled for next month

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 4:24 PM, Tyler Roscoe wrote: > On Thu, Dec 09, 2010 at 04:09:49PM -0500, David Cole wrote: >> No: we were ready to start collecting candidate bugs a month and a >> half ago. That list is now what you see on the roadmap page: >>  http://p

[CMake] CMake bug tracker discussion

2010-12-09 Thread David Cole
by saying that, personally, I like the bug tracker. I find it much easier to keep a list of issues organized and accessible than I can with email filters and folders. But I still see a need for both tools. What do you say? David Cole Kitware, Inc. ___

Re: [CMake] CMake bug tracker discussion

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 7:09 PM, Alan W. Irwin wrote: > On 2010-12-09 17:06-0500 David Cole wrote: > >> Hello CMake users and devs, >> >> (And now for something completely different...) >> >> Controversial questions: >> >> - Should we el

Re: [CMake] [cmake-developers] CMake bug tracker discussion

2010-12-09 Thread David Cole
On Thu, Dec 9, 2010 at 7:19 PM, Eric Noulard wrote: > 2010/12/9 David Cole : >> Hello CMake users and devs, >> >> (And now for something completely different...) >> >> Controversial questions: >> >> - Should we eliminate the bug tracker entirely and

Re: [CMake] Simultaneous --build-and-test and CDash submission

2010-12-10 Thread David Cole
On Fri, Dec 10, 2010 at 10:42 AM, Wojciech Migda wrote: >> >> You can do it all in one step with ctest, but you have to write a >> ctest -S script, and call that... Inside it, you can do a "configure >> from scratch" using the ctest_configure(...) command. Then you'll see >> all the configure outp

Re: [CMake] CMake 2.8.4 release scheduled for next month

2010-12-10 Thread David Cole
On Thu, Dec 9, 2010 at 3:57 PM, Tyler Roscoe wrote: > So are you ready to start collecting candidate bugs for 2.8.4? I > nominate this one! > > http://www.vtk.org/Bug/view.php?id=11561 > > Thanks, > tyler > > On Thu, Dec 09, 2010 at 03:37:16PM -0500, David Cole wrote:

Re: [CMake] Visual Studio project layout

2010-12-14 Thread David Cole
Actually, it's just "FOLDER". http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:FOLDER Set the target property FOLDER on the targets that you want to put in folders. Then activate it by setting the global property USE_FOLDERS to ON. http://cmake.org/cmake/help/cmake-2-8-docs.html#pro

Re: [CMake] A comment on bug resolution

2010-12-15 Thread David Cole
ed By:                Luis Kornblueh >> Assigned To:                David Cole >> == >> Project:                    CMake >> Issue ID:                   10326 >> =

Re: [CMake] A comment on bug resolution

2010-12-15 Thread David Cole
On Wed, Dec 15, 2010 at 9:30 AM, David Cole wrote: > On Wed, Dec 15, 2010 at 9:04 AM, Richard Wackerbarth > wrote: >> The following is excerpted from a message that I received this morning. >> >> I think that it indicates a direction in the CMake philosophy which concer

Re: [CMake] possible bug VS2010 generation project

2010-12-16 Thread David Cole
This has already been entered in the bug tracker as: http://public.kitware.com/Bug/view.php?id=11404 and http://public.kitware.com/Bug/view.php?id=10652 I will link the bug tracker entry for 11404 to this email thread on the mailing list archive. Thanks, David On Thu, Dec 16, 2010 at 7:18 AM, A

Re: [CMake] possible bug VS2010 generation project

2010-12-16 Thread David Cole
d On Thu, Dec 16, 2010 at 8:22 AM, Andrea Galeazzi wrote: > Ok, I'll wait for 2.8.4 version. Do you have any idea about when it's gonna > be released? > Thanks > > David Cole ha scritto: > > This has already been entered in the bug tracker as: > http://public.

Re: [CMake] possible bug VS2010 generation project

2010-12-16 Thread David Cole
I updated the Severity field to "major" On Thu, Dec 16, 2010 at 8:43 AM, Andrea Galeazzi wrote: > According to this new issue, could I also suggest to increase the Severity > of the bug? > David Cole ha scritto: > > This has already been entered in t

Re: [CMake] Ensuring spaces in CFLAGS reach Visual Studio project files

2010-12-17 Thread David Cole
Have you tried add_definitions for -D flags? I'm not sure what's required for getting spaces-in-the-value across, but I think it's possible. Maybe somebody who's done it more recently than me can speak up here? Alternatively, consider using a configured header file that gets included in the plac

Re: [CMake] How to detect whether CMake scripts are executing under / within CPack environment?

2010-12-20 Thread David Cole
On Sun, Dec 19, 2010 at 3:50 PM, Mike McQuaid wrote: > On 16 December 2010 08:34, Andreas Mohr wrote: > > I'd like to know how to possibly detect this within CMake code. > > This works for me: > INSTALL( CODE " > IF( \${CMAKE_INSTALL_PREFIX} MATCHES .*/_CPack_Packages/.* ) > > ENDIF( \${CMA

Re: [CMake] How to detect whether CMake scripts are executing under / within CPack environment?

2010-12-20 Thread David Cole
On Mon, Dec 20, 2010 at 7:51 AM, Mike McQuaid wrote: > On 20 December 2010 12:34, David Cole wrote: > > On Sun, Dec 19, 2010 at 3:50 PM, Mike McQuaid > wrote: > > When you find yourself in the "must escape too much" situation in an > > INSTALL(CODE scenario...

Re: [CMake] copy_resolved_item_into_bundle doesn't copy when I want it to

2010-12-21 Thread David Cole
copy_resolved_item_into_bundle only skips the copy if the file to be copied and the destination file refer to exactly the same file. In that sense, it already is a copy_if_different. On the Mac, after a bundle is created and fixed up for the first time, all the references from one library to anoth

Re: [CMake] Possible 'brief' output options for UnixMakefileGenerator

2010-12-21 Thread David Cole
One more alternative worth considering here that is cross-platform and doesn't require a wrapper script. (Not sure if it quiets things down enough for you or not, but the latest change to this feature will quiet things a little bit more starting with the upcoming CMake 2.8.4.) See the RULE_MESSAGE

Re: [CMake] copy_resolved_item_into_bundle doesn't copy when I want it to

2010-12-21 Thread David Cole
runs before all other install commands? > > Thanks, > Ben > > On Tue, Dec 21, 2010 at 4:04 AM, David Cole > wrote: > > copy_resolved_item_into_bundle only skips the copy if the file to be > copied > > and the destination file refer to exactly the same file.

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

2010-12-21 Thread David Cole
info/cmake > Proposed patches are always welcome. :-) I do not have time to add a whole other dependency analysis tool into GetPrerequisites any time in the near future, but if somebody else does, I'd be happy to review it. And I'm not

Re: [CMake] Make-ing specific target in a SWIG module

2010-12-22 Thread David Cole
If you make "TriUtilsPYTHON_wrap.o" it should generate the .cpp file first, and then compile it... On Wed, Dec 22, 2010 at 11:25 AM, Bill Spotz wrote: > On Dec 22, 2010, at 7:51 AM, Bill Hoffman wrote: > > > Does this work: > > cd BUILD/packages/PyTrilinos > > make TriUtilsPYTHON_wrap.cpp > > N

Re: [CMake] problem with mac linker flags

2010-12-22 Thread David Cole
There were recent bug fixes pushed to CMake 'next' (and I believe now to 'master' as well) to address the "headerpad_max_install_names" portion of this discussion. It should be passed with "-Wl," now so that it passes through to the linker on the Mac. This particular error should go away if you us

Re: [CMake] problem with mac linker flags

2010-12-22 Thread David Cole
I take that back. Wait till tomorrow to follow this advice. :-) Looks like Brad just pushed one more fix related to this issue to 'next' this afternoon. On Wed, Dec 22, 2010 at 5:57 PM, David Cole wrote: > There were recent bug fixes pushed to CMake 'next' (and I b

Re: [CMake] CPack 101

2010-12-23 Thread David Cole
to break this down for me... > > Thanks for your indulgence. I hope this does not offend those who've put > so much into this great tool. > Thanks for your comments and questions. May we quote you on that? ("cmake is elegant in the extreme ... great tool") We (I hope I spe

Re: [CMake] CPack 101

2010-12-23 Thread David Cole
On Thu, Dec 23, 2010 at 7:58 AM, Mike McQuaid wrote: > On 23 December 2010 12:43, David Cole wrote: > > Neither do we: > > http://public.kitware.com/Bug/view.php?id=10067 > > > As always, as developers we find ourselves constantly working to improve > > what we h

Re: [CMake] CPack 101

2010-12-23 Thread David Cole
On Thu, Dec 23, 2010 at 8:23 AM, Johan Björk wrote: > > > On Thu, Dec 23, 2010 at 1:43 PM, David Cole wrote: > >> On Wed, Dec 22, 2010 at 12:57 PM, KC Jones wrote: >> >>> Feeling really uneasy about putting this out there, but here goes... >>> >&

Re: [CMake] CPack 101

2010-12-23 Thread David Cole
On Thu, Dec 23, 2010 at 3:59 PM, KC Jones wrote: > > Thanks for your comments and questions. May we quote you on that? ("cmake > is elegant in the extreme ... great tool") > > Of course. Since all the code I work with is published on multiple OSes, > cmake is a godsend. I'm actively working on

Re: [CMake] ctest_submit() error

2010-12-27 Thread David Cole
On Mon, Dec 27, 2010 at 8:39 AM, girish hilage wrote: > Hi, > > I am a newbie to cmake and cdash. > I am trying to submit my customized report to CDASH using > ctest_submit(FILES ) but getting following errors. > > - if I give it in CTestConfig.cmake and give "cmake ." then I am getting > below er

Re: [CMake] ctest_submit() error

2010-12-28 Thread David Cole
instead of ctest_submit(), it gives me error : > > CMake Error at script.cmake:37 (ctest_submit): > ctest_submit called with incorrect number of arguments. Extra > argument is: > FILES. > >How can I submit under "Nightly" section on CDA

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread David Cole
What's the context of your question? When processing a CMakeLists file, on Linux, the typical value is "lib". There could be any number of reasons why it would be blank for you: - you're running a cmake -P script, not processing a CMakeLists file - some file in your project has overridden the val

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread David Cole
CMAKE_SHARED_LIBRARY_PREFIX only has one "F" (i.e., it's not "CMAKE_SHARED_LIBRARY_PREFFIX") On Tue, Dec 28, 2010 at 8:28 AM, Micha Renner wrote: > Am Dienstag, den 28.12.2010, 07:46 -0500 schrieb David Cole: > > What's the context of your question? &

Re: [CMake] complete rebuild

2010-12-29 Thread David Cole
For Visual Studio generators, CMake does *NO* depedency analysis. It generates solution and project files such that Visual Studio can do all the dependency analysis and decide what to re-build when files change. My advice to you would be: - use only CMake 2.8.3 or newer (a nightly development buil

Re: [CMake] Modules with additional files

2010-12-29 Thread David Cole
On Wed, Dec 29, 2010 at 2:27 PM, Johannes Wienke wrote: > Hey again, > > Am 29.12.2010 20:23 schrieb Johannes Wienke: >> Am 29.12.2010 19:53 schrieb Michael Jackson: >>> I don't understand what you mean by a "module". If you are in a >>> CMakeLists.txt or *.cmake file that is being parsed by CMak

Re: [CMake] complete rebuild

2010-12-30 Thread David Cole
5. msbuild DepBug.sln > 6. msbuild DepBug.sln << Builds everything again from scratch. > > /A > On Wed, Dec 29, 2010 at 1:26 PM, Anders Backman wrote: >> >> Ok, Im already using the nightly build (from Tuesday I believe), as I >> discovered a bug in CMake yesterda

Re: [CMake] complete rebuild

2010-12-30 Thread David Cole
5. msbuild DepBug.sln > 6. msbuild DepBug.sln << Builds everything again from scratch. > > /A > On Wed, Dec 29, 2010 at 1:26 PM, Anders Backman wrote: >> >> Ok, Im already using the nightly build (from Tuesday I believe), as I >> discovered a bug in CMake yesterda

Re: [CMake] complete rebuild

2010-12-30 Thread David Cole
around > noon (11:54). > Which means either you have to wait until after 11:54 or you have to touch > the files... > I can certainly touch and make a double check... > Ok. touched all files, ran cmake . and then: > cmake --build . --config Release > Everything is built for ea

Re: [CMake] Disabling exceptions and rtti on VS

2010-12-31 Thread David Cole
Don't use add_definitions for stuff that aren't "definitions" -- add_definitions should only be used for -D flags to the compiler. It is a long-standing accidental side effect that you can pass compiler flags through there, but you shouldn't. Instead, as John already pointed out in his reply, you s

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

2010-12-31 Thread David Cole
Another alternative is to put your command line executables into the bundle on the Mac, and then they'll be fixed up, too. One caveat is that the directory nesting level of the executables should all be the same within the bundle so that "@exectuable_path/.." style references work from each fixed u

Re: [CMake] how to submit customized test report

2011-01-03 Thread David Cole
What is the contents of ""? CDash only parses/recognizes the formats that ctest sends it. Is your file a replacement for "Test.xml"? Or do you mean to send additional data beyond what is found in Test.xml? Have you looked at the examples and schema found here? http://public.kitware.com/Wiki/CDash

Re: [CMake] VS2010 solution/project reload

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 6:58 AM, Andrea Galeazzi wrote: > I'm currently dealing with a project requiring a lot of dependencies (74), > so the structure of the CMakeLists.txt is as following: > project ( Main ) >  add_subdirectory("W:/Lib1"  "${CMAKE_CURRENT_BINARY_DIR}/Lib1") >  add_subdirectory("W

Re: [CMake] How to find the path to the currently include() or find_package file()

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 2:00 AM, Michael Hertling wrote: > On 01/04/2011 07:41 AM, Michael Hertling wrote: >> On 01/04/2011 05:47 AM, John McGehee wrote: >>> I am using CMake 2.8 on Linux and Windows. >>> >>> When I include() or find_package() a .cmake file, is there a variable that >>> I can use

Re: [CMake] VS2010 solution/project reload

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 7:51 AM, Rolf Eike Beer wrote: >> On Tue, Jan 4, 2011 at 6:58 AM, Andrea Galeazzi wrote: >>> I'm currently dealing with a project requiring a lot of dependencies >>> (74), >>> so the structure of the CMakeLists.txt is as following: >>> project ( Main ) >>>  add_subdirectory

Re: [CMake] Chasing up: XCode 3.2.4 and CMake 2.8.2, setting GCC version to 4.0

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 9:59 AM, John Clayton wrote: > I have a solution for the problem of creating XCode 3.2.x project on a 10.6 > machine that are to target the 10.4u SDK. > > Here's what I did (thanks to the OGRE and Open Scene Graph projects - which > exposed me to this solution). > > WARNING

Re: [CMake] Delivery target

2011-01-05 Thread David Cole
You can't depend on "package", but you can do this as your custom target's command: cmake --build . --target package --config Release scp ... HTH, David On Wed, Jan 5, 2011 at 5:44 AM, Reinhard Thies wrote: > Hi, > > i like to create a custom target "delivery" which depends on package and

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

2011-01-05 Thread David Cole
This should have been fixed with the switch to using BundleUtilities for CMake's bundle. The 2.8.3 BundleUtilities should copy in the Resources necessary for this to work. So I think that was done (switch to using built in BU) just *after* 2.8.3. Unless there's still a missing qt.conf file

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

2011-01-05 Thread David Cole
If it works with a nightly tarball, or from git master, then it will work with 2.8.4... On Wed, Jan 5, 2011 at 12:12 PM, Michael Jackson wrote: > Sure. And _that_ does work. Just curious how that bug fell through versions > 2.8.0, 2.8.1, 2.8.2, 2.8.3? I guess there isn't a test for actually ver

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

2011-01-05 Thread David Cole
aunches which is > why this was missed in all the automated testing. > ___ > Mike Jackson                      www.bluequartz.net > Principal Software Engineer       mike.jack...@bluequartz.net > BlueQuartz Software               Dayton, Ohio

<    1   2   3   4   5   6   7   8   9   10   >