Re: [CMake] find_library search orders with CMAKE_PREFIX_PATH & CMAKE_FIND_ROOT_PATH

2012-05-23 Thread Nicolas Tisserand
On Wed, May 23, 2012 at 11:29 AM, David Cole wrote: > Regarding the loop swapping you ask about in your original post: > > I know we've discussed swapping those loops before on this list, quite to > exhaustion. I'm sorry to read that... now that I raised the topic again. > The bottom line is:

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Eric Noulard
2012/5/23 Oliver Smith : > On 5/23/2012 4:45 PM, jrosensw wrote: >> >> Hi Alexander, >> >>    I tried this already.  However I'm not sure what a "clean build tree" >> means.  Maybe thats my problems.  All I did was this: >> >> CXX="/insure/g++" cmake . >> >>    But when I compiled I did not see a c

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Thanks Oliver! -- View this message in context: http://cmake.3232098.n2.nabble.com/Need-to-prepend-compiler-with-static-analysis-tool-tp7574176p7574256.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://

[CMake] Clang + MinGW Linking Issue

2012-05-23 Thread Justin Holewinski
Hi All, I've been trying out CMake for building C++ applications on Windows with Clang, using the MinGW headers/libraries. This works fine, except if I need to pull in non-default system libraries that are included with MinGW, such as libpsapi.a (psapi.lib for VS). For example, if I have the fol

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Oliver Smith
On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander, I tried this already. However I'm not sure what a "clean build tree" means. Maybe thats my problems. All I did was this: CXX="/insure/g++" cmake . But when I compiled I did not see a change. How do I get my tree to a "clean state"

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Hi Alexander, I tried this already. However I'm not sure what a "clean build tree" means. Maybe thats my problems. All I did was this: CXX="/insure /g++" cmake . But when I compiled I did not see a change. How do I get my tree to a "clean state"? Other than running "make clean" which

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Alexander Neundorf
On Wednesday 23 May 2012, jrosensw wrote: > Hey all, > >I'm trying to integrate insure++ with my cmake workspace. The way > insure works is that you prepend the compiler with the insure executable. > For example "/usr/bin/insure /usr/bin/g++ -o test test.cpp". I've tried > to overrid CMAKE_

[CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread jrosensw
Hey all, I'm trying to integrate insure++ with my cmake workspace. The way insure works is that you prepend the compiler with the insure executable. For example "/usr/bin/insure /usr/bin/g++ -o test test.cpp". I've tried to overrid CMAKE_CXX_COMPILER with these two executables, but it doesn'

Re: [CMake] find_library search orders with CMAKE_PREFIX_PATH & CMAKE_FIND_ROOT_PATH

2012-05-23 Thread David Cole
Regarding the loop swapping you ask about in your original post: I know we've discussed swapping those loops before on this list, quite to exhaustion. The bottom line is: we will not be changing those loops so as to preserve existing behavior. If we do add code to swap those loops, then it would

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-23 Thread Wiser, Tyson
>> We don't modify external dependencies, but we do need to check them >> out and build them before building a library or executable that depends on >> them. >> Sometimes a developer will be working in a single library or executable. >> Sometimes he will be working in multiple libraries and/or ex

Re: [CMake] find_library search orders with CMAKE_PREFIX_PATH & CMAKE_FIND_ROOT_PATH

2012-05-23 Thread Nicolas Tisserand
On Wed, May 23, 2012 at 1:01 AM, Eric Noulard wrote: > I'm not sure I understand, doesn't the > -DCMAKE_FIND_ROOT_PATH:PATH=/Users/nt/Hacks/cmake-find-png/stage > -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY > case gives you want you want: Yes, I forgot to clarify that point. It does not work

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-23 Thread Dan Kegel
On Wed, May 23, 2012 at 9:52 AM, Wiser, Tyson wrote: > We don't modify external dependencies, but we do need to check them out and > build them before building a library or executable that depends on them. > Sometimes a developer will be working in a single library or executable. > Sometimes he wi

[CMake] CMake for many interdependent libraries/executables

2012-05-23 Thread Wiser, Tyson
We currently have a fair number of libraries, executables and external dependencies with fairly complicated dependencies. As a simplified example, consider the following diagram where dependencies flow from top to bottom (i.e. higher depends on lower). exe1 exe2 | | \

Re: [CMake] Overriding the toplevel directory name in a TGZ package?

2012-05-23 Thread Eric Noulard
2012/5/23 Clifford Yapp : > The CPack tool provides a variable CMAKE_INCLUDE_TOPLEVEL_DIRECTORY > option to control whether to set a toplevel directory in (say) a > tar.gz archive, but so far I have not been able to figure out if there > is a way to change this directory name to something not direc

[CMake] Overriding the toplevel directory name in a TGZ package?

2012-05-23 Thread Clifford Yapp
The CPack tool provides a variable CMAKE_INCLUDE_TOPLEVEL_DIRECTORY option to control whether to set a toplevel directory in (say) a tar.gz archive, but so far I have not been able to figure out if there is a way to change this directory name to something not directly based on the file name. Tryin

Re: [CMake] cdash hiding dashboards

2012-05-23 Thread Simon St James
Yngve Levinsen writes: > > Dear all, > > I think I've managed to trigger the problem. I had recreated the > projects and just now I changed the timezone on my computer. By > accident it had been reset to Canada/Something, and I changed it back > to Europe/Zurich again. After a computer restart

Re: [CMake] Why is Ninja generator disabled by default?

2012-05-23 Thread Andreas Mohr
Hi, On Tue, May 22, 2012 at 10:33:06AM -0400, cmake-requ...@cmake.org wrote: > Date: Tue, 22 May 2012 06:35:35 -0500 > From: Richard Wackerbarth > > One of the differences that shows up in the dashboard is that there is a > compile test which passes with normal Unix file paths, but fails when t

Re: [CMake] find_library search orders with CMAKE_PREFIX_PATH & CMAKE_FIND_ROOT_PATH

2012-05-23 Thread Eric Noulard
2012/5/23 Nicolas Tisserand : > Hi all, > > I am currently building a collection of inter-dependent libraries and tools, > mostly cmake-built, all installed to a common staging directory. > > I therefore need CMake find_library & find_package commands to search in the > staging directory first, bef