Re: [CMake] Specifying compilers?

2012-08-23 Thread Rolf Eike Beer
Jason T. Slack-Moehrle wrote: Hello, I am trying to use come C++v11 features and am trying to get the compiling to work. The error: [jtsm@server]$ ./build.sh -- The C compiler identification is Clang 4.0.0 -- The CXX compiler identification is Clang 4.0.0 -- Check for working C

Re: [CMake] Windows Ninja cmcldeps.exe too verbose

2012-08-23 Thread Nils Gladitz
I was using the Intel provided build environment (sets up environment variables and runs cmd.exe) with CC and CXX set to icl which apparently is the cause of the extra verbosity. When I use the same environment without CC and CXX set (which in this case defaults them to cl provided by visual

Re: [CMake] Specifying compilers?

2012-08-23 Thread Jason T. Slack-Moehrle
I am trying to use come C++v11 features and am trying to get the compiling to work. SET( CMAKE_CXX_FLAGS -std=c++11 -stdlib=libc++ ) PROJECT( ${PROJECT_NAME} ) PROJECT will set up the compiler and stuff. And in this process it will set CMAKE_CXX_FLAGS, i.e. will overwrite your lines.

[CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Robert Dailey
Is the separation between configuration generation really necessary for cmake-gui? I ask because several of my co-workers are confused between the differences in the two, even though I explain it. Honestly there isn't really a reason that I can think of to do a configure without a generate,

[CMake] Formatting CMakeLists

2012-08-23 Thread Jason T. Slack-Moehrle
A few questions on formatting the CMakeLists file. Is there sort of a template that everyone uses to ensure not overwriting options, etc? Second, when using commands like: SET( CORE_SOURCE_FILES main.cpp ) can I break lines like: SET( CORE_SOURCE_FILES main.cpp file1.cpp file2.cpp ) and do I

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread John Drescher
Is the separation between configuration generation really necessary for cmake-gui? I ask because several of my co-workers are confused between the differences in the two, even though I explain it. Honestly there isn't really a reason that I can think of to do a configure without a generate,

Re: [CMake] Formatting CMakeLists

2012-08-23 Thread John Drescher
On Thu, Aug 23, 2012 at 11:39 AM, Jason T. Slack-Moehrle slackmoeh...@gmail.com wrote: A few questions on formatting the CMakeLists file. Is there sort of a template that everyone uses to ensure not overwriting options, etc? Second, when using commands like: SET( CORE_SOURCE_FILES main.cpp

[CMake] cmake_minimum_required in third party scripts

2012-08-23 Thread Robert Dailey
Suppose a case where I am taking some CMake modules that provide additional functionality for me. Those modules are designed to be third-party, and used independently of any CMake project. However, those modules will require a minimum version of CMake separate from the minimum that may be required

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Robert Dailey
On Thu, Aug 23, 2012 at 10:43 AM, John Drescher dresche...@gmail.com wrote: Is the separation between configuration generation really necessary for cmake-gui? I ask because several of my co-workers are confused between the differences in the two, even though I explain it. Honestly there

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Robert Dailey
On Thu, Aug 23, 2012 at 10:48 AM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher dresche...@gmail.com wrote: Is the separation between configuration generation really necessary for cmake-gui? I ask because several of my co-workers are confused

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

2012-08-23 Thread Xavier Besseron
Sorry for this late reply. http://public.kitware.com/Bug/view.php?id=12630 - Support for SVN externals in CTest update I will resume the discussion about this issue in the mailing list. Xavier On Fri, Aug 10, 2012 at 10:47 PM, David Cole david.c...@kitware.com wrote: Hi all, Replies

Re: [CMake] Specifying compilers?

2012-08-23 Thread David Cole
On Thu, Aug 23, 2012 at 11:14 AM, Jason T. Slack-Moehrle slackmoeh...@gmail.com wrote: I am trying to use come C++v11 features and am trying to get the compiling to work. SET( CMAKE_CXX_FLAGS -std=c++11 -stdlib=libc++ ) PROJECT( ${PROJECT_NAME} ) PROJECT will set up the compiler

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread David Cole
On Thu, Aug 23, 2012 at 11:50 AM, Robert Dailey rcdailey.li...@gmail.comwrote: On Thu, Aug 23, 2012 at 10:48 AM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher dresche...@gmail.com wrote: Is the separation between configuration generation

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Andreas Pakulat
Hi, On Thu, Aug 23, 2012 at 5:48 PM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher dresche...@gmail.com wrote: Is the separation between configuration generation really necessary for cmake-gui? I ask because several of my co-workers are confused

Re: [CMake] Calling NMake from CMake

2012-08-23 Thread Brian Davis
Thanks for the response on this, I was able to get this to work (to degrees) with libtiff and Jasper as well as other non CMake-a-fied projects. I have run into another issue where I wish to use configure_file to generate a CMakeLists.txt file in the directory where ExternalProject_add dumps the

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Robert Dailey
On Thu, Aug 23, 2012 at 1:12 PM, Andreas Pakulat ap...@gmx.de wrote: Hi, On Thu, Aug 23, 2012 at 5:48 PM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher dresche...@gmail.com wrote: Is the separation between configuration generation really

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Robert Dailey
On Thu, Aug 23, 2012 at 1:03 PM, David Cole david.c...@kitware.com wrote: On Thu, Aug 23, 2012 at 11:50 AM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:48 AM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher

Re: [CMake] Calling NMake from CMake

2012-08-23 Thread David Cole
I use a technique like this: configure_file(input ${CMAKE_CURRENT_BINARY_DIR}/proj-CMakeLists.txt @ONLY) # or maybe COPYONLY instead of @ONLY if you have no replacements occurring ExternalProject_Add(proj URL http://blah/blah/blah.tar.gz URL_MD5 md5-ofcourse PATCH_COMMAND

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread David Cole
On Thu, Aug 23, 2012 at 2:24 PM, Robert Dailey rcdailey.li...@gmail.comwrote: On Thu, Aug 23, 2012 at 1:03 PM, David Cole david.c...@kitware.com wrote: On Thu, Aug 23, 2012 at 11:50 AM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:48 AM, Robert Dailey

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Andreas Pakulat
Hi, On Thu, Aug 23, 2012 at 8:20 PM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 1:12 PM, Andreas Pakulat ap...@gmx.de wrote: Hi, On Thu, Aug 23, 2012 at 5:48 PM, Robert Dailey rcdailey.li...@gmail.com wrote: On Thu, Aug 23, 2012 at 10:43 AM, John Drescher

Re: [CMake] cmake-gui's separation between configuration generation

2012-08-23 Thread Keith Gardner
Hi, Even if the Linux environment does not have a GUI, you can use ccmake. It is like the cmake-gui but runs inside a terminal window. I use this all the time on Windows through putty. As for clicking generate, with the latest version of CMake, you can click generate without clicking

[CMake] EXECUTABLE_OUTPUT_PATH showing in list of cache variables

2012-08-23 Thread Robert Dailey
I'm not sure if my eyes are playing tricks on me, but after upgrading to 2.8.9 I'm seeing EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH in my list of cache variables now, I don't remember seeing them before. Is this a feature? I didn't see any mention of this in the changelogs. If this is new,

Re: [CMake] EXECUTABLE_OUTPUT_PATH showing in list of cache variables

2012-08-23 Thread John Drescher
On Thu, Aug 23, 2012 at 4:55 PM, Robert Dailey rcdailey.li...@gmail.com wrote: I'm not sure if my eyes are playing tricks on me, but after upgrading to 2.8.9 I'm seeing EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH in my list of cache variables now, I don't remember seeing them before. Is

Re: [CMake] EXECUTABLE_OUTPUT_PATH showing in list of cache variables

2012-08-23 Thread David Cole
grep your source tree for those variables (or your third party CMake files that you're including) CMake itself will not add those variables. CMakeLists.txt files may. On Thu, Aug 23, 2012 at 4:55 PM, Robert Dailey rcdailey.li...@gmail.comwrote: I'm not sure if my eyes are playing tricks on

Re: [CMake] Getting started with the tutorial

2012-08-23 Thread Stefan Reuschl
Am 22.08.2012, 22:59 Uhr, schrieb David MacQuigg macqu...@ece.arizona.edu: I'm just getting started with CMake. Downloaded and installed version 2.8.9 under Mac OS 10.6. Downloaded the tutorial (Step 1) from Tests/Tutorial. Everything looks normal. I then ran CMake and filled out the

[CMake] CMAKE 2.8.9 not observing CMAKE_FILES_DIRECTORY?

2012-08-23 Thread Jason T. Slack-Moehrle
Hello OS X 10.8, CMAKE 2.8.9. In CMAKE 2.8.9 it seems that CMAKE_FILES_DIRECTORY SET( PROJECT_BINARY_DIR . ) SET( CMAKE_FILES_DIRECTORY ${PROJECT_BINARY_DIR}/output/CMakeFiles ) SET( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin ) I dont see an 'output/CMakeFiles' created but I do see a

Re: [CMake] Getting started with the tutorial

2012-08-23 Thread David MacQuigg
From: Stefan Reuschl li...@stefanreuschl.de To: David MacQuigg macqu...@ece.arizona.edu Cc: cmake@cmake.org cmake@cmake.org Sent: Thursday, August 23, 2012 2:32 PM Subject: Re: [CMake] Getting started with the tutorial Am 22.08.2012, 22:59 Uhr, schrieb

Re: [cmake-developers] Exporting dependent library targets in multiple export sets

2012-08-23 Thread Yury G. Kudryashov
Hi! 2012/8/23 Daniel Pfeifer dan...@pfeifer-mail.de: 2012/8/22 Yury G. Kudryashov urkud.ur...@gmail.com: Any latest install strategy is bound to generate subtle problems. Dependencies among export sets should be explicit: install(EXPORT MyExport DEPENDS YourExport) How should I choose

Re: [cmake-developers] lua bindings?

2012-08-23 Thread Peter Kümmel
Here an example how a Lua based build system could look like: https://github.com/deplinenoise/tundra/blob/master/tundra.lua And more details here: http://deplinenoise.files.wordpress.com/2011/04/tundra43.pdf Peter -- Powered by www.kitware.com Visit other Kitware open-source projects

Re: [cmake-developers] Directory for debug symbols

2012-08-23 Thread Peter Kümmel
On 22.08.2012 15:13, Brad King wrote: On 08/22/2012 09:09 AM, Peter Kümmel wrote: I wouldn't introduce a variable which will become obsolete, because of the backward compatibility matra such a variable could never be removed. Why not simply document that SYMBOL_OUTPUT_DIRECTORY is currently

Re: [cmake-developers] conditionals in generator expressions

2012-08-23 Thread Brad King
On 08/22/2012 06:12 PM, Stephen Kelly wrote: of linking there are multiple targets involved so we do not know which one the user may mean. I think it's something we can just define, is it not? Some expressions might want the target being linked while others may want the target in which the

Re: [cmake-developers] Exporting dependent library targets in multiple export sets

2012-08-23 Thread Brad King
On 08/23/2012 04:20 AM, Yury G. Kudryashov wrote: Hi! 2012/8/23 Daniel Pfeifer dan...@pfeifer-mail.de: 2012/8/22 Yury G. Kudryashov urkud.ur...@gmail.com: Any latest install strategy is bound to generate subtle problems. Dependencies among export sets should be explicit: install(EXPORT

Re: [cmake-developers] lua bindings?

2012-08-23 Thread Alexander Neundorf
On Thursday 23 August 2012, Peter Kümmel wrote: Here an example how a Lua based build system could look like: https://github.com/deplinenoise/tundra/blob/master/tundra.lua And more details here: http://deplinenoise.files.wordpress.com/2011/04/tundra43.pdf So, another buildsystem

[Cmake-commits] CMake branch, next, updated. v2.8.9-254-g1f0d0ae

2012-08-23 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 1f0d0ae9dbe9cc589ed39b87bd28d9cbb2391325 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-139-g19d9f59

2012-08-23 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index eb1e6ac..3bdb60c 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 20120823