Re: [CMake] control dependencies in cmake stage

2015-03-09 Thread Mark Abraham
Hi, What are you generating that must be done at cmake time? Mark On 09/03/2015 5:36 pm, "Tomasz Majchrowski" wrote: > Hi, > > I'm wondering if there is an easy way to control the dependencies in the > cmake stage. Basically I would like skip execution of some script run over > execute_process

[CMake] _stl_next_prime can return garbage leading to std::length_error for vector: debug build that do not inline

2015-03-09 Thread Mark Millard
This is a suggested source code change (add a static) for an observed crash for sometypes of debug builds of cmake's ctest. Debug builds of ctest that do not inline _stl_next_prime (which hastable.hxx does not declare as static) can have crash for Position Independent Code (PIC) using Table Of

Re: [CMake] Wrong behavior with 3.2.0-rc2

2015-03-09 Thread Brad King
On 03/09/2015 02:50 PM, Roman Wüger wrote: > if CMake 3.2.0 will not be released, when is the expected release date for > CMake 3.2.1? Technically 3.2.0 has been released (there is a signed tag in the source tree for it, created after a drought in feedback on 3.2.0-rc2). We just never published

Re: [CMake] Wrong behavior with 3.2.0-rc2

2015-03-09 Thread Roman Wüger
Hello Brad, if CMake 3.2.0 will not be released, when is the expected release date for CMake 3.2.1? Regards Roman > Am 06.03.2015 um 21:38 schrieb Brad King : > >> On 03/06/2015 06:57 AM, Nils Gladitz wrote: >>> On 03/06/2015 10:22 AM, Pere Mato Vila wrote: >>> [100%] [100%] *Generating A.txt,

[CMake] CPack: creating an zip archive within a parent archive

2015-03-09 Thread Brian Wallace
Hi Folks, I have an exiting CMake project which currently builds a TGZ artifact. I would like to use CPack to create a zip file containing some of the files currently installed and then include that zip file within the parent TGZ archive. What is the best way to approach this problem of using CP

[CMake] Custom debug messages

2015-03-09 Thread Scott Aron Bloom
I have some functions, that when Im working on, I need to debug, but the other developers don't need to see the debug messages. I wind up commenting them out, but I would prefer to put them out as debug level messages, ie when -debug-output is set. Is this possible? Scott -- Powered by www.k

[CMake] control dependencies in cmake stage

2015-03-09 Thread Tomasz Majchrowski
Hi, I'm wondering if there is an easy way to control the dependencies in the cmake stage. Basically I would like skip execution of some script run over execute_process in case some input files didn't change. The regular way will be to use add_custom_command & add_custom_target however those requi

[CMake] CMake is re-running due to generate.stamp.list is missing still in CMake 3.2.0, gernerated projects for VS2010+ifort xe2013

2015-03-09 Thread Fenjuan Hu
Hi all I used CMake 3.2.0 to generated CMake files for VS2010 and ifor13.1 version for my project- Everything was working, until everytime I tried to re-build all the projoctes, I saw the message: CMake is re-running due to generate.stamp.list is missing, and then after re-build, I got piles

Re: [CMake] How do cmake install shared library?

2015-03-09 Thread J Decker
try install( PROGRAMS ) or SCRIPTS ... it loses permission on data files... On Mon, Mar 9, 2015 at 12:19 AM, kl222 wrote: > Hello all: > I have some third-party dynamic libraries in the lib directory, how > can I install it to the installation directory? > > > > > > > > > > *lib$ ls -la总用量

Re: [CMake] [MASSMAIL] ExternalProject_Add + find_package

2015-03-09 Thread Luis Felipe Dominguez Vega
GG hello bro So who i tell you yesterday i was respond throw this mail, naaa is a joke gg, i was investigating but i dont found anything ---On Lunes, 9 de marzo de 2015 09:05:03 AM Alvaro Denis wrote: Hello,I am using cmake(I am a

Re: [CMake] Unexpected warnings with 3.2.0-rc2

2015-03-09 Thread Brad King
On 03/05/2015 12:55 PM, Pere Mato Vila wrote: > CMake Warning (dev) at cmake/modules/RootConfiguration.cmake:485 > (configure_file): > configure_file called with unknown argument(s): > >NEWLINE_STYLE >UNIX Fixed, thanks: configure_file: Do not warn about newline style arguments http

Re: [CMake] Xcode generator ignores shared library made of object libraries

2015-03-09 Thread Gregor Jasny
Hello Pere, On 09/03/15 12:59, Pere Mato Vila wrote: I am using cmake version 3.1.3 on MacOSX 10.10.2. I want to build a SHARED library made exclusively of OBJECT libraries. This works well with the Makefile generator but fails with the Xcode generator. To reproduce the problem is very s

Re: [CMake] Avoid re-linking dependency of external shared lib in a new project.

2015-03-09 Thread Robert Maynard
If it is an external library you will need to look at creating import libraries and packaging targets ( http://www.cmake.org/cmake/help/v3.1/manual/cmake-packages.7.html#manual:cmake-packages(7) ). On Tue, Mar 3, 2015 at 8:10 PM, Pablo Hernández < pablo.hernandez.cer...@outlook.com> wrote: > I w

[CMake] ExternalProject_Add + find_package

2015-03-09 Thread Alvaro Denis
Hello, I am using cmake(I am a novice) for a big project, this contain multiple independent projects(no use add_subdirectory), so take an example: Project A depend of B, when I run cmake for A this check for B with find_package(), if this fail the user is notified and need install B, I think that

[CMake] Xcode generator ignores shared library made of object libraries

2015-03-09 Thread Pere Mato Vila
Hi, I am using cmake version 3.1.3 on MacOSX 10.10.2. I want to build a SHARED library made exclusively of OBJECT libraries. This works well with the Makefile generator but fails with the Xcode generator. To reproduce the problem is very simple: cmake_minimum_required(VERSION 2.8.8 FATAL_E

Re: [CMake] Multi-platform visual studio projects

2015-03-09 Thread Gilles Khouzam
For those interested, we have a fork with the ability to support MultiPlatform projects in Visual Studio for Windows Phone and Windows Store apps. It is not a big change to remove that restriction and have it for desktop apps, please tell me if there is interest. For those interested the fork i

[CMake] How do cmake install shared library?

2015-03-09 Thread kl222
Hello all: I have somethird-partydynamic librariesin the lib directory,how can Iinstall it tothe installation directory? lib$ ls -la 总用量 1768 drwxrwxr-x 3 l l4096 3月 9 13:23 . drwxrwxr-x 4 l l4096 3月 9 13:23 .. lrwxrwxrwx 1 l l 17 3月 9 13:23 libqxmpp.so -> libqxmpp.so.0.8.3