[cmake-developers] [CMake 0012620]: FindPkgConfig does not fail when pkg-config is not installed

2011-12-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12620 == Reported By:Aurélien Gâteau Assigned To:

[cmake-developers] [CMake 0012621]: Compatibility with Xcode 4.2

2011-12-12 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12621 == Reported By:davidrogers Assigned To:

Re: [CMake] hear hear

2011-12-12 Thread Johannes Zarl
On Tuesday, 6. December 2011, 17:27:47, Daniel Dekkers wrote: On Dec 4, 2011, at 11:59 AM, Michael Jackson wrote: I think if the CMake community took a vote we could probably come up with an Exemplar Find*.cmake file that is good for someone trying to develop a new one. Yes please. And

Re: [CMake] print content of linking script ?

2011-12-12 Thread Ilias Miroslav
Dear Eric, I tried the file(READ... cmake command, but it does not work during CMake buildup - the link.txt file is ready for reading only after ending the buildup what is not my case. Why I need it ? Some time ago I reported problem about missing static library:

Re: [CMake] Top level target depending on a file

2011-12-12 Thread Alexander Broekhuis
Hi, Can anyone help me with this? I haven't found a proper solution myself yet.. 2011/12/8 Alexander Broekhuis a.broekh...@gmail.com Hi all, In my project, some top level targets depend on simple text files. These targets produce a zip file as output, this is done using a custom command

Re: [CMake] print content of linking script ?

2011-12-12 Thread Eric Noulard
2011/12/12 Ilias Miroslav miroslav.il...@umb.sk: Dear Eric, I tried the file(READ... cmake command, but it does not work during CMake buildup -  the link.txt file is ready for reading only after ending the buildup what is not my case. Why I need it ? Some time ago I reported problem

Re: [CMake] Top level target depending on a file

2011-12-12 Thread Eric Noulard
2011/12/12 Alexander Broekhuis a.broekh...@gmail.com: Hi, Can anyone help me with this? I haven't found a proper solution myself yet.. The fact is there is no builtin support for what you ask see: http://public.kitware.com/Bug/view.php?id=8438 But the thing is. Why don't you create a top

Re: [CMake] Java support - install with components

2011-12-12 Thread Allen D Byrne
andreas, Yes I agree the COMPONENT should be optional, but handled in the same manner as the install command - in fact if the function is to incorporate the INSTALL command then we must have a way to pass the same options to the INSTALL command that the INSTALL command supports. Maybe, we

Re: [CMake] Problem Compiling on Solaris 10 x86

2011-12-12 Thread Christopher Hylarides
I already had the output for VERBOSE=1 :-) Here is the output of CMakeCache.txt: # cat ./cmake-2.8.6/CMakeCache.txt|grep -i curse //Build the CMake Curses Dialog ccmake BUILD_CursesDialog:BOOL=ON CMAKE_FORM_BINARY_DIR:STATIC=/build/packages/cmake/cmake-2.8.6/Source/CursesDialog/form

[CMake] Visual Studio 2010 default property sheets

2011-12-12 Thread David Hunter
Sorry if this a re-post had mail issue. I'm not sure if this has been discussed much within the CMake developer community but I wanted to give some thoughts on the use of Visual Sudio property sheets and some suggestion for CMake. As far as I know this is only relevant to Visual Studio 10 and

Re: [CMake] Copy a input file from src folder to EXECUTABLE_OUTPUT_PATH

2011-12-12 Thread Totte Karlsson
At build time: ADD_CUSTOM_COMMAND(TARGET OneOfYourExecutables COMMAND ${CMAKE_COMMAND} -E copy_if_different path/to/input.txt $TARGET_FILE_DIR:OneOfYourExecutables) ADD_CUSTOM_COMMAND(TARGET AnotherExecutable COMMAND ${CMAKE_COMMAND} -E copy_if_different

Re: [CMake] Copy a input file from src folder to EXECUTABLE_OUTPUT_PATH

2011-12-12 Thread Michael Wild
On 12/12/2011 04:29 PM, Totte Karlsson wrote: At build time: ADD_CUSTOM_COMMAND(TARGET OneOfYourExecutables COMMAND ${CMAKE_COMMAND} -E copy_if_different path/to/input.txt $TARGET_FILE_DIR:OneOfYourExecutables) ADD_CUSTOM_COMMAND(TARGET AnotherExecutable COMMAND

[CMake] Changing Package Top level directory name

2011-12-12 Thread vivek goel
hi, how can I change the name of top level directory of cpack. Without changing CPACK_PACKAGE_FILE_NAME ? I want package name to be in format of cmake-2.5.0-Linux-i686 only. But I want to change the root (top directory ) name inside package. regards Vivek Goel -- Powered by www.kitware.com

[CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual Studio 2008. I set an environment variable called BUILDBIN in the custom command but for some reason my scripts that I invoke are not picking up that environment variable. Am I doing something wrong? These custom

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 08:28 PM, Robert Dailey wrote: Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual Studio 2008. I set an environment variable called BUILDBIN in the custom command but for some reason my scripts that I invoke are not picking up that environment

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 1:31 PM, Michael Wild them...@gmail.com wrote: On 12/12/2011 08:28 PM, Robert Dailey wrote: Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual Studio 2008. I set an environment variable called BUILDBIN in the custom command but for some

[CMake] target dependency in subdirectory not found

2011-12-12 Thread Jos van den Oever
I'm trying to get get CMake to do the equivalent from this Makefile. I'm using cp in this simple example, but want to use different commands in my project. ==Makefile== srcdir=.. hij: a/efg cp a/efg hij a/efg: $(srcdir)/a/abc -mkdir a cp $(srcdir)/a/abc a/efg == For this I

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 08:46 PM, Robert Dailey wrote: On Mon, Dec 12, 2011 at 1:31 PM, Michael Wild them...@gmail.com mailto:them...@gmail.com wrote: On 12/12/2011 08:28 PM, Robert Dailey wrote: Hi, I'm creating a custom target in CMake 2.8.7 RC1 and running it in Visual

[CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Robert Dailey
I need a version of CMAKE_EXE_LINKER_FLAGS for shared libraries. I need to specify /NODEFAULTLIB for a shared library (DLL) that I'm building, but it doesn't seem that CMAKE_EXE_LINKER_FLAGS is used by shared library projects generated by CMake for visual studio. Any suggestions? -

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Michael Wild
On 12/12/2011 09:00 PM, Robert Dailey wrote: I need a version of CMAKE_EXE_LINKER_FLAGS for shared libraries. I need to specify /NODEFAULTLIB for a shared library (DLL) that I'm building, but it doesn't seem that CMAKE_EXE_LINKER_FLAGS is used by shared library projects generated by CMake for

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 1:53 PM, Michael Wild them...@gmail.com wrote: CMake script would imply that it runs as part of the configuration process. I can't build an installer until all binaries are compiled and linked, so it needs to be a target in visual studio. Wrong.

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread David Cole
Apparently, they are undocumented, but there are also: CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS (and their per-config variants) for SHARED and MODULE library targets as well. Use CMAKE_SHARED_LINKER_FLAGS instead. HTH, David On Mon, Dec 12, 2011 at 3:00 PM, Robert Dailey

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 2:10 PM, David Cole david.c...@kitware.com wrote: Apparently, they are undocumented, but there are also: CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS (and their per-config variants) for SHARED and MODULE library targets as well. Use

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Robert Dailey
On Mon, Dec 12, 2011 at 2:13 PM, Robert Dailey rcdai...@gmail.com wrote: On Mon, Dec 12, 2011 at 2:10 PM, David Cole david.c...@kitware.comwrote: Apparently, they are undocumented, but there are also: CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS (and their per-config variants)

Re: [CMake] Setting environment variables in custom command

2011-12-12 Thread Michael Wild
On 12/12/2011 09:05 PM, Robert Dailey wrote: On Mon, Dec 12, 2011 at 1:53 PM, Michael Wild them...@gmail.com mailto:them...@gmail.com wrote: CMake script would imply that it runs as part of the configuration process. I can't build an installer until all binaries are compiled

Re: [CMake] Changing Package Top level directory name

2011-12-12 Thread Eric Noulard
2011/12/12 vivek goel goelvivek2...@gmail.com: hi, how can I change the name of top level directory of cpack. Without changing CPACK_PACKAGE_FILE_NAME ? I want package name to be in format of cmake-2.5.0-Linux-i686 only. But I want to change the root (top directory ) name inside package.

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread David Cole
On Mon, Dec 12, 2011 at 3:15 PM, Robert Dailey rcdai...@gmail.com wrote: On Mon, Dec 12, 2011 at 2:13 PM, Robert Dailey rcdai...@gmail.com wrote: On Mon, Dec 12, 2011 at 2:10 PM, David Cole david.c...@kitware.com wrote: Apparently, they are undocumented, but there are also:

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Michael Wild
On 12/12/2011 09:13 PM, Robert Dailey wrote: On Mon, Dec 12, 2011 at 2:10 PM, David Cole david.c...@kitware.com mailto:david.c...@kitware.com wrote: Apparently, they are undocumented, but there are also: CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS (and their

Re: [CMake] hear hear

2011-12-12 Thread Alexander Neundorf
On Monday 12 December 2011, Johannes Zarl wrote: On Tuesday, 6. December 2011, 17:27:47, Daniel Dekkers wrote: On Dec 4, 2011, at 11:59 AM, Michael Jackson wrote: I think if the CMake community took a vote we could probably come up with an Exemplar Find*.cmake file that is good for

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Robert Dailey
Another issue... At what point is it most important for the values of CMAKE_SHARED_LINK_FLAGS to exist? I set the value of this variable before my call to add_library(), however after that at some point the flags will get reverted because I'm stepping out of function scope. Does it need to exist

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Robert Dailey
I forgot to say that the main issue is that my /NODEFAULTLIB link flag isn't showing up in visual studio. - Robert Dailey On Mon, Dec 12, 2011 at 4:10 PM, Robert Dailey rcdai...@gmail.com wrote: Another issue... At what point is it most important for the values of

[CMake] FindLAPACK problem

2011-12-12 Thread Tim Gallagher
Hi, I sent this out awhile ago, saying it couldn't find the MKL LAPACK. But I think the problem may be bigger than that because it can't find non-MKL lapack for me either. I get: -- A library with BLAS API found. -- A library with BLAS API found. CMake Error at

Re: [CMake] CMAKE_EXE_LINKER_FLAGS for shared libraries?

2011-12-12 Thread Michael Wild
It needs to exist **at the end** of the CMakeLists.txt file containing the target. If you don't want to do that (or can't, as in your case), you can use the LINK_FLAGS target property instead. HTH Michael On 12/12/2011 11:39 PM, Robert Dailey wrote: I have attached a small CMake project that

Re: [CMake] [CTest] CTest -S script cannot be found on Windows network drive (solved)

2011-12-12 Thread m.hergarden
On 12/09/2011 04:47 PM, m.hergarden wrote: On 12/09/2011 04:30 PM, David Cole wrote: On Fri, Dec 9, 2011 at 9:30 AM, m.hergardenm.hergar...@euphoria-it.nl wrote: I have two buildservers: a Linux box and a Windows box. I now have a buildscript that does a svn checkout in the homedir of the

[Cmake-commits] CMake branch, next, updated. v2.8.6-2187-gf4d10ce

2011-12-12 Thread Eric Noulard
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 f4d10ce77d76df8275e105632d1e7aff84d23b59 (commit) via