Re: [CMake] funny cmake warnings about conflicting library folders

2012-09-03 Thread Markus Blatt
On Mon, Sep 03, 2012 at 12:54:09AM +0200, Nico Schlömer wrote: In an attempt to make Foobar relocatable, the library and header directories are specified in /usr/share/cmake/Foobar/FoobarConfig.cmake as SET(Foobar_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/../../../include/foobar)

Re: [CMake] Bug in find_file() command ?

2012-09-03 Thread Adolfo Rodríguez Tsouroukdissian
On Tue, Aug 28, 2012 at 6:59 PM, Glenn Coombs glenn.coo...@gmail.comwrote: I need to test for the presence of a directory called driver_root. I couldn't see a find_directory() command in the help I cannot comment about your issues concerning find_file, but if you know the name of a file

Re: [CMake] Possible bugs in FindBLAS.cmake module

2012-09-03 Thread Rolf Eike Beer
Am 2012-09-01 19:05, schrieb Bogdan Cristea: Hi I am trying to detect BLAS and LAPACK libraries provided by acml 5.1.0, but both are undetected. After some digging I have found that there are some problems related to FindBLAS.cmake which I was able to correct. I am wondering what is the best

Re: [CMake] [cmake-developers] CMake: need developer help / adopt a bug

2012-09-03 Thread Petr Kmoch
Hi all. By default, admin privileges are necessary to run mklink (even for creating symlinks). However, this can be changed by granting the SeCreateSymbolicLinkPrivilege privilege (see e.g.

Re: [CMake] funny cmake warnings about conflicting library folders

2012-09-03 Thread Nico Schlömer
I'm working around this now by making Foobar_LIBRARY_DIRS absolute, get_filename_component(Foobar_LIBRARY_DIRS_ABS ${Foobar_LIBRARY_DIRS} REALPATH) The hint to CMakePackageConfigHelpers certainly contain the proper bug fix, so I forwarded this to the Foobar devs. Thanks! --Nico On Mon, Sep

Re: [CMake] Incremental linking and Intel fortan

2012-09-03 Thread Petr Kmoch
Hi Alexander. CMAKE_EXE_LINKER_FLAGS and similar variables can only be modified after a call to PROJECT() (the PROJECT() calls sets them up to some defaults). See if this fixes your issue. Petr On Fri, Aug 31, 2012 at 8:47 PM, Alexander Ivanov alexander.nik.iva...@gmail.com wrote: Hello all!

[CMake] [Cmake] Retrieve all runtime dependencies

2012-09-03 Thread Klaim - Joël Lamotte
Hi, Is there any way in CMake to get a list of all binaries related to one target? What I mean is that assuming I have a target, say a library lib_a, that depends on lib_b and lib_c which are either SHARED or MODULE (so they produce a .dll/.so), is there a way or macro to get a string with the

Re: [CMake] Incremental linking and Intel fortan

2012-09-03 Thread Alexander Ivanov
Hi Petr, Unfortunately it doesn't. I changed the sample as following but intel fortran ignores incremental linking setting. cmake_minimum_required(VERSION 2.8) project(TestF90 Fortran) set(CMAKE_EXE_LINKER_FLAGS /INCREMENTAL:NO CACHE STRING EXE_LINKER_FLAGS FORCE)

Re: [CMake] [Cmake] Retrieve all runtime dependencies

2012-09-03 Thread John Drescher
On Mon, Sep 3, 2012 at 11:05 AM, Klaim - Joël Lamotte mjkl...@gmail.com wrote: Hi, Is there any way in CMake to get a list of all binaries related to one target? What I mean is that assuming I have a target, say a library lib_a, that depends on lib_b and lib_c which are either SHARED or

Re: [CMake] [Cmake] Retrieve all runtime dependencies

2012-09-03 Thread Klaim - Joël Lamotte
On Mon, Sep 3, 2012 at 6:45 PM, John Drescher dresche...@gmail.com wrote: take a look at the GetPrerequisites cmake module. Thanks, I didn't know about this. Joel Lamotte -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Bug in find_file() command ?

2012-09-03 Thread Glenn Coombs
Once the driver project has converted to using cmake that is what I plan to do - use find_path() to look for driver_root/CMakeLists.txt. But in the meantime I'm stuck using find_file() instead which works but it looks like a bug that I need to specify the NO_DEFAULT_PATH option to avoid getting

[CMake] Check if a command exists?

2012-09-03 Thread Rui Maciel
I have a small project which includes a couple of parsers whose lexers are generated by re2c. I intended to set cmake so that it could check if re2c is present in the system, but after browsing through the docs I've ended up empty-handed. So, is there a way to set a cmake project so that it

Re: [CMake] Check if a command exists?

2012-09-03 Thread Andreas Naumann
I don't know if it's the right way, but I am looking for the executable/script with find_file and set up a custom command for it. Regards, Andreas Naumann Am 03.09.2012 21:59, schrieb Rui Maciel: I have a small project which includes a couple of parsers whose lexers are generated by re2c. I

Re: [CMake] Check if a command exists?

2012-09-03 Thread Alexander Neundorf
On Monday 03 September 2012, Rui Maciel wrote: I have a small project which includes a couple of parsers whose lexers are generated by re2c. I intended to set cmake so that it could check if re2c is present in the system, but after browsing through the docs I've ended up empty-handed. Use

Re: [CMake] Check if a command exists?

2012-09-03 Thread Clifford Yapp
On Mon, Sep 3, 2012 at 3:59 PM, Rui Maciel rui.mac...@gmail.com wrote: I have a small project which includes a couple of parsers whose lexers are generated by re2c. I intended to set cmake so that it could check if re2c is present in the system, but after browsing through the docs I've ended

[CMake] How to get all compile flags / definitions / include_directories of target?

2012-09-03 Thread Loaden
Hi, list! I want write a PrecompiledHeader.cmake to support PCH for QtCreator. For now, It works well use MSVC, see: https://codereview.qt-project.org/#change,34052 I have some trouble with how to get GCC's compile flags / definitions / include_directories. My way (does not work yet):

Re: [cmake-developers] Patch to support SVN externals in CTest update

2012-09-03 Thread Xavier Besseron
On Fri, Aug 24, 2012 at 5:09 PM, Brad King brad.k...@kitware.com wrote: On 08/24/2012 08:50 AM, Xavier Besseron wrote: I have split my changes in a series of small patches. Please find them in attachment. I have made sure that everything is compiling correctly and that the

Re: [cmake-developers] Version support for FindSDL_net.cmake

2012-09-03 Thread Brad King
On 09/01/2012 08:10 AM, Benjamin Eikel wrote: Hello again, Am Mittwoch, 29. August 2012 um 12:39:28 schrieb Benjamin Eikel: Dear CMake developers, I extended the find module for SDL_net by version support (see the attached patch). If you are interested, I am willing to write similar

Re: [cmake-developers] Patch to support SVN externals in CTest update

2012-09-03 Thread Brad King
On 09/03/2012 05:17 AM, Xavier Besseron wrote: Here is the new set of patches. Wonderful, thanks! I've merged the topic with minor tweaks to our 'next' branch for testing: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7fbbd921 You can fetch and checkout commit b7c97859 to get the head

[cmake-developers] [CMake 0013512]: no platform files are shipped for Blue Gene/Q

2012-09-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13512 == Reported By:Julien Bigot Assigned To:

Re: [cmake-developers] conditionals in generator expressions

2012-09-03 Thread Stephen Kelly
Brad King wrote: On 08/31/2012 07:21 AM, Stephen Kelly wrote: The above is not necessary. It can instead be literally: $$CONFIG:Debug:-Wl,no-undefined $$AND:$CONFIG:Debug,$STREQUAL:$TGT_PROP:FOO,b:-Wl,no- undefined The comma is ambiguous to the parser, but not to the generator

Re: [cmake-developers] conditionals in generator expressions

2012-09-03 Thread Brad King
On 09/03/2012 01:05 PM, Stephen Kelly wrote: With the CMake generator expressions, I don't know the nodes at parse time, [smacks forehead] So now that we've agreed on the language, and unless I've missed something, I'll refactor that code to use helper methods rather than helper classes and

[cmake-developers] execute_process inconsitancy

2012-09-03 Thread J Decker
I use this command to get the current repository version number. Under windows I have to use 'cmd /c ...' under linux or I obviously can't use that. Is there a test I can do in a cmakelists to test the shell processor? Is there something I can do to make this the same command? Under windows,

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread Brad King
On 09/03/2012 03:04 PM, J Decker wrote: I use this command to get the current repository version number. Under windows I have to use 'cmd /c ...' under linux or I obviously can't use that. Is there a test I can do in a cmakelists to test the shell processor? Is there something I can do

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread J Decker
On Mon, Sep 3, 2012 at 1:04 PM, Brad King brad.k...@kitware.com wrote: On 09/03/2012 03:04 PM, J Decker wrote: I use this command to get the current repository version number. Under windows I have to use 'cmd /c ...' under linux or I obviously can't use that. Is there a test I can do in a

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread David Cole
On Mon, Sep 3, 2012 at 5:15 PM, J Decker d3c...@gmail.com wrote: On Mon, Sep 3, 2012 at 1:04 PM, Brad King brad.k...@kitware.com wrote: On 09/03/2012 03:04 PM, J Decker wrote: I use this command to get the current repository version number. Under windows I have to use 'cmd /c ...' under

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread David Cole
On Mon, Sep 3, 2012 at 5:37 PM, David Cole david.c...@kitware.com wrote: On Mon, Sep 3, 2012 at 5:15 PM, J Decker d3c...@gmail.com wrote: On Mon, Sep 3, 2012 at 1:04 PM, Brad King brad.k...@kitware.com wrote: On 09/03/2012 03:04 PM, J Decker wrote: I use this command to get the current

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread J Decker
dir c:\Program Files\tortoisehg Volume in drive C has no label. Volume Serial Number is F05B-C5AF Directory of c:\Program Files\tortoisehg 08/20/2012 10:47 PM33,544 hg.exe I don't know what hy.py would be . On Mon, Sep 3, 2012 at 2:37 PM, David Cole

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread David Cole
OK... Is hg.exe in the PATH? Do you get different results if you use the full path to hg.exe rather than just hg? On Mon, Sep 3, 2012 at 5:48 PM, J Decker d3c...@gmail.com wrote: dir c:\Program Files\tortoisehg Volume in drive C has no label. Volume Serial Number is F05B-C5AF Directory

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread J Decker
On Mon, Sep 3, 2012 at 3:58 PM, David Cole david.c...@kitware.com wrote: OK... Is hg.exe in the PATH? Do you get different results if you use the full path to hg.exe rather than just hg? hg is in the path; although, when hg is not in the path, the result is the same. hg.exe is the same result

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread J Decker
I do have a workaround by taking the quotes out of the path... On Mon, Sep 3, 2012 at 7:23 PM, J Decker d3c...@gmail.com wrote: On Mon, Sep 3, 2012 at 3:58 PM, David Cole david.c...@kitware.com wrote: OK... Is hg.exe in the PATH? Do you get different results if you use the full path to hg.exe

Re: [cmake-developers] execute_process inconsitancy

2012-09-03 Thread David Cole
That's not a workaround, that's the solution. The quotes don't belong there. On Sep 3, 2012, at 10:24 PM, J Decker d3c...@gmail.com wrote: I do have a workaround by taking the quotes out of the path... On Mon, Sep 3, 2012 at 7:23 PM, J Decker d3c...@gmail.com wrote: On Mon, Sep 3, 2012 at

[Cmake-commits] CMake branch, next, updated. v2.8.9-335-g7fbbd92

2012-09-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 7fbbd9218d02c7c9aac1cae564319dceb19cc9bb (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-337-g4b2710c

2012-09-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 4b2710c1aeffcdfe18e3afc01c8e4f7ce2ed02c8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-339-g4501785

2012-09-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 4501785e4beb907230ba8b6b2d0bdeaeda4d3fdd (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.9-341-g14c6c72

2012-09-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 14c6c727e05ab306b4268126ec942c8fa19a1bff (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-225-g508ed69

2012-09-03 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index d038f28..fa9b708 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 9) -set(CMake_VERSION_TWEAK 20120903