Re: [cmake-developers] Should CMAKE_LINK_DEPENDS_NO_SHARED be on by default?

2013-02-26 Thread Stephen Kelly
Brad King wrote: On 2/25/2013 5:18 PM, Matthew Woehlke wrote: The possibility that first came to mind is where the API depends on compiler flags or similar preprocessor-ish bits, especially if these are not well guarded with something like a configured config.h to change when these change

[cmake-developers] [CMake 0013954]: Xcode artwork settings warning

2013-02-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13954 == Reported By:lclemente Assigned To:

[CMake] help with lahey (fortran) patch

2013-02-26 Thread Yngve Inntjore Levinsen
Hello, I am in the process of preparing a patch proposal for the Lahey/Fujitsu Fortran compiler (lf95). As I am not a programming expert nor a cmake expert, I tried to base myself on the already available files for Intel/NAG and friends in the Modules directory. Some specific questions in

[CMake] Getting Proper set of libraries when symlinks are involved

2013-02-26 Thread Michael Jackson
I am trying to deploy an application using HDF5 libraries. For reasons that I can not figure out I seem to not be able to use static libraries so I am trying to figure out the dynamic libraries. The HDF5 installation has the following: lrwxrwxrwx. 1 mjackson mjackson 16 Feb 26 08:57

[CMake] Not resolving Symlinks at all

2013-02-26 Thread Michael Jackson
I have the following code: message(STATUS Found HDFLibrary ${HDF5_LIBRARY_RELEASE}) if(IS_SYMLINK ${HDF_LIBRARY_DEBUG}) message(STATUS SYMLINK: ${HDF_LIBRARY_DEBUG}) get_filename_component(test ${HDF_LIBRARY_DEBUG} REALPATH) message(STATUS Real Path: ${test}) endif() if(IS_SYMLINK

Re: [CMake] Not resolving Symlinks at all

2013-02-26 Thread Kornel Benko
Am Dienstag, 26. Februar 2013 um 10:52:36, schrieb Michael Jackson mike.jack...@bluequartz.net I have the following code: message(STATUS Found HDFLibrary ${HDF5_LIBRARY_RELEASE}) if(IS_SYMLINK ${HDF_LIBRARY_DEBUG}) message(STATUS SYMLINK: ${HDF_LIBRARY_DEBUG})

Re: [CMake] Not resolving Symlinks at all

2013-02-26 Thread Michael Jackson
I fell like an idiot. Thanks. That is the problem. Just have to tell my self to slow down.. Thanks -- Mike Jackson www.bluequartz.net On Feb 26, 2013, at 11:05 AM, Kornel Benko wrote: Am Dienstag, 26. Februar 2013 um 10:52:36, schrieb Michael Jackson mike.jack...@bluequartz.net I have the

[CMake] ctest git submodules

2013-02-26 Thread Clinton Stimpson
Is there anything special I need to do with ctest so that the ctest_update() will recognize git submodules and do any init/update of those for me? I assumed it would be automatic, but that doesn't seem to be the case. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation

[CMake] the correct way of passing CCACHE_BASEDIR.

2013-02-26 Thread Paweł Sikora
Hi, i'd like to pass a CCACHE_BASEDIR enviroment variable to the cmake build system but i'm not sure how to do it correctly. google shows some old posts with CMAKE_C{XX}_OBJECT_COMPILE tricks but they don't work for me. have you any examples/ideas about passing ccache env vars? BR, Paweł. --

[CMake] How to specify LD_LIBRARY_PATH for a test?

2013-02-26 Thread Orion Poplawski
We have some tests that load libraries at run time. How can we specify that LD_LIBRARY_PATH needs to be set? file(WRITE ${CMAKE_SOURCE_DIR}/testsuite/launchtest.c ${LAUNCH}) add_executable(launchtest EXCLUDE_FROM_ALL ${CMAKE_SOURCE_DIR}/testsuite/launchtest.c) add_library(test_ce SHARED

Re: [CMake] How to specify LD_LIBRARY_PATH for a test?

2013-02-26 Thread Alexander Neundorf
On Tuesday 26 February 2013, Orion Poplawski wrote: We have some tests that load libraries at run time. How can we specify that LD_LIBRARY_PATH needs to be set? file(WRITE ${CMAKE_SOURCE_DIR}/testsuite/launchtest.c ${LAUNCH}) add_executable(launchtest EXCLUDE_FROM_ALL

Re: [CMake] How to specify LD_LIBRARY_PATH for a test?

2013-02-26 Thread Orion Poplawski
On 02/26/2013 12:06 PM, Alexander Neundorf wrote: On Tuesday 26 February 2013, Orion Poplawski wrote: We have some tests that load libraries at run time. How can we specify that LD_LIBRARY_PATH needs to be set? file(WRITE ${CMAKE_SOURCE_DIR}/testsuite/launchtest.c ${LAUNCH})

Re: [CMake] ctest git submodules

2013-02-26 Thread NoRulez
Hi, I don't think so, you could check for a .git directory and then call git submodule update --init --recursive Best Regards Am 26.02.2013 um 18:34 schrieb Clinton Stimpson clin...@elemtech.com: Is there anything special I need to do with ctest so that the ctest_update() will recognize

[CMake] QT4 Module Patch Request

2013-02-26 Thread Nicolas Tisserand
Hi, We're using CMake in a project that depends upon a custom-built Qt version configured using -no-xmlpatterns. We are currently using 2.8.10.2 without problems, but, because I wanted to try the ninja support improvements, I downloaded the latest nightly build for windows and gave it a run on

Re: [CMake] QT4 Module Patch Request

2013-02-26 Thread Stephen Kelly
Nicolas Tisserand wrote: Hi, snip Hope that helps! Could you try this instead? diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 078c031..4c98a6d 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -965,13 +965,17 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)

Re: [CMake] ctest git submodules

2013-02-26 Thread NoRulez
Here is a working example: ## -- Update git submodules if (EXISTS ${CTEST_SOURCE_DIRECTORY}/.gitmodules) message ( -- Update git submodules ${MODEL} - ${CTEST_BUILD_NAME} --) execute_process (COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive WORKING_DIRECTORY

Re: [CMake] How to specify LD_LIBRARY_PATH for a test?

2013-02-26 Thread Alexander Neundorf
On Tuesday 26 February 2013, Orion Poplawski wrote: On 02/26/2013 12:06 PM, Alexander Neundorf wrote: On Tuesday 26 February 2013, Orion Poplawski wrote: We have some tests that load libraries at run time. How can we specify that LD_LIBRARY_PATH needs to be set? file(WRITE

Re: [CMake] How to specify LD_LIBRARY_PATH for a test?

2013-02-26 Thread Marcus D. Hanwell
On Tue, Feb 26, 2013 at 2:15 PM, Orion Poplawski or...@cora.nwra.com wrote: On 02/26/2013 12:06 PM, Alexander Neundorf wrote: On Tuesday 26 February 2013, Orion Poplawski wrote: We have some tests that load libraries at run time. How can we specify that LD_LIBRARY_PATH needs to be set?

Re: [CMake] ctest git submodules

2013-02-26 Thread Clinton Stimpson
Thanks. I may have to do that for now. However, it seems to me that ctest already does a git submodule update --recurse but its missing the --init flag to deal with changes to the .gitmodules file. Clint On Tuesday, February 26, 2013 08:26:21 PM NoRulez wrote: Here is a working example:

Re: [CMake] ctest git submodules

2013-02-26 Thread Marcus D. Hanwell
On Tue, Feb 26, 2013 at 2:36 PM, Clinton Stimpson clin...@elemtech.com wrote: Thanks. I may have to do that for now. However, it seems to me that ctest already does a git submodule update --recurse but its missing the --init flag to deal with changes to the .gitmodules file. It also misses

Re: [CMake] ctest git submodules

2013-02-26 Thread Jean-Christophe Fillion-Robin
+1 to add these into CTest :) What would be the argument against it ? Jc On Tue, Feb 26, 2013 at 2:40 PM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: On Tue, Feb 26, 2013 at 2:36 PM, Clinton Stimpson clin...@elemtech.com wrote: Thanks. I may have to do that for now. However,

Re: [CMake] QT4 Module Patch Request

2013-02-26 Thread Nicolas Tisserand
Hi, Date: Tue, 26 Feb 2013 20:25:42 +0100 From: Stephen Kelly steve...@gmail.com Subject: Re: [CMake] QT4 Module Patch Request To: cmake@cmake.org Message-ID: kgj27j$m0m$1...@ger.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Could you try this instead? Yes, that works equally

Re: [CMake] how to run cmake without cmakelist.txt file

2013-02-26 Thread felix
use cmake -P myscript.cmake -- View this message in context: http://cmake.3232098.n2.nabble.com/how-to-run-cmake-without-cmakelist-txt-file-tp7583370p7583392.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] QT4 Module Patch Request

2013-02-26 Thread Stephen Kelly
Nicolas Tisserand wrote: Hi, Date: Tue, 26 Feb 2013 20:25:42 +0100 From: Stephen Kelly steve...@gmail.com Subject: Re: [CMake] QT4 Module Patch Request To: cmake@cmake.org Message-ID: kgj27j$m0m$1...@ger.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Could you try this instead?

Re: [CMake] ctest git submodules

2013-02-26 Thread Brad King
On 2/26/2013 2:52 PM, Jean-Christophe Fillion-Robin wrote: +1 to add these into CTest :) What would be the argument against it ? Not every project wants every submodule checked out all the time. A major use case for them is to have an umbrella project with many submodules and the developer may

[CMake] Visual Studio and Pure C application

2013-02-26 Thread Totte Karlsson
Hi, I have a simple application that is 'pure C', no C++. The problem I have is that the solution/project file that CMake generates creates a target that is not C, but C++. In other words, __cplusplus is defined and in some headers there are #defines ifdef(__cplusplus) and having that

Re: [CMake] ctest git submodules

2013-02-26 Thread Marcus D. Hanwell
On Tue, Feb 26, 2013 at 4:50 PM, Brad King brad.k...@kitware.com wrote: On 2/26/2013 2:52 PM, Jean-Christophe Fillion-Robin wrote: +1 to add these into CTest :) What would be the argument against it ? Not every project wants every submodule checked out all the time. A major use case for them

[CMake] MinGW Makefile fails make test

2013-02-26 Thread Donald Robinson
This is a repost (and rewording) of an earlier post Setting CMAKE_BUILD_TOOL or CMAKE_MAKE_PROGRAM with MinGW tools, which garnered no response. Hopefully this post is clearer: I have Cmake 2.8.8 installed along with MinGW 4.7.2 on Windows XP with no other development tools. I would like this

Re: [CMake] MinGW Makefile fails make test

2013-02-26 Thread Alan W. Irwin
On 2013-02-26 17:57-0800 Donald Robinson wrote: This is a repost (and rewording) of an earlier post Setting CMAKE_BUILD_TOOL or CMAKE_MAKE_PROGRAM with MinGW tools, which garnered no response. Hopefully this post is clearer: I have Cmake 2.8.8 installed along with MinGW 4.7.2 on Windows XP

Re: [CMake] ctest git submodules

2013-02-26 Thread NoRulez
I think for the --tags option it is the same, isn't it? How can I set such option for the checkout/update command? Best Regards Am 26.02.2013 um 22:50 schrieb Brad King brad.k...@kitware.com: On 2/26/2013 2:52 PM, Jean-Christophe Fillion-Robin wrote: +1 to add these into CTest :) What would

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2347-g64942b8

2013-02-26 Thread Stephen Kelly
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 64942b81eae527d6f751eb80b066d15cbe06 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2349-gd10c2ca

2013-02-26 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 d10c2caa7c63c4e0de98e4072f58b30fa4969219 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-782-g2929768

2013-02-26 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index ab15aba..2b32914 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 10) -set(CMake_VERSION_TWEAK 20130226