Re: [CMake] Better handling of library dependencies for CPack

2011-04-22 Thread Eric Noulard
2011/4/22 Rosen Diankov rosen.dian...@gmail.com: Hi all, We've recently started generating (debian) packages with CPack and discovered that handling library dependencies for particular distributions was not as smooth as it can be. The *_DEPENDS string just gets copied over to the final

Re: [CMake] Better handling of library dependencies for CPack

2011-04-22 Thread Eric Noulard
2011/4/22 Rolf Eike Beer e...@sf-mail.de: We've recently started generating (debian) packages with CPack and discovered that handling library dependencies for particular distributions was not as smooth as it can be. The *_DEPENDS string just gets copied over to the final package so it puts all

Re: [CMake] Better handling of library dependencies for CPack

2011-04-22 Thread Eric Noulard
2011/4/22 Rosen Diankov rosen.dian...@gmail.com: Hi Guys, You are right about shlibdeps, but this is not the whole story. Debian source packages required build dependencies to be preinstalled before cmake even runs. This tells each distribution what it needs so that cmake can find it with

Re: [CMake] Better handling of library dependencies for CPack

2011-04-22 Thread Eric Noulard
2011/4/22 Rosen Diankov rosen.dian...@gmail.com: Hi Eric, Before I start running things, basically the script sets CPACK_DEBIAN_PACKAGE_DEPENDS right? What does this effect have on cpack? On CPack generic part none but the CPack Debian generator use it when building the binary debian package

[Cmake-commits] CMake branch, next, updated. v2.8.4-1453-g890d2b2

2011-04-17 Thread Eric Noulard
d3fd945 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun Apr 17 11:13:45 2011 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sun Apr 17 11:13:45 2011 -0400 Merge topic 'CPackRPM-fix12096' into next d3fd945 CPackRPM Fix #12096: handle absolute install

Re: [CMake] Searchable mail archive

2011-04-13 Thread Eric Noulard
2011/4/13 Michael Wild them...@gmail.com: On 04/13/2011 09:45 AM, J.S. van Bethlehem wrote: Dear CMake users, This week I started to investigate possibilities to move my build-system over to CMake after hearing a lot of good stories about it. To be honest, so far I'm still not quite

Re: [CMake] embedded path in shared library linked into another shared library

2011-04-11 Thread Eric Noulard
2011/4/11 David Aiken david.ai...@cis-vancouver.com: Hi all.. I’m using cmake 2.8.4 on Centos 5.2. I build a libUtility.so and a libSecurity.so which depends on it. The utility library is located in “../../lib/libUtility.so” during the build. If I do an ldd on libSecurity.so I can see this

Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
2011/4/9 Christian Vander Jagt chrisvanderj...@yahoo.com: I am trying to use cmake to compile a program from source code, i am getting this error: CMake Error: Error required internal CMake variable not set, cmake may be not be  built correctly. Missing variable is:

Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
2011/4/10 Christian Vander Jagt chrisvanderj...@yahoo.com: I'm using CMake 2.8, You should something like 2.8.x, what is the x ? I did not compile it, I got it from http://cmake.org/cmake/resources/software.html, Ok good, I bet you took the Windows Installer. I guess plain windows vista,

Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
2011/4/10 Christian Vander Jagt chrisvanderj...@yahoo.com: I am trying to compile VTK, i have never used CMake before, 2.8.4, MinGW makefiles is the generator, Then you should ask your question on the VTK mailing list in the first place. http://www.vtk.org/VTK/help/mailing.html -- Erk Membre

[Cmake-commits] CMake branch, next, updated. v2.8.4-1402-g8983cb1

2011-04-09 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8983cb1d0b9a083ef08b0e338e18d048a741668c commit 8983cb1d0b9a083ef08b0e338e18d048a741668c Merge: c97d814 b22fcfb Author: Eric Noulard eric.noul...@gmail.com AuthorDate

Re: [CMake] CMake 2.8.4 RPMs available (finally)

2011-04-06 Thread Eric Noulard
2011/4/5 Andrea Galeazzi galea...@korg.it: Fedora isn't listed there but is it possible to have it? For what is worth, you can build a CMake RPM using a previously installed CMake on almost any Linux distro if rpmbuild is installed (and compiler etc...). Run the attach script on your Fedora box

[Cmake-commits] CMake branch, next, updated. v2.8.4-1336-g3ed8adf

2011-04-04 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3ed8adfbb32ce4e8390183d9a469a1ac53348743 commit 3ed8adfbb32ce4e8390183d9a469a1ac53348743 Merge: c7a5235 4bb7940 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Apr 4 14:21:13 2011 -0400 Commit: CMake Topic Stage

Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Eric Noulard
2011/4/1 Crni Gorac cgo...@gmail.com: Am working with seemingly not too complicated CMake setup: Have two projects, say Foo and Bar, both dependent from the library libBaz; actually at the beginning there was only Foo project, and now there is Bar project, and common code is refactored into

Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Eric Noulard
2011/4/1 Clinton Stimpson clin...@elemtech.com: On Friday, April 01, 2011 12:38:25 pm Eric Noulard wrote: 2011/4/1 Crni Gorac cgo...@gmail.com: Am working with seemingly not too complicated CMake setup: Have two projects, say Foo and Bar, both dependent from the library libBaz; actually

Re: [CMake] CPack and building installers for sub-projects

2011-04-01 Thread Eric Noulard
2011/4/1 Crni Gorac cgo...@gmail.com: Thanks for replies.  I'm using CMake 2.8.4, and for this particular project - it's mostly about PackageMaker and NSIS installers (for Mac and Windows, respectively).  Also, CPack components stuff is really not usable here, these are two projects with

[Cmake-commits] CMake branch, next, updated. v2.8.4-1317-ge084018

2011-04-01 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e084018c37ac01458204a1823d303c19a6dd1d52 commit e084018c37ac01458204a1823d303c19a6dd1d52 Merge: c948068 dd04608 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Apr 1 13:28:11 2011 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.4-1322-gba026f8

2011-04-01 Thread Eric Noulard
ba026f8e6c14b57dcecddc2108cfa5762e82f1d8 Merge: e084018 bebefa7 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Apr 1 13:28:34 2011 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Fri Apr 1 13:28:34 2011 -0400 Merge topic 'cpack-grouping-enum' into next

Re: [CMake] Does set_target_properties compile_flags option override include_directories?

2011-03-30 Thread Eric Noulard
2011/3/30 Laura Auton Garcia darklulu+cm...@gmail.com: Hello all, The project I am working on uses pkg-config --cflags option to get the include directories of an external project, and I am trying to add the output to the compile_flags option used in set_target_properties. As well as the

Re: [CMake] [cmake-developers] Bug fix requests for the *next* release of CMake...

2011-03-29 Thread Eric Noulard
2011/3/29 David Cole david.c...@kitware.com: Please discuss issues here as needed, and add notes to existing issues in the bug tracker that you are interested in seeing fixed for 2.8.5 -- we will be looking at the mailing list and activity in the bug tracker to help prioritize the bug fixes

Re: [cmake-developers] memory leaks in cpack

2011-03-20 Thread Eric Noulard
2011/3/20 Bill Hoffman bill.hoff...@kitware.com: On 3/19/2011 6:18 AM, Eric Noulard wrote: I did just pushed the fix to stage. I did change the cmCPackGenerator::ReadListFile return status in order to return false if the list file read ends-up with an ERROR or FATAL_ERROR. I think

[cmake-developers] Failure of SimpleInstall

2011-03-20 Thread Eric Noulard
http://www.cdash.org/CDash/testDetails.php?test=88344080build=911504 My [too] naïve patch for automatic lib64 handling on Linux x86_64 has broken [at least] SimpleInstall test. I did push forward the branch in order to avoid automatic handling of lib64 the feature is still there but not

Re: [cmake-developers] memory leaks in cpack

2011-03-19 Thread Eric Noulard
2011/3/18 Eric Noulard eric.noul...@gmail.com: 2011/3/18 Eric Noulard eric.noul...@gmail.com: 2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same

[Cmake-commits] CMake branch, next, updated. v2.8.4-1224-g52682a9

2011-03-19 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=52682a93ab3b7b3678968504432258149cea0f67 commit 52682a93ab3b7b3678968504432258149cea0f67 Merge: 6c78fb1 21007f8 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Mar 19 06:14:23 2011 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: The commits that went in this day: http://www.cdash.org/CDash/viewChanges.php?project=CMakedate=2011-03-12 Caused memory leaks to show up here: http://www.cdash.org/CDash/viewDynamicAnalysisFile.php?id=1142597 May be for me. I'll have a

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 11:00 AM, Eric Noulard wrote: 2011/3/18 Bill Hoffmanbill.hoff...@kitware.com: The commits that went in this day: http://www.cdash.org/CDash/viewChanges.php?project=CMakedate=2011-03-12 Caused memory leaks to show up here

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same valgrind test locally? Which ctest one line command, may use for that? That said

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Eric Noulard eric.noul...@gmail.com: 2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same valgrind test locally? Which ctest one line

Re: [CMake] set_target_properties to target openmp flag on an executable

2011-03-18 Thread Eric Noulard
2011/3/18 Caner Candan ca...@candan.fr: Hi all, Since I have several targets to compile, I was looking for a way to set some specific flags to one target among all others. In my example I would like to set the openmp flag to the target test and I got an error with the code below:

Re: [CMake] Deb Package messages only if deb is available

2011-03-17 Thread Eric Noulard
2011/3/17 Dixon, Shane shane.di...@atmel.com: I want to add some messages at the end of cmake that display all the DEB-related variables and what they’re set to.  I’d prefer to now shows these when building on windows where DEB isn’t available.  Is there something like   If(DEBIAN_FOUND)

Re: [CMake] Asm support

2011-03-15 Thread Eric Noulard
2011/3/15 Robert Bielik robert.bie...@xponaut.se: Robert Bielik skrev 2011-03-15 08:59: Using 2.8.4, I'm trying to add an assembler file with cmake (64 bit VS2008 build), but I'm at a loss, I tried: There has been a lot of work done (Alex and Brad I think) in topic ReworkedAsmSupport it has

Re: [CMake] Configuring external projects with cmake for a nonexistent install directory which is not configure-time writable

2011-03-14 Thread Eric Noulard
2011/3/14 The Wanderer wande...@fastmail.fm: (I apologize for setting the Reply-To header, but I know of no other way to prevent my being sent an additional off-list copy of any reply even when there is no specific need to draw my attention to that reply.) I am running cmake 2.8.2, installed

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Eric Noulard
2011/3/14 Enrique Izaguirre enrique.izagui...@gmail.com: Hello friends, I have a problem when I try to compile several files, for some reason it takes only the first of the list to build it. It displays a few warnings and at the end the following error: make[2]: ***

[Cmake-commits] CMake branch, next, updated. v2.8.4-1165-gf3487ce

2011-03-14 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f3487ceddc2e009f28ad7e8a51a9e2f160250b4e commit f3487ceddc2e009f28ad7e8a51a9e2f160250b4e Merge: c05ee31 ade04de Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Mar 14 16:13:02 2011 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/13 Eric Noulard eric.noul...@gmail.com: I'll try to [blindly] fix this with a SUSE specific test *in the test itself* and not in CPack RPM. I did push forward the stage CPackRPM-TestWithMoreTraces and merge it to next. This last commit should make the CPackRPM test work on SUSE 64bits

Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/13 Rolf Eike Beer e...@sf-mail.de: Am Sonntag 13 März 2011, 21:19:41 schrieb Eric Noulard: 2011/3/13 Eric Noulard eric.noul...@gmail.com: I'll try to [blindly] fix this with a SUSE specific test *in the test itself* and not in CPack RPM. I did push forward the stage CPackRPM

Re: [CMake] How to set different install scripts into different component RPMs

2011-03-13 Thread Eric Noulard
2011/3/13 徐亮 lxu4...@gmail.com: I have a big project that include lib1, lib2, app1, app2. Before CPack 2.8.4, app1 and app2 have standalone CMakeLists.txt and pack RPM independently. So I can set  different pre/post install scripts to these RPMs. In CPack 2.8.4, I can generate two component

[Cmake-commits] CMake branch, next, updated. v2.8.4-1157-gce41ad3

2011-03-13 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ce41ad395bf19d0568079be2cf60b24713001399 commit ce41ad395bf19d0568079be2cf60b24713001399 Merge: d1c5b34 a201028 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun Mar 13 16:17:02 2011 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Eric Noulard
2011/3/11 Eric Noulard eric.noul...@gmail.com: 2011/3/11 Rolf Eike Beer e...@sf-mail.de: I can check on an openSUSE 11.0 tomorrow. http://www.cdash.org/CDash/viewTest.php?onlyfailedbuildid=900169 If you want some quick changes come to #cmake on Freenode where I usually hang around (Dakon

Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Eric Noulard
2011/3/12 Rolf Eike Beer e...@sf-mail.de: Am Samstag 12 März 2011, 14:21:33 schrieb Eric Noulard: 2011/3/11 Eric Noulard eric.noul...@gmail.com: 2011/3/11 Rolf Eike Beer e...@sf-mail.de: I can check on an openSUSE 11.0 tomorrow. http://www.cdash.org/CDash/viewTest.php?onlyfailedbuildid

Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-11 Thread Eric Noulard
2011/3/11 Rolf Eike Beer e...@sf-mail.de: NCISome recently activayed CPackRPM tests are failing on a SLES 10 x86_64 machine: http://www.cdash.org/CDash/viewTest.php?onlyfailedbuildid=898471 would anybody here be able to run this test on a similar host using 'next' branch for me? I do not

[cmake-developers] CMake.CheckSourceTree Failed?

2011-03-10 Thread Eric Noulard
My Last commit seems to have broken the CMake.CheckSourceTree test. However I do not understand the issue shown here: http://www.cdash.org/CDash/testDetails.php?test=87068196build=898608 What's wrong with my commit? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » -

[cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-10 Thread Eric Noulard
Hi All, NCISome recently activayed CPackRPM tests are failing on a SLES 10 x86_64 machine: http://www.cdash.org/CDash/viewTest.php?onlyfailedbuildid=898471 would anybody here be able to run this test on a similar host using 'next' branch for me? I do not currently have access to such system and

Re: [CMake] newbie q - where do I put what in which CMakeLists file? out of source build

2011-03-10 Thread Eric Noulard
2011/3/10 David Cole david.c...@kitware.com: Well if the build directory is *in* the source directory, then make package_source *should* include it. This is not a problem, but the expected behavior. If you don't want the build tree in the source tree, then don't put it there. Or do include

Re: [CMake] infinite loop when using function overriding

2011-03-10 Thread Eric Noulard
2011/3/9 David Cole david.c...@kitware.com: This is a question for folks at Stack Overflow. Literally. :-) I'm assuming you mean _add_library(${name} ${ARGN})? The override and call original with a leading _ is probably not well documented anywhere. While it's useful on occasion, we do not

Re: [CMake] CPack and RPM packages

2011-03-08 Thread Eric Noulard
2011/3/8 Laszlo Papp djsz...@archlinux.us: I could not still build cmake.. But I did this modification locally you suggested and that is the output: CPack: Create package using RPM CPack: Install projects CPack: - Run preinstall target for: Gluon CPack: - Install project: Gluon CPack:

Re: [CMake] Sub components with CPack and NSIS

2011-03-08 Thread Eric Noulard
2011/3/8 NoRulez noru...@me.com: Hello everyone, is there a way to generate sub and sub sub components with CPack and Nsis? Yes theoretically there is. But I never tried. I would like to have the following structure, but I couldn’t figure out how to do this: Component |

Re: [CMake] Sub components with CPack and NSIS

2011-03-08 Thread Eric Noulard
2011/3/8 NoRulez noru...@me.com: Ok, I mean a parent group instead of sub component. But i doesn't find any documentations about this too. look in CPack.cmake or cmake --help-module CPack If it isn't implemented in CPack, can i mix cpack and nsis scripts, and if so how? CPack is using a

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/7 Laszlo Papp djsz...@archlinux.us: Any progress on it ? Nope. I won't be very responsive this week. One more information, this n900-devel image uses internally qemu and I am not sure that can cause any issue for the build system. I don't like I said I'm not that experienced with

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/7 Laszlo Papp djsz...@archlinux.us: As said, the working OBS spec files can be found here: http://repo.pub.meego.com/home:/sandst1/standard/armv7l/ http://repo.pub.meego.com/home:/sandst1/standard/i586/ Not really, since binary RPMs do not contains the spec file, but I did find the spec

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/8 Laszlo Papp djsz...@archlinux.us: Well: http://public.kitware.com/Bug/view.php?id=11595 That is fixed in cmake 2.8.4. Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...) I am trying to build this  

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/8 Laszlo Papp djsz...@archlinux.us: On Tue, Mar 8, 2011 at 12:45 AM, Eric Noulard eric.noul...@gmail.com wrote: 2011/3/8 Laszlo Papp djsz...@archlinux.us: Well: http://public.kitware.com/Bug/view.php?id=11595 That is fixed in cmake 2.8.4. Changelog: http://www.cmake.org/pipermail/cmake

[CMake] CMake hanging when run inside QEmu

2011-03-07 Thread Eric Noulard
Hi, I am starting a separate thread on this hanging issue. -- Forwarded message -- From: Laszlo Papp xx Date: 2011/3/8 Subject: Re: [CMake] CPack and RPM packages To: Eric Noulard eric.noul...@gmail.com Cc : CMake ML cmake@cmake.org 1st run: ca -- The C compiler

Re: [CMake] Cmake with Cray Fortran

2011-03-06 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: It's not an option to do a global install. These are US government owned clusters. I asked them if they could install it and they won't for awhile -- they tend to remain a few versions back on everything until they run extensive tests on new

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Eric Noulard
2011/3/5 Laszlo Papp djsz...@archlinux.us: On Sat, Mar 5, 2011 at 5:32 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/3/5 Laszlo Papp djsz...@archlinux.us: Well, first I cannot build :) I thought you were already using CPack for Deb package? If you never used a cross-compiling setup

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: Hi, I'm trying to use cmake with the Cray Fortran compiler. The compiler is wrapped through a script called ftn. When I have the PrgEnv-pgi (pgi compiler) or the PrgEnv-gnu modules loaded, it works with no issue. But, when I have it set

Re: [CMake] Cmake with Cray Fortran

2011-03-05 Thread Eric Noulard
2011/3/5 Tim Gallagher tim.gallag...@gatech.edu: Eric, Excellent! Thanks! I don't know a whole lot about CMake (yet) -- would it be possible to make older versions aware of the compiler if I were to package only the updated files rather than install my own version of CMake? In other

Re: [CMake] CPack and RPM packages

2011-03-05 Thread Eric Noulard
2011/3/5 Laszlo Papp djsz...@archlinux.us: Well, first I cannot build :) I thought you were already using CPack for Deb package? If you never used a cross-compiling setup with CMake then read this first: http://www.cmake.org/Wiki/CMake_Cross_Compiling [...] -- Erk Membre de l'April - «

Re: [cmake-developers] New CPackRPM failing on build dir with space in it

2011-03-04 Thread Eric Noulard
2011/3/4 Rolf Eike Beer e...@sf-mail.de: Hi All, I know that some new CPackRPM tests are failing http://www.cdash.org/CDash/testDetails.php?test=86188713build=889597 the reason is the build path used contains space which cannot be handled by rpmbuild... I'll fix that tonight and avoid

[cmake-developers] CPack component and packaging ways

2011-03-04 Thread Eric Noulard
Hi All, As of CPack 2.8.4 the component support has been added to ArchiveGenerator and RPM (and NSIS and PackageMaker continue to support component packaging) As explained here; http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#CPack_Generator_specific_behavior Currently NSIS and

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp djsz...@archlinux.us: Hi, Can I create an rpm package with cpack in order to not deal with spec files ? Yes you can CPackRPM is meant to do that: http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 The fastest path is to try: $ cd /path/to/builddir

Re: [CMake] Multiple library configurations with the same output name

2011-03-04 Thread Eric Noulard
2011/3/4 Alexey Livshits livch...@web.de: I am not a Visual Studio user so I may be missing your point here but why having foo_1 and foo_2 ending up in the same workspace is a problem? As long as the lib/dll end up in separate dirs (using *_OUTPUT_DIRECTORY). Workspaces become too large, so

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp djsz...@archlinux.us: On Fri, Mar 4, 2011 at 3:05 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/3/4 Laszlo Papp djsz...@archlinux.us: Hi, Can I create an rpm package with cpack in order to not deal with spec files ? Yes you can CPackRPM is meant to do

[Cmake-commits] CMake branch, next, updated. v2.8.4-1097-g44c437e

2011-03-04 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=44c437ea65b58ed05f9e2ba80c2471dc0f852dbf commit 44c437ea65b58ed05f9e2ba80c2471dc0f852dbf Merge: 375d9ea 77333a9 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Mar 4 16:18:26 2011 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.4-1099-geb92381

2011-03-04 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eb92381eb6cb509b5f64f295a2ed85ff16b17e43 commit eb92381eb6cb509b5f64f295a2ed85ff16b17e43 Merge: 44c437e b813f86 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Mar 4 16:58:31 2011 -0500 Commit: CMake Topic Stage

Re: [CMake] Multiple library configurations with the same output name

2011-03-03 Thread Eric Noulard
2011/3/3 Alexey Livshits livch...@web.de: Hello CMakers, suppose I've got a library foo with tow configurations: foo_1 and foo_2. Both versions should have the same output name: foo. The problem is, the output directory for both ist the same, so the second will overwrite the first. You can

Re: [CMake] BUG: Special chars in user name. Configure error.

2011-02-27 Thread Eric Noulard
2011/2/27 and...@sibmail.com: Hello i got some bug. I use W7 and username CC. So when i run Configure in gui under this user, Cmake throws an error:  cant build simple programm... and more unknown chars... (full error log attached) and this not error of compiler. But when i run it on other

Re: [CMake] Multiple Package Generators and add_package command

2011-02-27 Thread Eric Noulard
2011/2/26 Orcun Gokbulut mador...@gmail.com: I'm trying to find out a way to generate multiple packages from a big project. There are some patches and hack available but I'm not experienced cmake user and I can not figure out how to use them. IMHO, an add_package command can be usefull

Re: [CMake] CMake Error: Error processing file

2011-02-27 Thread Eric Noulard
2011/2/28 Stephen Thomas sthomas...@gmail.com: Hello, I'm very new to cmake and I'm attempting to build the webcamtools package.  While I've been able to get CMake to work properly on the host I'm working on I really need it to configure for cross-compiling to a embedded ARM TS-7800 board.  

[Cmake-commits] CMake branch, next, updated. v2.8.4-1023-g7a8a14e

2011-02-25 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7a8a14e70c4e7b449a558dfd7f7291101528512c commit 7a8a14e70c4e7b449a558dfd7f7291101528512c Merge: 8dc98c3 5b4cbdb Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Feb 25 10:49:17 2011 -0500 Commit: CMake Topic Stage

Re: [cmake-developers] Test failing because Test directory is not clean

2011-02-24 Thread Eric Noulard
2011/2/23 Eric Noulard eric.noul...@gmail.com: 2011/2/23 Clinton Stimpson clin...@elemtech.com: I've having problems with these tests too. If they fail once, they will keep failing until some files generated by the failed test are cleaned up. Some files should be, the package files located

Re: [CMake] cpack issue: %1 is not a valid Win32 application

2011-02-24 Thread Eric Noulard
2011/2/24 thehighhat thehighhat+...@gmail.com: On Thu, Feb 24, 2011 at 12:20 PM, David Cole david.c...@kitware.com wrote: Do you have the same problem if you use a real binary for the 'make' instead of this symlink? Yes, the same problem persists. I started with a clean builddir.  Changed

Re: [CMake] cpack issue: %1 is not a valid Win32 application

2011-02-24 Thread Eric Noulard
2011/2/25 Martin O'Brien martin.matthew.obr...@gmail.com: I haven't really read most if this thread, so this may not apply, but this dialog box can be caused by trying to run a Win64 application on Win32, or trying to run any binary other than Win32 with a format that Windows understands on

[Cmake-commits] CMake branch, next, updated. v2.8.4-996-g3397e54

2011-02-23 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3397e54c3c77d1b1f713e6066a47154cc8d487d7 commit 3397e54c3c77d1b1f713e6066a47154cc8d487d7 Merge: 6dbbf23 f2ab270 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Feb 23 18:30:04 2011 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.4-998-gb831e88

2011-02-23 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b831e88b5acbf9749980a02157e1c726884c5479 commit b831e88b5acbf9749980a02157e1c726884c5479 Merge: 3397e54 3fb89cf Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Feb 23 18:50:22 2011 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.4-989-ged5bad8

2011-02-22 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ed5bad815d43106784547ebda938b4d58c257b47 commit ed5bad815d43106784547ebda938b4d58c257b47 Merge: 1929bb2 4deb308 Author: Eric Noulard eric.noul...@gmail.com AuthorDate

Re: [CMake] Setting global make variable from CMake,

2011-02-21 Thread Eric Noulard
2011/2/21 Łukasz Tasz luk...@tasz.eu: Hi All, Could somebody help me how to provide own predefined make varibable from cmake configuration? Such a variable should be avaliable in the context of all generated makefiles. Since the makefiles are generated by CMake WHY do you need to define a

Re: [CMake] Setting global make variable from CMake,

2011-02-21 Thread Eric Noulard
2011/2/21 Łukasz Tasz luk...@tasz.eu: 2011/2/21 Eric Noulard eric.noul...@gmail.com: What is your use case? In my case I'm making integration with ccache, and distcc, and as you know all of them are tuned only via ENV_VARS. Depending on CMAKE_BUILD_TYPE, compiler version, OS I would like

Re: [CMake] Setting global make variable from CMake,

2011-02-21 Thread Eric Noulard
2011/2/21 Michael Wild them...@gmail.com: Do you know such a call can be configured? for example: export MYVARIABVLE=test; cd dir; compiler_call I don't think there is an easy way to do that from within CMake. You would need some way to set env var before launching the compile rule the

Re: [CMake] cpack 32bit rpm on a 64bit system

2011-02-17 Thread Eric Noulard
2011/2/17 Yngve Inntjore Levinsen yngve.levin...@gmail.com: Dear Eric, So I answered my own question perhaps, the very issue was in fact that I set CPACK_RPM_PACKAGE_ARCHITECTURE to i686 when I tried to build. Commenting out that part and the packaging worked. OK. Two questions: - Will

Re: [CMake] Gyp VS CMake

2011-02-17 Thread Eric Noulard
2011/2/17 Felipe Ferreri Tonello felipe.tone...@totvs.com.br: On Thursday 17 February 2011 06:15:34 Nicolas Desprès wrote: That being said, I feel sad to see other CMake's like projects started instead of contributing. Regards, I'm with you. I don't know why there are companies or people

Re: [CMake] cpack 32bit rpm on a 64bit system

2011-02-16 Thread Eric Noulard
2011/2/16 Yngve Inntjore Levinsen yngve.levin...@gmail.com: Dear Eric, First, thank you for a very quick reply! The log you requested is attached. The rpmbuild.out file is empty, and the rpmbuild.err has one line which states: error: No compatible architectures found for build I am using

Re: [CMake] cpack 32bit rpm on a 64bit system

2011-02-16 Thread Eric Noulard
2011/2/16 Yngve Inntjore Levinsen yngve.levin...@gmail.com: The server OS is quite conservative when it comes to new packages, so I already had to go into a fight to get 2.6 series installed. I do not think that is possible system-wide but I am of course able to compile cmake myself and

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Eric Noulard
2011/2/15 Daryl N darylhouse2...@yahoo.com: Hi, I have a question on the use of CPack.  I have CMake setup to generate binaries and shared libraries.  Up until now I have only created a TGZ with rpath set to ..  This has worked nicely, but now I would like to create a Debian package for

Re: [CMake] Setting target destination and rpath per generator

2011-02-15 Thread Eric Noulard
2011/2/15 David Cole david.c...@kitware.com: You cannot do cmake-ish things in the CPACK_PROJECT_CONFIG_FILE. Neither install commands nor set_target_properties calls do anything in this context. Yes you are right, but we may have expected that CMAKE_INSTALL_RPATH may be used at INSTALL time

Re: [CMake] cpack 32bit rpm on a 64bit system

2011-02-15 Thread Eric Noulard
2011/2/15 Yngve Inntjore Levinsen yngve.levin...@gmail.com: Dear CMakers, I am trying to package a 32bit binary on a 64bit system. It breaks with the (useless?) verbose output which follows below. What I could find of useful information was in _CPack_Packages/Linux/RPM/rpmbuild.err, which

[Cmake-commits] CMake branch, next, updated. v2.8.3-1645-g6707097

2011-02-15 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=670709703faf6388ab3096bf43c3221ee2a6e838 commit 670709703faf6388ab3096bf43c3221ee2a6e838 Merge: 43d96cf 0cf1d72 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue Feb 15 14:00:22 2011 -0500 Commit: CMake Topic Stage

Re: [CMake] Link directories

2011-02-14 Thread Eric Noulard
2011/2/14 Robert Bielik robert.bie...@xponaut.se: Hi all, I seem to be missing something, cause I cannot find a target property for setting additional library directories (for a MSVC project) Usually you do not specify additional lib directories you should specify all libs you need with

Re: [cmake-developers] Work on the graphviz support - compatibility ?

2011-02-13 Thread Eric Noulard
2011/2/13 Alexander Neundorf neund...@kde.org: On Monday 07 February 2011, Alexander Neundorf wrote: On Sunday 06 February 2011, Eric Noulard wrote: 2011/2/5 Alexander Neundorf neund...@kde.org: Hi, in general we keep cmake as backward compatible as possible, so no builds

Re: [CMake] CPACK_STRIP_FILES has no effect on DSOs

2011-02-11 Thread Eric Noulard
2011/2/11 Moritz Moeller realr...@virtualritz.com: On 02/11/2011 09:56 AM, Moritz Moeller wrote: None of the DSOs gets stripped. Is this intentional with shared libs? Any workaround or anything I am missing? So I worked around this myself by setting  set( CMAKE_MODULE_LINKER_FLAGS -s )

Re: [CMake] CPACK_STRIP_FILES has no effect on DSOs

2011-02-11 Thread Eric Noulard
2011/2/11 Moritz Moeller realr...@virtualritz.com: On 02/11/2011 10:57 AM, Eric Noulard wrote: Which kind of CPack package are you building? DEB, RPM, TGZ, etc... I am building a tbz2. But this should happen long before the package is compressed, innit. Nope. With CPACK_STRIP_FILES strip

Re: [cmake-developers] CPack RPM in next RC (if there is one)?

2011-02-08 Thread Eric Noulard
2011/2/8 Brad King brad.k...@kitware.com: On 02/06/2011 03:58 PM, Eric Noulard wrote: if there is one RC left before 2.8.4 it would be nice to include this patchset. Does this fix a regression from a previous release? No this is not a regression fix. Just a wish to have ArchiveGenerator

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Eric Noulard
2011/2/8 Martin O'Brien martin.matthew.obr...@gmail.com: While I too find myself sometimes wanting convenience scripts - some people find the use of '-DENABLE_whatever=ON' instead of --enable-whatever' foreign, for example - the problem with them, IMO, is that they're impossible to make

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Eric Noulard
2011/2/8 Michael Wild them...@gmail.com: And there's the hidden trap that the -D options must be *before* the -P option. Very nasty, especially for people who never used CMake before. Yes right I was caught by that in the past. On 02/08/2011 09:27 AM, Martin O'Brien wrote: Absolutely, and

Re: [CMake] Automatic out of source build's possible?

2011-02-08 Thread Eric Noulard
2011/2/8 Martin O'Brien martin.matthew.obr...@gmail.com: I've resisted the urge to patch, since I really don't want to be dependent on a custom version of CMake. My idea was more like proposing a feature request + patch in order to make the feature go in upstream CMake. I cannot ensure it will

Re: [CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Eric Noulard
2011/2/8 Clinton Stimpson clin...@elemtech.com: I also saw that warning with this example (there's nothing in this example about a MONOLITHIC install): cmake_minimum_required(VERSION 2.8) project(hello) install(CODE message(installing...) COMPONENT Hello) set(CPACK_COMPONENTS_ALL Hello)

Re: [CMake] cpack components archive generators

2011-02-07 Thread Eric Noulard
2011/2/7 Clinton Stimpson clin...@elemtech.com: Is there a reason the archive generators append -ALL to the package file name I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1? Can we leave that to the user to decide if they want -ALL by putting it in CPACK_PACKAGE_FILE_NAME? Yes

Re: [CMake] cpack components archive generators

2011-02-07 Thread Eric Noulard
2011/2/7 Clinton Stimpson clin...@elemtech.com: On Monday, February 07, 2011 01:38:22 pm Eric Noulard wrote: 2011/2/7 Clinton Stimpson clin...@elemtech.com: Is there a reason the archive generators append -ALL to the package file name I specify when I set CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE

Re: [CMake] CPack/NSIS and launching the application after the installation completed

2011-02-07 Thread Eric Noulard
2011/2/7 Crni Gorac cgo...@gmail.com: On Mon, Feb 7, 2011 at 10:09 PM, David Cole david.c...@kitware.com wrote:  [ ... ] The commit to fix this bug is in the 2.8.4-rc2 release candidate: http://public.kitware.com/Bug/view.php?id=11144 With it, you can set CPACK_NSIS_MUI_FINISHPAGE_RUN to

Re: [cmake-developers] Work on the graphviz support - compatibility ?

2011-02-06 Thread Eric Noulard
2011/2/5 Alexander Neundorf neund...@kde.org: Hi, in general we keep cmake as backward compatible as possible, so no builds are broken. In a local branch I have a version of cmake with a small improvement to the graphviz support in cmake. It turns the variable GRAPHVIZ_IGNORE_TARGETS from

<    6   7   8   9   10   11   12   13   14   15   >