[CMake] static library linking

2008-06-14 Thread Steven Van Ingelgem
Hi, I have a question about CMP0003... When I give the full path to a static library, it's supposed to link against that one... But right now I'm linking against: "/usr/lib/libpthread.a" (message before the target_link_libraries call) This results however in "-Wl,-Bstatic -lpthread"... Which does

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Mike Jackson
On Jun 14, 2008, at 5:37 PM, Miguel A. Figueroa-Villanueva wrote: Hello Alex, On Sat, Jun 14, 2008 at 1:49 PM, Alexander Neundorf wrote: On Saturday 14 June 2008, Miguel A. Figueroa-Villanueva wrote: I'm reviewing a few CMake variables used to determine the platform we are in. I'm looking

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Miguel A. Figueroa-Villanueva
Hello Alex, On Sat, Jun 14, 2008 at 1:49 PM, Alexander Neundorf wrote: > On Saturday 14 June 2008, Miguel A. Figueroa-Villanueva wrote: >> I'm reviewing a few CMake variables used to determine the platform we >> are in. I'm looking at the "cmake --help-variable" output and at the >> wiki (http://w

[CMake] [PATCH] simple test to test the FindXXX.cmake modules

2008-06-14 Thread Alexander Neundorf
Hi, attached you can find a patch which adds a test named FindModulesExecuteAll to CMake/Tests/. It include()s all FindXXX.cmake files, so they are all executed. Right now this only ensures that the files can be executed by cmake and that they don't fail with FATAL_ERROR if they failed and REQU

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Alexander Neundorf
On Saturday 14 June 2008, Miguel A. Figueroa-Villanueva wrote: > Hello, > > I'm reviewing a few CMake variables used to determine the platform we > are in. I'm looking at the "cmake --help-variable" output and at the > wiki (http://www.cmake.org/Wiki/CMake_Useful_Variables). > > I found a discrepan

[CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-14 Thread Miguel A. Figueroa-Villanueva
Hello, I'm reviewing a few CMake variables used to determine the platform we are in. I'm looking at the "cmake --help-variable" output and at the wiki (http://www.cmake.org/Wiki/CMake_Useful_Variables). I found a discrepancy, which should be fixed. In the help output for APPLE it returns: True if

Re: [CMake] Fwd: Installing Find.cmake files

2008-06-14 Thread Alexander Neundorf
On Friday 13 June 2008, Horacio Sanson wrote: > I have created some shared libraries I use in some of my > applications. The CMake of these libraries generate the respective > Find.cmake files that other applications use to locate the > header and binary files they need to link it. > > At this ti

Re: [CMake] Generating warnings for undefined variables?

2008-06-14 Thread Alexander Neundorf
On Saturday 14 June 2008, Matthew Woehlke wrote: > Philip Lowman wrote: > > So a few months back I was bored one night and dug through the CMake bug > > tracker looking for something interesting. I came across a request from > > a user to have CMake generate warnings when undefined variables are >

[CMake] Fwd: Re: [ctest] xml output transformation

2008-06-14 Thread Maik Beckmann
I got my head around this stuff and realized that the solution is far simpler than I thought before. No changes to the cmake codebase are needed. I will continue this thread during the next days... Am Donnerstag 22 Mai 2008 16:29:51 schrieb Maik Beckmann: > Hello again, > > Doing it via xsl t