[cmake-developers] [CMake 0012954]: cmake does not properly detect shared libraries on OpenBSD 5.0

2012-02-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12954 == Reported By:Eric Anderson Assigned To:

[CMake] ansi color

2012-02-10 Thread Matt Fair
I'd like to be able to pipe cmake output and still have the ansi color codes when the output is not TTY, is there a way to do this? Thanks, Matt -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread Eric Noulard
2012/2/10 Stefan Fendt ste...@sfendt.de: Hi, I'm (still) quite unsure if this isn't an FAQ (or if not maybe should be one), but I have read through everything I could google-up regarding this topic and found nothing usable... I'm writing an x-platform-project which will be compiled using

Re: [CMake] How to use CMake with icc via configuration options when needing interprocedural optimization?

2012-02-10 Thread janitor 048
Thank you so much for the hint. Setting the environment variable CXX from within my CMakeLists.txt via SET(ENV{CXX} icpc) but before any call to project() or enable_language() seems indeed to do the trick. Setting CMAKE_CXX_FLAGS_RELEASE or CMAKE_CXX_FLAGS_DEBUG at this stage however does not

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-10 Thread Eric Noulard
2012/2/10 aaron.mead...@thomsonreuters.com: I went through the slides; pretty good introduction-intermediate presentation. Thank you, and yes that was pretty much the target. We did dive into some more advanced feature on-demand during the presentation.  I'm forwarding it to all the teams I

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-10 Thread Yuri Timenkov
I did the same. And besides being a good CMake tutorial this is also awesome example how to make presentations with Latex :) Thanks for sharing sources. On Fri, Feb 10, 2012 at 4:03 AM, aaron.mead...@thomsonreuters.com wrote: I went through the slides; pretty good introduction-intermediate

Re: [CMake] How to use CMake with icc via configuration options when needing interprocedural optimization?

2012-02-10 Thread Rolf Eike Beer
Thank you so much for the hint. Setting the environment variable CXX from within my CMakeLists.txt via SET(ENV{CXX} icpc) but before any call to project() or enable_language() seems indeed to do the trick. Setting CMAKE_CXX_FLAGS_RELEASE or CMAKE_CXX_FLAGS_DEBUG at this stage however does

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-10 Thread Eric Noulard
2012/2/10 Yuri Timenkov y...@timenkov.ru: I did the same. And besides being a good CMake tutorial this is also awesome example how to make presentations with Latex :) Thanks for that too. Non mentionning that I did not have enough time to add the extra eye-candy animation using an impressive

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread aaron . meadows
(Wow, Eric, I didn't know about CMAKE_CFG_INTDIR! Seems like you are teaching me all kinds of things this week...) It sounds like what you are missing is having the command executed by Visual Studio, so it can do the substitution of the $(Configuration) variable, which is why you need to use

Re: [CMake] PARENT_SCOPE for unset()?

2012-02-10 Thread Robert Dailey
I actually found that using the following worked the exact same for me: set( var PARENT_SCOPE ) It passed the NOT test in my if condition: if( NOT var ) ... endif() It might make more sense to require 2 parameters for set() (the variable name and its value). If setting to nothing, use a blank

Re: [CMake] PARENT_SCOPE for unset()?

2012-02-10 Thread Robert Dailey
Also I wonder what happens if you do this: set( var PARENT_SCOPE PARENT_SCOPE PARENT_SCOPE ) - Robert Dailey On Fri, Feb 10, 2012 at 8:59 AM, Robert Dailey rcdai...@gmail.com wrote: I actually found that using the following worked the exact same for me: set( var PARENT_SCOPE )

Re: [CMake] ansi color

2012-02-10 Thread Brad King
On 2/10/2012 3:15 AM, Matt Fair wrote: I'd like to be able to pipe cmake output and still have the ansi color codes when the output is not TTY, is there a way to do this? Not currently. The isatty test is hard-coded here:

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread Michael Hertling
On 02/10/2012 09:41 AM, Eric Noulard wrote: 2012/2/10 Stefan Fendt ste...@sfendt.de: Hi, I'm (still) quite unsure if this isn't an FAQ (or if not maybe should be one), but I have read through everything I could google-up regarding this topic and found nothing usable... I'm writing an

Re: [CMake] PARENT_SCOPE for unset()?

2012-02-10 Thread Michael Hertling
On 02/10/2012 03:59 PM, Robert Dailey wrote: I actually found that using the following worked the exact same for me: set( var PARENT_SCOPE ) It passed the NOT test in my if condition: if( NOT var ) ... endif() Does it pass the NOT DEFINED test, too? There's a difference between an

Re: [CMake] PARENT_SCOPE for unset()?

2012-02-10 Thread David Cole
On Fri, Feb 10, 2012 at 10:00 AM, Robert Dailey rcdai...@gmail.com wrote: Also I wonder what happens if you do this: set( var PARENT_SCOPE PARENT_SCOPE PARENT_SCOPE ) That sets var to PARENT_SCOPE;PARENT_SCOPE in the parent scope. - Robert Dailey On Fri, Feb 10, 2012 at

Re: [CMake] ansi color

2012-02-10 Thread Michael Hertling
On 02/10/2012 09:15 AM, Matt Fair wrote: I'd like to be able to pipe cmake output and still have the ansi color codes when the output is not TTY, is there a way to do this? Thanks, Matt You might do this by yourself using sed/awk/perl/... and the ANSI CSIs; refer to [1] for a similar example.

[CMake] Visual studio platform selection

2012-02-10 Thread Zoltan Gaal
Is there a way to select generators for 3rd party platforms in visual studio ? There exist only x86 or win32 to select from, but we have some other platform (pocketpc, smartphone, etc.), and some more provided by 3rd parties. I've tried to search for solutions, but found none this far. And if

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread Michael Jackson
Specifically on point b below. I configure a header file with the location of each input file. That header file is then used in the unit tests as the path to the file. That way it works for anyone in any directory on any operating system. // Example Input header file namespace Test1 { const

Re: [CMake] Copying Files into build-dir under Visual Studio vs.Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread aaron . meadows
That's a nice method too. I suppose the hard coding wouldn't matter in a UnitTest. Aaron Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Jackson Sent: Friday, February 10, 2012 10:37 AM To: CMake ML Subject: Re: [CMake]

[Cmake-commits] CMake branch, next, updated. v2.8.7-2552-gbc679d0

2012-02-10 Thread Rolf Eike Beer
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 bc679d042c6079d41abdbd26c6ee5107f7b3b527 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2554-gc545412

2012-02-10 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 c545412afaf6f28bcb9e9dd31d96dcd9e27ff5fc (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2556-g805cf9f

2012-02-10 Thread Alexey Ozeritsky
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 805cf9fc9a54561b2a148cfb07d98f48c044c6e6 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.7-309-g677047d

2012-02-10 Thread KWSys Robot
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, master has been updated via 677047dda0620fa675bcc1a8bacde5388ad954c3 (commit) from