Re: [CMake] Anyone gotten OpenSSL to build as an external project?

2011-01-14 Thread David Cole
On Fri, Jan 14, 2011 at 3:43 PM, Pau Garcia i Quiles pgqui...@elpauer.orgwrote: Hi, I'm trying to get this working on Windows using a self-contained build environment that does NOT have Perl in path. It's a .bat file which downloads CMake and Perl and then fires a CMakeLists.txt with the

Re: [CMake] problem getting defines quoted properly

2011-01-14 Thread David Cole
On Fri, Jan 14, 2011 at 4:35 PM, SF Markus Elfring elfr...@users.sourceforge.net wrote: The VS6 IDE does not support definition values with spaces... By the way: How do you think about the bug report rc.exe error in 2.8.4-rc1 if ADD_DEFINITITIONS contains definition with space by Vladislav

Re: [CMake] Anyone gotten OpenSSL to build as an external project?

2011-01-14 Thread David Cole
On Fri, Jan 14, 2011 at 4:41 PM, Pau Garcia i Quiles pgqui...@elpauer.orgwrote: On Fri, Jan 14, 2011 at 9:52 PM, David Cole david.c...@kitware.com wrote: - Add a PATH parameter to ExternalProject_Add, ExternalProject_Add_Step and execute_process. It should override the default path

Re: [CMake] Customize dependencies scanned by CMake

2011-01-17 Thread David Cole
See this command: http://cmake.org/cmake/help/cmake-2-8-docs.html#command:include_regular_expression If you can match many of the header files that rarely, if ever, change with a regular expression based on directory and file name patterns, then you can reduce the number of entries in the

Re: [CMake] How to assign version numbers from a source header to CMake variables?

2011-01-17 Thread David Cole
thousands) of people read the CMake mailing list regularly. If there is a specific problem with CMake's actual functionality, then it belongs in the bug tracker as an issue. Thanks for your help to make CMake better, David Cole Kitware, Inc. On Mon, Jan 17, 2011 at 11:30 AM, SF Markus Elfring

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
will very likely tell us if things have gone awry. Thanks for your effort on this, David Cole Kitware, Inc. -Nick ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] targetname_BINARY_DIR?

2011-01-18 Thread David Cole
There is nothing like that... Unless the target has had its directory property *set* before you make the get_property call. Why do you need this? What's your use case where the name of a target is known, but the name of its containing project is unknown (presumably)...? On Mon, Jan 17, 2011 at

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
Clarification: I was referring to intermediate build product files, not final libraries and executables. For the most part, nobody should care where their intermediate files are as long as everything works. Sorry for the mis-communication. On Tue, Jan 18, 2011 at 8:30 AM, Bill Hoffman

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
From cmake 2.8.4-rc1 --help output (on a Windows machine) : Generators The following generators are available on this platform: ... NMake Makefiles = Generates NMake makefiles. NMake Makefiles JOM = Generates JOM makefiles. Unix Makefiles =

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
Your confusion is that you are looking for a 2010 -- there isn't one -- there is Visual Studio 10 On Tue, Jan 18, 2011 at 11:14 AM, John Drescher dresche...@gmail.comwrote: I mean the option -G to specify the target build system. In my cmake 2.8.3 there is only MSVC 2008. Or d oyou refer

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
Maybe / maybe not. We're re-working it now... On Tue, Jan 18, 2011 at 11:53 AM, Andrea Galeazzi galea...@korg.it wrote: What about http://public.kitware.com/Bug/view.php?id=11258 ? Do you think it'll be fixed in 2.8.4 final release? Cheers David Cole ha scritto: Your confusion

Re: [CMake] ctest crashes with HTTPS drop method

2011-01-18 Thread David Cole
Did you build ctest yourself, or are you using Kitware's pre-built binaries? The Kitware pre-built binaries do not have OpenSSL linked in. Therefore, you cannot submit via https with the pre-built binaries. If you built it yourself, you need to make sure the CMAKE_USE_OPENSSL option is ON. It's

Re: [CMake] MSVC 2010

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 1:02 PM, Hendrik Sattler p...@hendrik-sattler.dewrote: Am Dienstag 18 Januar 2011, 18:05:50 schrieb Mateusz Loskot: On 18/01/11 16:15, David Cole wrote: Your confusion is that you are looking for a 2010 -- there isn't one -- there is Visual Studio 10 David

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:12 PM, Nick Kledzik kled...@apple.com wrote: On Jan 18, 2011, at 5:30 AM, Bill Hoffman wrote: I have changes that cause cmake to produce an Xcode project in which the targets do not have the extra phases, and the dependencies are set up such that incremental

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:30 PM, Nick Kledzik kled...@apple.com wrote: On Jan 18, 2011, at 11:23 AM, David Cole wrote: That is not entirely true Things like EXECUTABLE_OUTPUT_PATH and target location properties have to work without an extra install step. What do you mean CMake

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread David Cole
On Windows, you have to tell fixup_bundle where to find the Qt dll's (and the others) by passing in a list of directories as the last argument. Or, alternatively, simply add those directories to the PATH as well. HTH, David On Tue, Jan 18, 2011 at 4:34 PM, NoRulez noru...@me.com wrote:

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-18 Thread David Cole
} and ${QT_BINARY_DIR}, but if I give two destinations, I get the error that it isn't a valid bundle. Best Regards NoRulez Am 18.01.2011 um 23:43 schrieb David Cole david.c...@kitware.com: On Windows, you have to tell fixup_bundle where to find the Qt dll's (and the others) by passing in a list

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-19 Thread David Cole
DESTINATION . COMPONENT ${PROJECT_NAME}) Thanks in advance Best Regards NoRulez *Von:* David Cole [mailto:david.c...@kitware.com] *Gesendet:* Mittwoch, 19. Jänner 2011 00:26 *An:* NoRulez *Cc:* CMake MailingList *Betreff:* Re: [CMake] Problems with MinGW + BundleUtilities Providing

Re: [CMake] Problems with MinGW + BundleUtilities

2011-01-19 Thread David Cole
to be included in DIRS for fixup_bundle and get_prerequisites to find them. On Wed, Jan 19, 2011 at 5:21 AM, David Cole david.c...@kitware.com wrote: And what is the value of DIRS? On Wed, Jan 19, 2011 at 3:40 AM, NoRulez noru...@me.com wrote: The code I use to create the bundle is as followed

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better, Is the command variant string(REGEX REPLACE ...) completely documented? Can multiple variables be specified that will

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 8:06 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 02:01 PM, David Cole wrote: On Thu, Jan 20, 2011 at 7:39 AM, Michael Wild them...@gmail.com wrote: On 01/20/2011 12:10 PM, SF Markus Elfring wrote: Thanks for your help to make CMake better

Re: [CMake] How to assign data from subexpressions of regular expressions to CMake variables?

2011-01-20 Thread David Cole
On Thu, Jan 20, 2011 at 12:37 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Thursday 20 January 2011, Michael Wild wrote: On 01/20/2011 02:14 PM, David Cole wrote: ... Me too. I had to go searching for CMAKE_MATCH_ because I knew it was stated somewhere. Much to my surprise

Re: [CMake] VS2010 tries to compile a file with *.res extension when its copied

2011-01-20 Thread David Cole
Is tha with 2.8.3 or 2.8.4-rc1? On Thursday, January 20, 2011, aaron_wri...@selinc.com wrote: I know I've asked this before, but now I've narrowed it down a bit and I have an example. This copies a *.res file to the binary directory where presumably the executable can find it. The executable

Re: [CMake] VS2010 tries to compile a file with *.res extension when its copied

2011-01-21 Thread David Cole
basically its just something to do with the ADD_CUSTOM_COMMAND that copies the file. --- Aaron Wright From: David Cole david.c...@kitware.com To: aaron_wri...@selinc.com aaron_wri...@selinc.com Cc: cmake@cmake.org cmake@cmake.org Date: 01/20/2011 07:57 PM Subject: Re: [CMake] VS2010

Re: [CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread David Cole
You don't need those backslashes there. Try: file( MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers ) On Fri, Jan 21, 2011 at 11:21 AM, John Drescher dresche...@gmail.com wrote: I am getting a the following error: CREATING X:/32Bit/VC.90/Qt/StudyManager/bin/Debug/sqldrivers

Re: [CMake] FILE( MAKE_DIRECTORY path) prepends source path to make directory path.

2011-01-21 Thread David Cole
(That made it look like you were trying to create a directory with a literal in the name...) On Fri, Jan 21, 2011 at 11:33 AM, David Cole david.c...@kitware.com wrote: You don't need those backslashes there. Try: file( MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}/${Release}/sqldrivers

Re: [CMake] VS2010 tries to compile a file with *.res extension when its copied

2011-01-21 Thread David Cole
Wright From: David Cole david.c...@kitware.com To: aaron_wri...@selinc.com Cc: cmake@cmake.org cmake@cmake.org Date: 01/21/2011 08:10 AM Subject: Re: [CMake] VS2010 tries to compile a file with *.res extension when its copied This is similar in nature to http://public.kitware.com

Re: [CMake] VS2010 tries to compile a file with *.res extension when its copied

2011-01-21 Thread David Cole
with the ADD_CUSTOM_COMMAND. Do you think this is the way its supposed to work with VS2010? Should I make the extension change or work with CMake more? --- Aaron Wright From: David Cole david.c...@kitware.com To: aaron_wri...@selinc.com Cc: cmake@cmake.org cmake@cmake.org Date: 01/21/2011 08:36 AM

Re: [CMake] ExternalProject_Add, race conditions, MSVC_IDE

2011-01-24 Thread David Cole
On Sat, Jan 22, 2011 at 8:15 AM, Pau Garcia i Quiles pgqui...@elpauer.orgwrote: Hello, I've been using ExternalProject_Add and I have to say IMHO it's one of the best features added to CMake in the last years. It works great for me on Linux (makefiles), MSVC2010 (NMake Makefiles) and Mac

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

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 11:01 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: Much to my surprise, there was only a single CMAKE_MATCH on our whole documentation page. It would make sense to document the variables CMAKE_MATCH_0 and friends explicitly. And cross-referencing left,

Re: [CMake] How to retrieve the property list dynamically?

2011-01-24 Thread David Cole
On Sat, Jan 22, 2011 at 5:00 PM, SF Markus Elfring elfr...@users.sourceforge.net wrote: Hello, Various properties can be queried by the command get_property. http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Properties I am looking for a command in the corresponding programming

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

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 11:10 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: No, it does not. Any cross-references are mentioned in text only form and depend on the end user finding the cross-reference topic. Would you like to change this situation? Regards, Markus I

Re: [CMake] How to retrieve the property list dynamically?

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 11:16 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: No, there is presently no facility for retrieving a list of properties. Is such a functionality also missing for variable names and their attributes? If you look at the top of this page:

Re: [CMake] How to retrieve the property list dynamically?

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 11:44 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: There are links to the well known by CMake properties that exist on various entities: global, directories, targets, tests, files, cache variables. I have not overlooked the description for them. I

Re: [CMake] Produce only an object file (*.o) from a CMake build target

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 2:33 PM, Andreas Pakulat ap...@gmx.de wrote: On 24.01.11 09:37:01, Helseth, Nicholas H wrote: I'm trying to build an object file using CMake, but I can't seem to get CMake to build something other than a complete executable. I'm basically looking for the result of

Re: [CMake] CDash submissions show up as two entries, one row for update, one for build/test etc

2011-01-24 Thread David Cole
On Mon, Jan 24, 2011 at 3:09 PM, Rolf Eike Beer e...@sf-mail.de wrote: I found the issue. I happened to put a trailing newline in CTEST_SITE, causing some error further down the line. I guess CDash could deal with it a bit better, but all in all it's a user error. (I utilized the hostname

Re: [CMake] Cannot run/debug cmake project with MSVC 2010 which works well in Linux

2011-01-24 Thread David Cole
Right click on textureBackProjection and choose Set as StartUp Project -- after that, F5 will launch the executable for that project. If you are receiving error messages at launch after doing that, then please send them along so we can help you get further along... HTH, David On Mon, Jan 24,

Re: [CMake] Cannot run/debug cmake project with MSVC 2010 which works well in Linux

2011-01-25 Thread David Cole
 automatically by setting an option in the CMakeList.txt file?) No, net yet. People have asked for this feature, but we have not figured out a good way to do it yet. Thanks in advance You're welcome. Cheers, David Srimal On Tue, Jan 25, 2011 at 1:18 PM, David Cole david.c...@kitware.com wrote

Re: [CMake] Problem with archive_write_finish_entry(): Can't update time...

2011-01-26 Thread David Cole
From the libarchive source code, it looks like this message appears as a warning and returns ARCHIVE_WARN. CMake spits out an error message whenever a libarchive function returns anything other than ARCHIVE_OK. Perhaps we should detect ARCHIVE_WARN and only emit a CMake Warning message rather

Re: [CMake] Out-of-source build and access to data

2011-01-26 Thread David Cole
Send some code for us to look at. If the cwd is where your exe is, and there's a file at ./data/file1 then you should certainly be able to open and read that file with that file name. Maybe your cwd is not what you think it is. Maybe your code changes it somewhere between launching and

Re: [CMake] Problem with archive_write_finish_entry(): Can't update time...

2011-01-27 Thread David Cole
, 08:14 -0500 schrieb David Cole: From the libarchive source code, it looks like this message appears as a warning and returns ARCHIVE_WARN. CMake spits out an error message whenever a libarchive function returns anything other than ARCHIVE_OK. Perhaps we should detect ARCHIVE_WARN and only

Re: [CMake] ctest returns 255 after running ctest_test() if no tests are available

2011-01-28 Thread David Cole
On Fri, Jan 28, 2011 at 1:29 AM, Rolf Eike Beer e...@sf-mail.de wrote:     Error in read script: /satsop/build/kitt-cmake-based-addons-for-legacy-trunk/kitt.cmake This one I also see rather often. What does this mean? There was any warning or failure on test or build? Eike

Re: [CMake] XCode compiler selection

2011-01-28 Thread David Cole
On Fri, Jan 28, 2011 at 8:39 AM, Andrew Corrigan acorr...@lcp.nrl.navy.mil wrote: I use the latest released version of CMake  When I set the compiler with CMake for the XCode generator my choice of compiler is completely ignored, and I have to manually select the compiler within XCode.  In

Re: [CMake] Problem with archive_write_finish_entry(): Can't update time...

2011-01-28 Thread David Cole
26 Dir(s) many, many bytes free On Thu, Jan 27, 2011 at 2:34 PM, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am Donnerstag, den 27.01.2011, 12:48 +0100 schrieb David Cole david.c...@kitware.com: On Thu, Jan 27, 2011 at 12:45 PM, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am

[CMake] CMake 2.8.4-rc2 ready for testing!

2011-01-31 Thread David Cole
test expected results Clinton Stimpson (1):   Replace exec_program with execute_process for qmake queries. David Cole (16):   Update script with new machine name   VS10: Fix problems with InstallRequiredSystemLibraries.   Add CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS variable

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

2011-02-01 Thread David Cole
On Tue, Feb 1, 2011 at 1:37 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On 2011-2-1 5:45, David Cole wrote: The CMake 2.8.4 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D Since we switched to git, and a new

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

2011-02-01 Thread David Cole
On Tue, Feb 1, 2011 at 1:30 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On 2011-2-1 5:45, David Cole wrote: The CMake 2.8.4 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D Since we switched to git, and a new

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

2011-02-01 Thread David Cole
On Tue, Feb 1, 2011 at 3:56 AM, Johan Björk p...@spotify.com wrote: Hey David, What is the intended behavior when upgrading CMake on a OSX Machine? It seems that currently, generated projects will keep a reference to the resolved symlink, ie /Applications/CMake\ VERSION/Contents/bin/...,

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

2011-02-01 Thread David Cole
On Tue, Feb 1, 2011 at 7:08 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On Tue, Feb 1, 2011 at 20:04, David Cole david.c...@kitware.com wrote: On Tue, Feb 1, 2011 at 1:30 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On 2011-2-1 5:45, David Cole wrote: The CMake 2.8.4 release

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

2011-02-01 Thread David Cole
We only have exepath defined with which to make a replacement. BundleUtilities is strongly biased toward having everything be relative to the main bundle executable (or a similarly-pathed executable) because of that very line of code. We are using @executable_path occurrences to actually resolve

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

2011-02-01 Thread David Cole
/../../../../ (just for the Frameworks) we'd be golden. Does that sound like a reasonable solution, or am I just asking for pain later? Thanks for the input. -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Tuesday, February 01, 2011 10:49 AM To: Scott Fowler Cc

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

2011-02-02 Thread David Cole
On Wed, Feb 2, 2011 at 11:46 AM, Eric Noulard eric.noul...@gmail.com wrote: 2011/2/2 Bill Hoffman bill.hoff...@kitware.com: On 2/2/2011 11:14 AM, Emmanuel Blot wrote: Currently, there is no way to turn this off. Very, very bad news ;-( IMHO, this is a recurrent issue with CMake. It seems

Re: [CMake] cpack make package failure

2011-02-02 Thread David Cole
Changing from Win XP to Win 7 means you have to get used to a more secure permissions model among other things. Do you have the problem if you run this in a run as administrator scenario? For the access is denied problem: do you have full permissions to the directory in question? If you go to

[CMake] The CMake bug tracker and the backlog of unresolved issues

2011-02-03 Thread David Cole
Hello CMakers, The CMake issue tracker is located at: http://public.kitware.com/Bug All of the issues except for the most recent 15 or so have been assigned and looked at by at least one CMake developer at one point in each issue's history. However, not all issues that are assigned to developers

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

2011-02-07 Thread David Cole
On Mon, Feb 7, 2011 at 3:16 PM, Clinton Stimpson clin...@elemtech.comwrote: On Monday, February 07, 2011 01:10:28 pm Crni Gorac wrote: Is it possible, on Windows and with NSIS back-end for CPack, to have small check-box on the last page of the installer that would, if checked, cause the

Re: [CMake] CMAKE_INSTALL_PREFIX on Windows Machine

2011-02-07 Thread David Cole
When you say It does not appear to be something specific to the GDCM CMakeLists.txt file do you mean that you see this behavior when configuring other projects with CMake? What do you get if you search for CMAKE_INSTALL_PREFIX in the GDCM source tree? On Mon, Feb 7, 2011 at 5:03 PM, Holmes,

Re: [CMake] WG: Problems with MinGW + BundleUtilities

2011-02-08 Thread David Cole
\Desktop\DemoProject\build Thanks in advance Best Regards NoRulez *Von:* David Cole [mailto:david.c...@kitware.com] *Gesendet:* Mittwoch, 19. Jänner 2011 15:07 *An:* NoRulez *Cc:* CMake MailingList *Betreff:* Re: [CMake] Problems with MinGW + BundleUtilities Send us the full

Re: [CMake] CTest: Getting the PriorRevision with ctest_update?

2011-02-09 Thread David Cole
Not directly. But if you analyze Update.xml after a ctest_update call, you can parse it out... On Wed, Feb 9, 2011 at 7:13 AM, Johan Björk p...@spotify.com wrote: Hi everyone, Does ctest expose a way to get the old (and new I guess) revision of a source tree? /Johan

Re: [CMake] FindMKL.cmake

2011-02-09 Thread David Cole
On Wed, Feb 9, 2011 at 8:20 AM, Robert Bielik robert.bie...@xponaut.sewrote: Michael Wild skrev 2011-02-09 14:07: that's what the CMAKE_MODULE_PATH variable is for. And there is a FindLAPACK.cmake should already find Intel MKL, however IMHO the whole module is rather broken... Thnx

Re: [CMake] FindMKL.cmake

2011-02-09 Thread David Cole
On Wed, Feb 9, 2011 at 9:15 AM, Robert Bielik robert.bie...@xponaut.sewrote: David Cole skrev 2011-02-09 14:31: Is there some way I can make file(GLOB_RECURSE... ) start at a directory of my choice (instead of the current CMakeLists.txt folder) ? file(GLOB_RECURSE ${dir}/*) Yes

Re: [CMake] FindMKL.cmake

2011-02-09 Thread David Cole
Bielik robert.bie...@xponaut.sewrote: David Cole skrev 2011-02-09 16:32: You can iterate the returned list something like this to accumulate just directory names: set(dirs ) foreach(f ${glob_results}) if(IS_DIRECTORY ${f}) set(dirs ${dirs} ${f}) endif() endforeach() Hmm

Re: [CMake] FindMKL.cmake

2011-02-09 Thread David Cole
Ah I know what it is. If you use GLOB_RECURSE you only get files because the directories are recursed into. You have to use GLOB alone and do the recursion manually if you want to descend into found directories... Painful. But still possible. On Wed, Feb 9, 2011 at 10:48 AM, David Cole

Re: [CMake] FindMKL.cmake

2011-02-10 Thread David Cole
On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik robert.bie...@xponaut.sewrote: Michael Wild skrev 2011-02-09 16:48: what about this: file(GLOB_RECURSE glob_results /some/pattern*) set(dirs) foreach(f IN LISTS glob_results) get_filename_component(d ${f} PATH) list(APPEND dirs ${d})

Re: [CMake] FindMKL.cmake

2011-02-10 Thread David Cole
On Thu, Feb 10, 2011 at 8:01 AM, Michael Wild them...@gmail.com wrote: On 02/10/2011 01:52 PM, David Cole wrote: On Thu, Feb 10, 2011 at 2:50 AM, Robert Bielik robert.bie...@xponaut.se wrote: Michael Wild skrev 2011-02-09 16:48: what about this: file(GLOB_RECURSE glob_results

Re: [CMake] add_custom_target and output file dependencies

2011-02-10 Thread David Cole
Show us the surrounding code (i.e. -- the actual copy command) On Thu, Feb 10, 2011 at 10:40 AM, Clifford Yapp cliffy...@gmail.com wrote: I'm seeing an extremely strange behavior with add_custom_command/add_custom_target, and I'm not sure what's causing it. Background: I'm trying to copy

Re: [CMake] add_custom_target and output file dependencies

2011-02-10 Thread David Cole
is the not terminating thing: is it that make never comes back, or that you have a zombie cmake process after running make...? On Thu, Feb 10, 2011 at 11:01 AM, Clifford Yapp cliffy...@gmail.com wrote: On Thu, Feb 10, 2011 at 10:48 AM, David Cole david.c...@kitware.com wrote: Show us the surrounding code (i.e

Re: [CMake] add_custom_target and output file dependencies

2011-02-10 Thread David Cole
Sorry. Correction here... Make that: COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${targetprefix}.sentinel (The touch is the rather important part of that command line) On Thu, Feb 10, 2011 at 11:19 AM, David Cole david.c...@kitware.com wrote: Are you using make -j

Re: [CMake] OS X Application plist configuration questions

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

Re: [CMake] OS X Application plist configuration questions

2011-02-10 Thread David Cole
Can you share your source code so I can repro the issue here? Thx, David On Thu, Feb 10, 2011 at 2:25 PM, Michael Jackson mike.jack...@bluequartz.net wrote: On Feb 10, 2011, at 2:04 PM, David Cole wrote: On Thu, Feb 10, 2011 at 1:51 PM, Bill Hoffman bill.hoff...@kitware.com wrote

Re: [CMake] cpack, debian and python virtualenvs:

2011-02-10 Thread David Cole
Probably comes from here: cmCPackDebGenerator.cxx: this-SetOptionIfNotSet(CPACK_PACKAGING_INSTALL_PREFIX, /usr); Try setting that variable in your CMakeLists.txt file, too. HTH, David On Thu, Feb 10, 2011 at 4:44 PM, Nathan J. Mehl mem...@blank.org wrote: What I'm trying to do: use cpack to

Re: [CMake] --debug-trycompile causes false positives from check_function_exists

2011-02-11 Thread David Cole
To use --debug-trycompile effectively, you have to: - run *without* --debug-trycompile all the way through once to establish all the cache settings - remove/delete the *single* cache entry whose try_compile result you are trying to debug - run again with --debug-trycompile The reasons are: -

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-11 Thread David Cole
On Fri, Feb 11, 2011 at 9:17 AM, Matt Williams li...@milliams.com wrote: On Thursday 10 Feb 2011 14:38:55 Nicolas Desprès wrote: Hi everyone, Probably some of you are already aware of this new open-source project coming from a Chrome developer at Google. Its goal was to improve the

Re: [CMake] multiple directories in one variable

2011-02-11 Thread David Cole
On Fri, Feb 11, 2011 at 10:29 AM, John Drescher dresche...@gmail.comwrote: it is what I want. But how? How can I put all the directories in EXTERNAL_PRODUCT_INCLUDES from cmake command line? I do not know. Sorry. I did not see that you were trying to add these via the command line.

Re: [CMake] 2.8.5 version

2011-02-14 Thread David Cole
On Mon, Feb 14, 2011 at 4:14 AM, Andrea Galeazzi galea...@korg.it wrote: I'm very interested in the feature discussed here: http://www.mail-archive.com/cmake@cmake.org/msg34587.html but probably it won't enter into 2.8.4, so do you have any rough idea about when 2.8.5 will be released? Or

Re: [CMake] Copying plugins into a bundle

2011-02-14 Thread David Cole
On Sat, Feb 12, 2011 at 12:41 PM, Peter Kümmel syntheti...@gmx.net wrote: On 12.02.2011 18:26, Peter Kümmel wrote: I wanna create a bundle on OSX with fixup_bundle but I have problems with plugins. The plugins are build with add_library(MODULE) into ${CMAKE_BINARY_DIR}/plugins. set(app

Re: [CMake] Copying plugins into a bundle

2011-02-14 Thread David Cole
On Mon, Feb 14, 2011 at 12:02 PM, Peter Kümmel syntheti...@gmx.net wrote: On 14.02.2011 17:23, David Cole wrote: On Sat, Feb 12, 2011 at 12:41 PM, Peter Kümmelsyntheti...@gmx.net wrote: On 12.02.2011 18:26, Peter Kümmel wrote: I wanna create a bundle on OSX with fixup_bundle but I have

Re: [CMake] Code coverage under Windows

2011-02-14 Thread David Cole
On Mon, Feb 14, 2011 at 11:09 AM, felix.more...@gmail.com wrote: Hi, On the wiki, it is mentioned that code coverage is supported using gcov and Bullseye. However on the CMake dashboard, under the code coverage section, you can see that the build name for the dash22.kitware site is

Re: [CMake] CMake Error: Cannot determine link language for target

2011-02-15 Thread David Cole
Show us your code. On Tue, Feb 15, 2011 at 8:08 AM, Kiran Gopal Patil pati...@gmail.comwrote: Hi , I do get this error while build a application using CMAKE. Please help me in resolving this one. I tried to use the SET_TARGET_PROPERTIES but not successful. I do have mix of C and C++

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread David Cole
You cannot do cmake-ish things in the CPACK_PROJECT_CONFIG_FILE. Neither install commands nor set_target_properties calls do anything in this context. On Tue, Feb 15, 2011 at 9:36 AM, Daryl N darylhouse2...@yahoo.com wrote: Sorry, don't know how to reply inline with this editor. Yes,

Re: [CMake] mixed compilation with two compilers

2011-02-15 Thread David Cole
You should use ExternalProject, and possibly wrapper scripts to set environment variables for the projects that need to use the different compiler. (CC, CXX, FC env vars should be set during the configure stage, or you can pass them in as -D args to cmake) CMake does not support changing the

Re: [CMake] 2.8.5 version

2011-02-15 Thread David Cole
2011/2/15 Alexander Neundorf a.neundorf-w...@gmx.net On Monday 14 February 2011, David Cole wrote: On Mon, Feb 14, 2011 at 4:14 AM, Andrea Galeazzi galea...@korg.it wrote: I'm very interested in the feature discussed here: http://www.mail-archive.com/cmake@cmake.org/msg34587.html

Re: [CMake] Include-Dir order problem

2011-02-16 Thread David Cole
On Wed, Feb 16, 2011 at 2:32 AM, Andreas Pakulat ap...@gmx.de wrote: On 16.02.11 03:48:03, Michael Hertling wrote: On 02/15/2011 07:36 PM, Andreas Pakulat wrote: On 15.02.11 17:54:29, Michael Hertling wrote: On 02/13/2011 01:27 AM, Andreas Pakulat wrote: Hi, I've got a somewhat

[CMake] CMake 2.8.4 available for download

2011-02-16 Thread David Cole
(#11833) David Cole (1): Silence the may be used uninitialized warnings: initialize stuff. Eric NOULARD (2): CPack Tests the different ways of packaging components Avoid foreach IN LISTS syntax which is not supported by CMake 2.6 Changes in CMake 2.8.4-rc2 (since 2.8.4-rc1

Re: [CMake] Expected boost path structure.

2011-02-17 Thread David Cole
Are you escaping the \ characters, like this? set(BOOST_ROOT X:\\32bit\\VC ...) Or using the CMake convention / as a path separator character? set(BOOST_ROOT X:/32bit/VC ...) (this is the one you should be doing...) What version of CMake? On Thu, Feb 17, 2011 at 10:11 AM, John Drescher

Re: [CMake] Expected boost path structure.

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 11:25 AM, John Drescher dresche...@gmail.com wrote: On Thu, Feb 17, 2011 at 11:05 AM, David Cole david.c...@kitware.com wrote: Are you escaping the \ characters, like this? set(BOOST_ROOT X:\\32bit\\VC ...) Or using the CMake convention / as a path separator character

Re: [CMake] Expected boost path structure.

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 11:37 AM, John Drescher dresche...@gmail.com wrote: According to FindBoost.cmake:  if (NOT BOOST_ROOT AND NOT $ENV{BOOST_ROOT} STREQUAL )    set(BOOST_ROOT $ENV{BOOST_ROOT})  endif() So, it should work with an ENV var, too. But the way this is phrased, it would have

Re: [CMake] Expected boost path structure.

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 11:50 AM, John Drescher dresche...@gmail.com wrote: Take away the quotes in the env var. They are actually embedded in the env var, so they'll end up in the CMake variable, too. If you print out the CMake variable that gets set based on that env value, then it will have

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

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 11:47 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Wednesday 16 February 2011, you wrote: So what is the recommended way to suppress the warnings whatever the CMake 2.8.x release ? 2.8.4 has been released, the warnings seem to be enabled without a new

Re: [CMake] Expected boost path structure.

2011-02-17 Thread David Cole
-boun...@cmake.org] On Behalf Of David Cole Sent: donderdag 17 februari 2011 17:42 To: John Drescher Cc: CMake mailing list Subject: Re: [CMake] Expected boost path structure. On Thu, Feb 17, 2011 at 11:37 AM, John Drescher dresche...@gmail.com wrote: According to FindBoost.cmake

Re: [CMake] Including an external object file (.o) into static shared library using MS Visual Studio generator

2011-02-17 Thread David Cole
This was a known bug, and has been fixed in CMake 2.8.4. See here for details if you want: http://public.kitware.com/Bug/view.php?id=11459 Upgrade to CMake 2.8.4 and try again. Should work Cheers, David On Thu, Feb 17, 2011 at 12:59 PM, Chatterjee, Shash schatter...@camber.com wrote:

Re: [CMake] Including an external object file (.o) into static shared library using MS Visual Studio generator

2011-02-17 Thread David Cole
- From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, February 17, 2011 12:23 PM To: Chatterjee, Shash Cc: cmake@cmake.org Subject: Re: [CMake] Including an external object file (.o) into static shared library using MS Visual Studio generator This was a known bug, and has

Re: [CMake] 2.8.4 order of tests

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 3:57 PM, Allen D Byrne b...@hdfgroup.org wrote: I just installed 2.8.4 and on my fedora 14 linux box the ctest -D Experimental stage decided to run the tests in some unknown to me order. The previous versions always ran them in order of definition. Any thing I can do to

Re: [CMake] 2.8.4 order of tests

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 4:08 PM, David Cole david.c...@kitware.com wrote: On Thu, Feb 17, 2011 at 3:57 PM, Allen D Byrne b...@hdfgroup.org wrote: I just installed 2.8.4 and on my fedora 14 linux box the ctest -D Experimental stage decided to run the tests in some unknown to me order

Re: [CMake] 2.8.4 order of tests

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 4:08 PM, David Cole david.c...@kitware.com wrote: On Thu, Feb 17, 2011 at 3:57 PM, Allen D Byrne b...@hdfgroup.org wrote: I just installed 2.8.4 and on my fedora 14 linux box the ctest -D Experimental stage decided to run the tests in some unknown to me order

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

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 4:37 PM, Emmanuel Blot eblot...@gmail.com wrote: The only warning that is enabled by default is to warn you about misspelled -D options that you pass on the command line. (We think they *may* be misspelled because they are not referenced in the configure/generate

Re: [CMake] 2.8.4 order of tests

2011-02-17 Thread David Cole
...@hdfgroup.org wrote: This was from a clean build folder. And I just want the test to run in the order defined in the CMakeLists.txt files. Also never had set any COST properties. The surprise was that this never happened before. Allen On Thu, Feb 17, 2011 at 4:08 PM, David Cole

Re: [CMake] 2.8.4 order of tests

2011-02-17 Thread David Cole
On Thu, Feb 17, 2011 at 5:25 PM, Sean McBride s...@rogue-research.com wrote: On Thu, 17 Feb 2011 17:21:22 -0500, David Cole said: I'm not familiar enough with HDF5 to know if this is correct or not. Is this the same order you're seeing? Or can you tell me your expected order? I'll try

Re: [CMake] 2.8.4 order of tests

2011-02-18 Thread David Cole
files. Also never had set any COST properties. The surprise was that this never happened before. Allen On Thu, Feb 17, 2011 at 4:08 PM, David Cole david.c...@kitware.com wrote: On Thu, Feb 17, 2011 at 3:57 PM, Allen D Byrne b...@hdfgroup.org

Re: [CMake] 2.8.4 order of tests

2011-02-18 Thread David Cole
Bug reported: http://public.kitware.com/Bug/view.php?id=11877 On Fri, Feb 18, 2011 at 10:30 AM, David Cole david.c...@kitware.com wrote: Yup. ctest -N and ctest without -N differ in test ordering. Congratulations! You've reported the first regression bug in CMake 2.8.4! :-) I suspect

Re: [CMake] Gyp VS CMake

2011-02-18 Thread David Cole
On Fri, Feb 18, 2011 at 2:42 PM, Troy Straszheim straszh...@willowgarage.com wrote: On Fri, Feb 18, 2011 at 8:16 AM, Michael Wild them...@gmail.com wrote: 2. Tcl (or other) scripting language, which has clearly defined variable scoping rules and well understood semantics. There are many pros

<    4   5   6   7   8   9   10   11   12   13   >