[cmake-developers] [CMake 0011752]: FindHDF5.cmake debug and release libraries get mixed in release configuration

2011-01-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11752 == Reported By:Stephan Meister Assigned To:

[cmake-developers] NMake and trailing directory separators in custom commands?

2011-01-25 Thread Johan Björk
Hi everyone, I just started using the NMake generator, and ran into an issue that is probably trivial to fix for someone who knows the generator code. If one of the steps for the makefile contains a trailing directory separator, it will escape the newline and result in an invalid command. ie

[cmake-developers] [CMake 0011753]: int main() can cause warnings when -Wstrict-prototypes and -Werror is used

2011-01-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=11753 == Reported By:James Bigler Assigned To:

[cmake-developers] [CMake 0011760]: Change default link order for mingw

2011-01-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11760 == Reported By:Dongsheng Song Assigned To:

Re: [CMake] Produce only an object file (*.o) from a CMake build target

2011-01-25 Thread Michael Hertling
On 01/24/2011 06:37 PM, Helseth, Nicholas H wrote: I'm trying to build an object file using CMake, but I can't seem to get CMake to build something other than a complete executable. I'm basically looking for the result of the following compilation (the result will be loaded on a VxWorks

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-25 Thread Raymond Wan
Hi Daniel, Thanks for the reply! On Tue, Jan 25, 2011 at 16:15, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am Dienstag, den 25.01.2011, 15:41 +0900 schrieb Raymond Wan:  Everything is fine except that pdflatex doesn't seem to work with images well on my system...  That's of course my

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-25 Thread Raymond Wan
Hi Daniel, On Tue, Jan 25, 2011 at 16:15, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am Dienstag, den 25.01.2011, 15:41 +0900 schrieb Raymond Wan: ... Is there something I can do in my CMakeLists.txt file to ensure that it is the default target (and not pdf or any of the others) when I

[CMake] add_custom_command and generated true

2011-01-25 Thread Micha Renner
Recently, I learned that ADD_CUSTOM_COMMAND generated the property GENERATED TRUE for the generated file. Somehow I have trouble in this situation: In a top level CMakeLists file a source file, blue.c, is generated. This file should be used in a subdirectory with its own CMakeLists file.

Re: [CMake] Cannot run/debug cmake project with MSVC 2010 which works well in Linux

2011-01-25 Thread David Cole
On Mon, Jan 24, 2011 at 10:03 PM, Srimal Jayawardena srim...@gmail.com wrote: Hi Thanks for the advise. You're welcome. Please include the CMake mailing list on all your replies so that: (1) others may jump in and help in case I can't reply to a particular email in a timely manner and (2)

Re: [CMake] Restrictions on where a binary can be put?

2011-01-25 Thread Michael Hertling
On 01/21/2011 08:47 AM, Andreas Pakulat wrote: On 21.01.11 01:37:41, Michael Hertling wrote: So, what's your conclusion in this matter? Should the behavior in question be considered as a bug or is it alright? IMO, such a subtle side effect of a read operation on a subsequent write operation is

Re: [CMake] Restrictions on where a binary can be put?

2011-01-25 Thread Michael Hertling
On 01/21/2011 04:41 PM, Alexander Neundorf wrote: On Friday 21 January 2011, Michael Hertling wrote: On 01/20/2011 07:01 PM, Alexander Neundorf wrote: On Sunday 09 January 2011, Michael Hertling wrote: ... I don't really understand why you want to get the LOCATION from your target, anyway,

Re: [CMake] Cannot run/debug cmake project with MSVC 2010 which works well in Linux

2011-01-25 Thread Ryan Pavlik
(Btw can we set the startup project automatically by setting an option in the CMakeList.txt file?) No, net yet. People have asked for this feature, but we have not figured out a good way to do it yet. You might consider using my CreateLaunchers.cmake script, which can set the

[CMake] CMake 2.8.3 with VC2010 - CHECK_FUNCTION_EXISTS failed

2011-01-25 Thread Dongsheng Song
Hi, When I use the following CMakeLists.txt: CMAKE_MINIMUM_REQUIRED (VERSION 2.8) INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake) CHECK_FUNCTION_EXISTS(log HAVE_LOG) CHECK_FUNCTION_EXISTS(exp HAVE_EXP) E:\varcmake -G NMake Makefiles -- The C compiler identification is MSVC -- The CXX

Re: [CMake] add_custom_command and generated true

2011-01-25 Thread Michael Hertling
On 01/25/2011 10:17 AM, Micha Renner wrote: Recently, I learned that ADD_CUSTOM_COMMAND generated the property GENERATED TRUE for the generated file. Somehow I have trouble in this situation: In a top level CMakeLists file a source file, blue.c, is generated. This file should be used in a

Re: [CMake] add_custom_command and generated true

2011-01-25 Thread Micha Renner
Am Dienstag, den 25.01.2011, 15:34 +0100 schrieb Michael Hertling: On 01/25/2011 10:17 AM, Micha Renner wrote: Recently, I learned that ADD_CUSTOM_COMMAND generated the property GENERATED TRUE for the generated file. Somehow I have trouble in this situation: In a top level

Re: [CMake] Improvements for cross-referencing in the documentation?

2011-01-25 Thread Michael Jackson
I use the following script to generate a QtAssistant based documentation set. This allows quick searching of the docs and a more organized CMake documentation package. Here is the bash script. Maybe some else will find it useful also. I'll be the first to admit that I am not the best/most

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-25 Thread Moreland, Kenneth
Looking at the source code, I believe it is assumed that the paths you give for images are relative to the directory ADD_LATEX_DOCUMENT is called. If you make it an absolute path, UseLATEX.cmake will look in the wrong directory for your images, find none, and do no conversions. That would

Re: [CMake] directory traverse guidance

2011-01-25 Thread luxInteg
On Tuesday 25 January 2011 07:53:24 Andreas Pakulat wrote: On 25.01.11 02:57:27, luxInteg wrote: Greetings I am learning cmake consider my project with two directories dir1 and dir2 if I want to:- move to dir1 and add a library libA in dir1 move to dir2 and add a

Re: [CMake] CMake 2.8.3 with VC2010 - CHECK_FUNCTION_EXISTS failed

2011-01-25 Thread Bill Hoffman
On 1/25/2011 9:14 AM, Dongsheng Song wrote: From the page http://www.cmake.org/Wiki/CMake_FAQ#Is_there_an_option_to_produce_more_.27verbose.27_compiling.3F but when I set CMAKE_START_TEMP_FILE and CMAKE_END_TEMP_FILE to , CMakeError.log still include such lines: E:\usr\vs2010\VC\bin\cl.exe

Re: [CMake] directory traverse guidance

2011-01-25 Thread Andreas Pakulat
On 25.01.11 19:09:23, luxInteg wrote: On Tuesday 25 January 2011 07:53:24 Andreas Pakulat wrote: On 25.01.11 02:57:27, luxInteg wrote: Greetings I am learning cmake consider my project with two directories dir1 and dir2 if I want to:- move to dir1 and add a

Re: [CMake] Improvements for cross-referencing in the documentation?

2011-01-25 Thread SF Markus Elfring
Currently, for formatting the format as described in the readme.txt in the CMake modules directory is used (i.e. not that much formatting). Do higher level programming interfaces exist that can work with message/documentation templates in various file formats? Regards, Markus

Re: [CMake] Improvements for cross-referencing in the documentation?

2011-01-25 Thread Alexander Neundorf
On Tuesday 25 January 2011, SF Markus Elfring wrote: Currently, for formatting the format as described in the readme.txt in the CMake modules directory is used (i.e. not that much formatting). Do higher level programming interfaces exist that can work with message/documentation templates in

[CMake] FindThreads in quiet mode

2011-01-25 Thread Mateusz Loskot
Hi, Is there any way to use FindThreads in quiet mode without hacking the script itself? In my configuration, I use all Find* modules in quiet mode and only the FindThreads makes noise: -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found

Re: [CMake] CMake 2.8.3 with VC2010 - CHECK_FUNCTION_EXISTS failed

2011-01-25 Thread Dongsheng Song
Thanks, I known the reason why cmke can not found the crt functions: When I set CFLAGS with double quotation marks: SET CFLAGS=/nologo /W3 /EHsc /O2 /Oy- /Zi /D_WIN32_WINNT=0x0502 /DWIN32_LEAN_AND_MEAN=1 Then cmake can issued invalid command lines like this: CL.EXE /nologo /nologo /W3 /EHsc

[Cmake-commits] CMake branch, next, updated. v2.8.3-1471-gd6e83d2

2011-01-25 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 d6e83d242d46edf89e83c1d4081defe7cc923bb4 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1473-g803a7cb

2011-01-25 Thread David Cole
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 803a7cb19950ea307568294e324ad73646026cfa (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-560-gf0acf05

2011-01-25 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 f0acf05656f0b5fe40e7e19adb7dd9343d674462 (commit) from