Re: [cmake-developers] WindowsCE

2012-11-28 Thread Brad King
On 11/28/2012 09:03 AM, Patrick Gansterer wrote: It looks like you're adding new cmake -E windowsce_environment8 cmake -E windowsce_environment9 commands that print out the environment settings. That looks okay to me, but is there no vsvars32.bat equivalent? No, that's the reason for

[cmake-developers] Policy for INTERFACE_LINK_LIBRARIES

2012-11-28 Thread Brad King
Hi Stephen, I've looked through the add-INTERFACE_LINK_LIBRARIES-property topic. Unless I'm misunderstanding something I think we can simplify CMP0019 quite a bit. What made it complicated in earlier discussions was a desire to generate and export INTERFACE_LINK_LIBRARIES even from projects that

[cmake-developers] [CMake 0013754]: Ninja: Framework paths are not correctly added to g++ commandline args.

2012-11-28 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13754 == Reported By:Edward Rudd Assigned To:

Re: [cmake-developers] Policy for INTERFACE_LINK_LIBRARIES

2012-11-28 Thread Stephen Kelly
Brad King wrote: Hi Stephen, I've looked through the add-INTERFACE_LINK_LIBRARIES-property topic. Unless I'm misunderstanding something I think we can simplify CMP0019 quite a bit. What made it complicated in earlier discussions was a desire to generate and export INTERFACE_LINK_LIBRARIES

[cmake-developers] [CMake 0013755]: find_package_handle_standard_args(XX DEFAULT_MSG XX_FOUND) always succeeds

2012-11-28 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13755 == Reported By:Nick Hutchinson Assigned To:

[cmake-developers] [CMake 0013756]: Infinite loop when reconfiguring with different CMAKE_C_COMPILER

2012-11-28 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13756 == Reported By:Nick Hutchinson Assigned To:

Re: [cmake-developers] General Config.cmake file issue on ArchLinux

2012-11-28 Thread Alexander Neundorf
On Saturday 17 November 2012, Alexander Neundorf wrote: Hi, maybe I am missing something, but here we go: on 64bit ArchLinux installations, /lib64/ is a symlink to /usr/lib/. /bin/ and /usr/bin/ are normal directories, no symlinks. Now if a Config.cmake files is installed into

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Andrew Maclean
Interesting ... I have no problems, the only thing I can think of is that I had VS 2010 SP1 installed before I installed VS 2012 Express, I did not use any of the RC versions. Sent from an Android tablet. On 28/11/2012 6:51 PM, Petr Kmoch petr.km...@gmail.com wrote: Hi all, VS 2012 and VS

[CMake] Testing Qt 5 Beta 2 CMake files

2012-11-28 Thread Stephen Kelly
Hi there, I emailed before about reviewing Config files that are being shipped with Qt 5 and got great feedback: http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7165/focus=41551 Now that Qt 5 beta 2 is out, I'd like to ask for feedback again on anything that can still be changed

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread David Doria
On Wed, Nov 28, 2012 at 4:22 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: Interesting ... I have no problems, the only thing I can think of is that I had VS 2010 SP1 installed before I installed VS 2012 Express, I did not use any of the RC versions. Petr, A colleague mentioned that

[CMake] how to add_library with an already compiled lib in a zip file ?

2012-11-28 Thread Martin Koller
Hi, I'm struggling with the following requirement: I have a lib stored in a zip file (the lib is not built via cmake, e.g. delivered from external company). I want a target to link against this lib and want to extract the lib from the zip file only if this specific target is being built, and

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Michael Jackson
On Nov 28, 2012, at 7:37 AM, David Doria daviddo...@gmail.com wrote: On Wed, Nov 28, 2012 at 4:22 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: Interesting ... I have no problems, the only thing I can think of is that I had VS 2010 SP1 installed before I installed VS 2012 Express, I

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Titus von Boxberg
Am 28.11.2012 13:59, schrieb Michael Jackson: On Nov 28, 2012, at 7:37 AM, David Doria daviddo...@gmail.com wrote: On Wed, Nov 28, 2012 at 4:22 AM, Andrew Maclean andrew.amacl...@gmail.com wrote: Interesting ... I have no problems, the only thing I can think of is that I had VS 2010 SP1

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread David Cole
You should never allow Visual Studio or CMake installers to make changes to your environment. They are unnecessary and cause complications when multiple versions are installed. When I use cmake-gui, I double-click an icon on my desktop, or start it from an icon in the start menu. I almost never

Re: [CMake] how to add_library with an already compiled lib in a zip file ?

2012-11-28 Thread Andreas Pakulat
Hi, On Wed, Nov 28, 2012 at 1:41 PM, Martin Koller martin.kol...@etm.at wrote: Hi, I'm struggling with the following requirement: I have a lib stored in a zip file (the lib is not built via cmake, e.g. delivered from external company). I want a target to link against this lib and want to

Re: [CMake] how to add_library with an already compiled lib in a zip file ?

2012-11-28 Thread Kay-Uwe 'Kiwi' Lorenz
Hi Martin, you have to add a custom command to generate your lib and make your custom target depending on it: add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/xxx.a COMMAND unzip -o ${CMAKE_CURRENT_SOURCE_DIR}/${ZIPFILE} DEPENDS

Re: [CMake] Testing Qt 5 Beta 2 CMake files

2012-11-28 Thread John Drescher
I emailed before about reviewing Config files that are being shipped with Qt 5 and got great feedback: http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7165/focus=41551 Now that Qt 5 beta 2 is out, I'd like to ask for feedback again on anything that can still be changed before Qt

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread John Drescher
A colleague mentioned that with the same setup he was getting the same error, and then installed SP1 for VS 2010 and things started working. I also remember that Visual Studio 2012 RTM had an optimizer bug that caused Qt applications to crash so the first thing I always do after installing VS

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread David Doria
On Wed, Nov 28, 2012 at 9:14 AM, John Drescher dresche...@gmail.com wrote: A colleague mentioned that with the same setup he was getting the same error, and then installed SP1 for VS 2010 and things started working. I also remember that Visual Studio 2012 RTM had an optimizer bug that caused

Re: [CMake] Link flags not applied to static library

2012-11-28 Thread Paul Harris
Hi, I set this: set (STATIC_LIBRARY_FLAGS_RELWITHDEBINFO ${STATIC_LIBRARY_FLAGS_RELWITHDEBINFO} /LTCG) and it didn't seem to work. MSVC still has no LTCG flag set for any of my static libraries. does this feature work? cheers, Paul On 23 June 2011 01:02, Ben Medina ben.med...@gmail.com

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-28 Thread David Cole
I can't for the life of me reproduce this. I've tried on my own Mac with Xcode 4.2, and on a colleague's Mac with Xcode 4.5.2. I can't seem to find a 4.4.1 machine to try this out on... Is this a problem for anybody else using CMake 2.8.10 on a Mac with the Xcode generator? Can you send the full

[CMake] (no subject)

2012-11-28 Thread katie outram
I have a problem where I have a build that depends on the output from another build. If I pass cmake the value of the libraries I want to link against, I can see the libraries through my find script without a problem using the find_library command.My problem is that I don't want to make

[CMake] Find a library that matches a specific pattern

2012-11-28 Thread katie outram
I have a build that depends on the output from another build. We can't combine the code into one build due to other issues. I need to get cmake to pass the values of the libraries I want to link against. I have worked out a find script for my second build that allows me to use the

[CMake] can CMake determine linker version ?

2012-11-28 Thread Ilias Miroslav
Dear experts, in recent versions of ld-linker I have to use this flags for static linking: target_link_libraries(${EXECUTABLE} -Wl,--no-export-dynamic) however, older versions, like GNU ld version 2.17.50.0.6-20.el5 20061020 does not know the flag --no-export-dynamic. Would it be

Re: [CMake] Find a library that matches a specific pattern

2012-11-28 Thread Keith Gardner
You can use file(GLOB variable [RELATIVE path] [globbing expression] ...) file( GLOB result ${first_build_dir} filea*.lib) Result will contain a list of files that match the globbing expression. Enjoy! Keith From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of katie

Re: [CMake] Find a library that matches a specific pattern

2012-11-28 Thread Michael Jackson
Have the first build generate a *.cmake file with all the libraries and their absolute paths listed in it. Then the second build simply looks for and reads that file to get the proper information about the libraries. -- Mike Jackson www.bluequartz.net On Nov 28, 2012, at 3:36 PM, katie outram

Re: [CMake] Problem with Visual Studio 2010, Windows 7 64bit

2012-11-28 Thread Andrew Maclean
Hi David, I agree with what you are saying. Just to confirm it I built a series of programs (67 in the solution) that use boost (by using CMake as you describe below) for Visual Studio Express 2010 and 2012 (both 64-bit builds). CMake had no trouble finding the relevant build environment for

[CMake] using find_package from within toolchain file

2012-11-28 Thread Dave Gomboc
Hello, I am attempting to use find_package within each toolchain file in combination with cross-compiling WebKit. The locations in which both WebKit and BuildRoot are situated on the Debian Linux systems are not standardized, but up to individual developers. The version of CMake is 2.8.7.

[CMake] How to check for a symbol that requires two header files in CMake?

2012-11-28 Thread Martin Sustrik
Hi all, I am trying to find out whether getifaddrs function is avialable. To get symbol getifaddrs defined you have to include both sys/types.h and ifaddrs.h. Here's the synopsis of the function from the man page: #include sys/types.h #include ifaddrs.h int

Re: [CMake] How to check for a symbol that requires two header files in CMake?

2012-11-28 Thread Sergei Nikulov
2012/11/29 Martin Sustrik sust...@250bpm.com Hi all, I am trying to find out whether getifaddrs function is avialable. To get symbol getifaddrs defined you have to include both sys/types.h and ifaddrs.h. Here's the synopsis of the function from the man page: #include sys/types.h

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-241-g581b0c0

2012-11-28 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, master has been updated via 581b0c0d078b5f07f68a53b118f44fc6e8313601 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1107-gdabf743

2012-11-28 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 dabf7435a43085960a570ea746a65198630a467a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1109-g8fc1a2c

2012-11-28 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 8fc1a2c2c412ea5a75e0bffc353f25c20f2b829a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-242-gd5ac791

2012-11-28 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index a7afa52..824de7e 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 10) -set(CMake_VERSION_TWEAK 20121128