Re: [CMake] How to apply the --as-needed linker flag?

2010-11-28 Thread Alan W. Irwin
On 2010-11-28 06:39+0100 Michael Hertling wrote: On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of sense since it tends to reduce startup times. But I

Re: [CMake] Relink on library rebuild dilema

2010-11-28 Thread Sebastian Schaetz
Michael Hertling mhertl...@... writes: 1) In the top-level CMakeLists.txt, you might say SET_SOURCE_FILES_PROPERTIES( main.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kernels/libkernel_executable.a ) When libkernel_executable.a has changed, this results in

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Saturday 27 November 2010 14:58:15 Michael Jackson wrote: # In this file we are doing all of our 'configure' checks. Things like checking # for headers, functions, libraries, types and size of types. INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake) .. # To check for an include file

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Sunday 28 November 2010 14:04:50 luxInteg wrote: headers, datatypes, functions seem straight forward, I currently have a config.h.inrefering to 'package' (I assume something to do with pkgconfig ) for which I have not a clue how to translate using the tools above:- The said

Re: [CMake] cmake config.h

2010-11-28 Thread Michael Jackson
Those variables are specific for the project you are trying to convert. For example if this was the LibTiff project then you might have something like: #define PACKAGElibTif #define PACKAGE_BUGREPORT b...@libtiff.com #define PACKAGE_VERSION 8.9.10 You can set these as CMake varables in

Re: [CMake] cmake config.h

2010-11-28 Thread luxInteg
On Sunday 28 November 2010 15:21:45 Michael Jackson wrote: Those variables are specific for the project you are trying to convert. For example if this was the LibTiff project then you might have something like: #define PACKAGElibTif #define PACKAGE_BUGREPORT b...@libtiff.com #define

Re: [CMake] Error using CMake 2.8.x, Visual Studio 2010, and multiple platform SDKs.

2010-11-28 Thread Bill Hoffman
On 11/24/2010 5:02 PM, Ted Berg wrote: I'm seeing a reproducible failure generating Visual Studio 10 output on a system with the following installed: CMake 2.8.2 CMake 2.8.3 Visual Studio 2005 Visual Studio 2010 Program Files\Microsoft SDKs\Windows v6.1 v7.0A v7.1 To keep everything

Re: [CMake] Relink on library rebuild dilema

2010-11-28 Thread Bill Hoffman
On 11/28/2010 3:19 AM, Sebastian Schaetz wrote: Michael Hertlingmhertl...@... writes: 1) In the top-level CMakeLists.txt, you might say SET_SOURCE_FILES_PROPERTIES( main.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kernels/libkernel_executable.a ) When

[Cmake-commits] CMake branch, master, updated. v2.8.3-136-gbd44b2c

2010-11-28 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 bd44b2cc5bc4c0152e38474fd549f6b495d3b1b7 (commit) from