Re: [CMake] Problems with CPack/NSIS and CPACK_NSIS_MUI_FINISHPAGE_RUN

2011-11-17 Thread NoRulez
Hi, sorry, I forgot to add the CMake/CPack Version. I use cmake v2.8.6 Best Regards Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag von NoRulez Gesendet: Donnerstag, 17. November 2011 10:46 An: CMake MailingList Betreff: [CMake] Problems with CPack/NSIS and CP

Re: [CMake] Install command incorrectly installing archive libraries

2011-11-17 Thread Michael Wild
On 11/17/2011 06:12 PM, Stephen Torri wrote: > CMake Version: 2.8 > > Generator: Visual Studio 2008 > > Problem: Two install commands are used per library. First command > should only install libraries to lib/debug when the build type is > Debug. The second command should only install libraries t

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alan W. Irwin
On 2011-11-17 21:43+0100 Hendrik Sattler wrote: Am Donnerstag, 17. November 2011, 21:38:20 schrieb Hendrik Sattler: Am Donnerstag, 17. November 2011, 18:26:08 schrieb Alexander Neundorf: Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been ported from UNIX to Windows, and

[CMake] (no subject)

2011-11-17 Thread swati choudhary
http://11thrru.org/admin/poefdg.htm -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscri

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alan W. Irwin
Hi Alex: On 2011-11-17 18:26+0100 Alexander Neundorf wrote: The [pkg-config Windows] issue is the following: Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been ported from UNIX to Windows, and installs a pkgconfig file. This pkgconfig file is generated at the time when t

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Hendrik Sattler
Am Donnerstag, 17. November 2011, 21:38:20 schrieb Hendrik Sattler: > Am Donnerstag, 17. November 2011, 18:26:08 schrieb Alexander Neundorf: > > Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been > > ported from UNIX to Windows, and installs a pkgconfig file. > > This pkgconf

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Hendrik Sattler
Am Donnerstag, 17. November 2011, 18:26:08 schrieb Alexander Neundorf: > Let's say package Foo (unrelated to KDE, and unrelated to cmake) has been > ported from UNIX to Windows, and installs a pkgconfig file. > This pkgconfig file is generated at the time when the binary package for > Foo is genera

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Rolf Eike Beer
Am Donnerstag, 17. November 2011, 14:36:00 schrieb David Cole: > On Thu, Nov 17, 2011 at 2:06 PM, Alexander Neundorf > > wrote: > > On Thursday 17 November 2011, David Cole wrote: > > ... > > > >> If a project does something like this (distributes a file with > >> build/install time information

[CMake] (no subject)

2011-11-17 Thread YangXi
http://label.heavyartillery.us/packages/email_list_signup/single_pages/dashboard/reports/fkgfhdol.htm -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-top

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread David Cole
On Thu, Nov 17, 2011 at 2:06 PM, Alexander Neundorf wrote: > On Thursday 17 November 2011, David Cole wrote: > ... >> If a project does something like this (distributes a file with >> build/install time information in it) but then lets the end user of >> the binary installation put it wherever the

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alexander Neundorf
On Thursday 17 November 2011, David Cole wrote: ... > If a project does something like this (distributes a file with > build/install time information in it) but then lets the end user of > the binary installation put it wherever they please.. then the that's what I hear from our Windows develo

Re: [CMake] One project, one platform, 2 compilers

2011-11-17 Thread David Cole
To use two different compilers, you simply need two different build trees. Same CMakeLists file, but different build trees. You should not specify the compiler in your CMakeLists.txt files at all, but rather set CC and CXX env vars to control the compiler when first generating a build tree. See t

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread David Cole
On Thu, Nov 17, 2011 at 12:26 PM, Alexander Neundorf wrote: > On Thursday 17 November 2011, Alan W. Irwin wrote: >> Hi Alex: >> >> On 2011-11-15 18:07+0100 Alexander Neundorf wrote: >> > Hi, >> > >> > cmake ships with a FindPkgConfig.cmake file, which is used by some Find- >> > modules. >> > Also

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alexander Neundorf
On Thursday 17 November 2011, Alan W. Irwin wrote: > Hi Alex: > > On 2011-11-15 18:07+0100 Alexander Neundorf wrote: > > Hi, > > > > cmake ships with a FindPkgConfig.cmake file, which is used by some Find- > > modules. > > Also in KDE, we have quite a lot of Find-modules which use > > FindPkgConf

[CMake] How to generate DEPENDS on CMake

2011-11-17 Thread Mauricio Klein
Hello guys! There are lots of informations on internet about how to create DEPENDS on CMake, but none of them answered my question. I have a daemon being compiled very well with CMake. Now, i want to pack this binary to distribution. Once the clients have a wide variety of Linux distributions, i

[CMake] Install command incorrectly installing archive libraries

2011-11-17 Thread Stephen Torri
CMake Version: 2.8 Generator: Visual Studio 2008 Problem: Two install commands are used per library. First command should only install libraries to lib/debug when the build type is Debug. The second command should only install libraries to the lib/release directory. When the build type is Debug t

Re: [CMake] TCL modules

2011-11-17 Thread Joe Brandt
I totally agree with your #2. I was thinking that it would be easier to try and update the existing ones, rather than create new ones, at least from the perspective of getting something done more quickly. The main issue with that is that a new FindTclTk doesn't need to deal with backwards compati

Re: [CMake] Visual Studio 2010 generator: Linking static libraries to one dll problem (Use Library Dependency Inputs)

2011-11-17 Thread Mateusz Łoskot
On 17 November 2011 16:30, Matthias Wieding-Drewes wrote: > > I'am currently in the process of converting a Visual Studio 2010 project > to CMake. There are three (sub) projects each of which results in a > staticaly linked library. This libraries are then combined into a > single .dll file. > >

[CMake] Visual Studio 2010 generator: Linking static libraries to one dll problem (Use Library Dependency Inputs)

2011-11-17 Thread Matthias Wieding-Drewes
Hallo, I'am currently in the process of converting a Visual Studio 2010 project to CMake. There are three (sub) projects each of which results in a staticaly linked library. This libraries are then combined into a single .dll file. Well actually that's how it should be (and is set up in CMake).

[CMake] One project, one platform, 2 compilers

2011-11-17 Thread Paul Hansen
Hi I have a project that has to be compiled with two different compilers on the same computer. Can I do that from the same CMakeLists.txt file? Specifically I am wondering: - CMake finds a compiler and makes a test. A colleague has tried to change the compiler variables but CMake made the test a

Re: [CMake] Adding a new language

2011-11-17 Thread Bill Hoffman
On 11/16/2011 4:03 PM, Alan W. Irwin wrote: Hi Bill: Your summary shows you misunderstood what I said so I have to correct that. The basic issue I have with your interpretation is "additional generic language support" != "Creating a generic way to add new languages" OK, let me try again.

Re: [CMake] shell level access to values of cmake variables

2011-11-17 Thread Michael Hertling
On 11/10/2011 06:48 PM, vagn scott wrote: > > > in my CMakeLists.txt file I have a statement > > project(hello_foo_baz) > > This defines PROJECT_NAME among other things. > > is there something like > > cmake --dump-var PROJECT_NAME > > that would output the string > > hell

Re: [CMake] Circular dependencies because of file names?

2011-11-17 Thread Michael Hertling
On 11/16/2011 06:36 PM, Jookia wrote: > I've actually used that workaround, but it seems dirty as it shows up in > IDE targets like Visual Studio or other IDEs or makefiles. In fact, I > kind of like the 'generating /docs' part of the makefile. > > Would it just be smarter to rename the targ

Re: [CMake] TCL modules

2011-11-17 Thread Michael Hertling
On 11/17/2011 12:28 AM, Joe Brandt wrote: > I have a couple issues, that I'd like to help fix, with the current > FindTCL.cmake, FindTclsh.cmake, FindWish.cmake, and FindTclStub.cmake that > make them unusable for me. The first is they do not always find the > various components from the same Tcl

Re: [CMake] find_library and static library

2011-11-17 Thread Michael Hertling
On 11/17/2011 10:28 AM, Romain LEGUAY wrote: > Hello everyone! > I found in previous message there is none option to specify to > find_library function to search just static library. It was for CMake 2.6. > > Has it got any change with the new version of CMake? AFAIK, it hasn't, since the root o

[CMake] Problems with CPack/NSIS and CPACK_NSIS_MUI_FINISHPAGE_RUN

2011-11-17 Thread NoRulez
Hi, the  issue (http://public.kitware.com/Bug/view.php?id=11144) is already closed but the problem still exists. If I use the following: SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "${PROJECT_NAME}.exe") Then the file project.nsi contains the following string and the application isn’t launched: !d

[CMake] Problems with CPack/NSIS and CPACK_NSIS_MUI_FINISHPAGE_RUN

2011-11-17 Thread NoRulez
Hi, the issue (http://public.kitware.com/Bug/view.php?id=11144) is already closed but the problem still exists. If I use the following: SET(CPACK_NSIS_MUI_FINISHPAGE_RUN "${PROJECT_NAME}.exe") Then the file project.nsi contains the following string and the application isn’t launched:

Re: [CMake] Include Link Dependencies

2011-11-17 Thread Marcus Monaghan
From: Andreas Pakulat Sent: 16 November 2011 19:50 >> I'm just starting to use the cpack module in cmake to put together TGZ. >> >> I use TARGET_LINK_LIBRARIES to specify which libs to use during linking. >> >> Is there a way to get a list of the libs that are found and include them in >> my TG

[CMake] find_library and static library

2011-11-17 Thread Romain LEGUAY
Hello everyone! I found in previous message there is none option to specify to find_library function to search just static library. It was for CMake 2.6. Has it got any change with the new version of CMake? I try to specify the name of the library like this: find_library(MY_STATIC_LIB NAMES