Re: [CMake] install( TARGETS module ...)

2011-07-02 Thread Michael Hertling
On 07/01/2011 03:32 PM, Mathieu Malaterre wrote: > Dear all, > > I am trying to change the default behavior of cmake which installs > MODULE to the LIBRARY destination. For example: > > ... > add_library(test MODULE test.c) > install(TARGETS test > RUNTIME DESTINATION bin > LIBRARY DESTINAT

Re: [CMake] Strange behaviour with -D option

2011-07-02 Thread Michael Hertling
On 07/01/2011 12:02 PM, pellegrini wrote: > Hello everybody, > > there is a behaviour I do not understand when using cmake with -D option. > > In my project I defined a few CACHE variables. One of them is GUI to > specify whether or not my project should be > built with graphical library support

[CMake] Launching a script after user picks components in component-based installers

2011-07-02 Thread Mathias Gaunard
With a component-based installer such as NSIS, the user can choose the components that he wants to install. I would need to launch a script (just launching an external program would do) after this, telling me where the application was installed, so that I can perform additional actions dependi

[CMake] Problem with CMake _not_ failing due to unsatisfied indirect project dependencies

2011-07-02 Thread Bartosz Brachaczek
Hello, I received report from a Debian testing user (using cmake 2.8.4 from Ubuntu repo) that gadu_protocol plugin for Kadu IM[1] was linked improperly (it didn't link to libgadu) and refused to load. After small investigation we found out that it was due to missing gnutls.pc in his system. I'm att

Re: [CMake] Project with .NET Formular (Header with resx)

2011-07-02 Thread Simon Adler
I tried some more. I changed the Headers in the VS2008 Project (generated by cmake) manually to type Header-Formula. I tried to enter the Form-Designer with a double-Click on a Form, but VS2008 showed me that the form is now corrupt. So i have to alter my question: Is it even possible to generate

[CMake] Project with .NET Formular (Header with resx)

2011-07-02 Thread Simon Adler
Hello Mailing List i am quite new to CMake. I have a project i originally build with visual studio 2008. I try to create a cmake Projekt so i can use cmake in the future. I am using .NET Forms which are Headers with associated resx files. In Visual-Studio the only difference between Headers and Fo