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

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]: ***

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] 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] 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] [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] 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] 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

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

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

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] 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] 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

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

2011-04-23 Thread Eric Noulard
2011/4/23 Rosen Diankov rosen.dian...@gmail.com: Hi Eric, Thanks for the response. In another email to cmake.org, I sent a DebSourcePPA.cmake file that shows what i'm doing to generate deb source packages. Yes I saw that one, this is interesting, may be it could go upstream, if you want it

Re: [CMake] OS X and getline ?

2011-04-25 Thread Eric Noulard
2011/4/25 AJ ONeal coola...@gmail.com: What's the preferred solution to the OS X getline problem (meaning that it doesn't exist in OS X's libc) when using CMake? (Don't use getline isn't an option) I don't think this is a CMake question. If you need getline on OS X then may be you'll have to

Re: [CMake] makefile helper targets for generated source files.

2011-04-25 Thread Eric Noulard
2011/4/25 James Bigler jamesbig...@gmail.com: If I have a custom command: add_custom_command(OUTPUT myfile.out) Then I add that file to the target: add_executable(mytarget main.cpp myfile.out) If I do a 'make help' I get rules for main.o, but none for myfile.out.  Is there something I

Re: [CMake] Generating archives and binaries with different PREFIX settings using CPack

2011-04-25 Thread Eric Noulard
2011/4/25 Clifford Yapp cliffy...@gmail.com: I'm trying to generate both source tarballs and binary packages using CPack, and I'm at something of a loss as to how to achieve the following: I want the binaries (RPM, DEB, etc.) to respect the CMAKE_INSTALL_PREFIX.  I want the source tarballs

Re: [CMake] Generating archives and binaries with different PREFIX settings using CPack

2011-04-25 Thread Eric Noulard
2011/4/25 Clifford Yapp cliffy...@gmail.com: Eric, Thanks - that looks like it will do the trick, testing now.  Is there a bug report somewhere proposing using CMake-level per-generator variables to control these things? AFAIK there aren't any. Now adding this for ALL CPack generators would

Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Eric Noulard
2011/4/26 Martin Nielsen martin.niel...@csr.com: Hi, I have been asked to look into the possibilities of compiling multiple files in one invocation of the compiler like: armcc.exe … file1.c file2.c … fileN.c –o mylib.lib The cross compiler we are using requires a license in order to

[CMake] Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
Hi all, I've just put my hand on a Mac OS host in order to port some project. After struggling with XCode, CMake and other mac port install I manage to compile my project, not too bad. I'd like to provide my software as a nice Mac OS installer, and I am back into the Mac OS jungle: Bundle

[CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
Forgot the list. -- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2011/4/27 Subject: Re: [CMake] Which MacOS installer to use and how? To: Sean McBride s...@rogue-research.com 2011/4/27 Sean McBride s...@rogue-research.com: On Wed, 27 Apr 2011 16:55:58

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Michael Jackson mike.jack...@bluequartz.net: Take a look at /Applications/Utilities/Console.app and seem if anything shows up in the logs as to why it failed. Permissions maybe? Missing /usr/local/ directory? /usr/local is there. I do have the permission: I have admin right and

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Eric Noulard eric.noul...@gmail.com: 2011/4/27 Michael Jackson mike.jack...@bluequartz.net: Take a look at /Applications/Utilities/Console.app and seem if anything shows up in the logs as to why it failed. Permissions maybe? Missing /usr/local/ directory? /usr/local is there. I

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
? ___ Mike Jackson                      www.bluequartz.net Principal Software Engineer       mike.jack...@bluequartz.net BlueQuartz Software               Dayton, Ohio On Apr 27, 2011, at 12:03 PM, Eric Noulard wrote: 2011/4/27 Eric Noulard eric.noul...@gmail.com: 2011/4/27 Michael

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Michael Jackson mike.jack...@bluequartz.net: I did a Touch COPYING.txt file to simply create the file then CMake ran all the way through. Ok fine, sorry about that. I ran make -j16; make package then mounted the .dmg file and ran the installer. I selected an external disk (so not

Re: [CMake] Fwd: Which MacOS installer to use and how?

2011-04-27 Thread Eric Noulard
2011/4/27 Eric Noulard eric.noul...@gmail.com: 2011/4/27 Michael Jackson mike.jack...@bluequartz.net: I did a Touch COPYING.txt file to simply create the file then CMake ran all the way through. Ok fine, sorry about that. I ran make -j16; make package then mounted the .dmg file and ran

Re: [CMake] Top level directory with component install

2011-04-27 Thread Eric Noulard
2011/4/27 Daniel Nelson tor...@connect2.com: I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files for each component, but when I enable it I no longer have a top level directory in the tar. For example, if archive component install is off then the tar files contains files

Re: [CMake] Top level directory with component install

2011-04-27 Thread Eric Noulard
2011/4/27 Daniel Nelson tor...@connect2.com: On Wed, Apr 27, 2011 at 08:49:56PM +0200, Eric Noulard wrote: 2011/4/27 Daniel Nelson tor...@connect2.com: I am using CPACK_ARCHIVE_COMPONENT_INSTALL to create separate tar files for each component, but when I enable it I no longer have a top

[CMake] CPack PackageMaker issue

2011-04-28 Thread Eric Noulard
Hi all, Second try to make a package maker package on MacOS using CPack. Now I am trying to understand why I get a Bill Of Material error: http://www.cmake.org/pipermail/cmake/2011-April/044081.html Looking at the difference between my pkg and the CMake one I see they seems to have the same

Re: [CMake] CMake/CPack 2.8.4 - Windows - Can't package files as read-only?

2011-04-28 Thread Eric Noulard
2011/4/28 Alan Garny alan.ga...@dpag.ox.ac.uk: Hi, I am using CMake/CPack (version 2.8.4) for my project and everything works fine except for a couple of files that I am trying to package on Windows. I would like those files to be read-only. I currently have something like: INSTALL(FILES

Re: [CMake] CMake/CPack 2.8.4 - Windows - Can't package files as read-only?

2011-04-28 Thread Eric Noulard
2011/4/28 Alan Garny alan.ga...@dpag.ox.ac.uk: From: Eric Noulard [mailto:eric.noul...@gmail.com] 2011/4/28 Alan Garny alan.ga...@dpag.ox.ac.uk: Hi, I am using CMake/CPack (version 2.8.4) for my project and everything works fine except for a couple of files that I am trying to package

Re: [CMake] CMake/CPack 2.8.4 - Windows - Can't package files as read-only?

2011-04-29 Thread Eric Noulard
2011/4/29 Alan Garny alan.ga...@dpag.ox.ac.uk: Would try to open the cmake_install.cmake file corresponding to the offending install(file ...) You should find something like: FILE(INSTALL yourfile DESTINATION thedest         FILE_PERMISSIONS perms) This is not quite what I have. Instead, I

Re: [CMake] VxWorks Workbench Generator

2011-04-29 Thread Eric Noulard
2011/4/29 Dan Furtney dfurt...@cox.net: Anyone know of a generator for Workbench projects? Not me, but I'm not a Workbench user. Would be nice to ask WindRiver for a CMake contribution though :-] I think their current workbench is eclipse based so may be the generator could be based on current

Re: [CMake] CMake/CPack 2.8.4 - Windows - Can't package files as read-only?

2011-04-29 Thread Eric Noulard
2011/4/29 Alan Garny alan.ga...@dpag.ox.ac.uk: This is not quite what I have. Instead, I have something like: FILE(INSTALL DESTINATION myDestination TYPE FILE PERMISSIONS OWNER_READ GROUP_READ WORLD_READ FILES myFile) fine, I was too lazy to check the syntax thoroughly Just create a

Re: [CMake] CPack: Problems creating debs (problem in tar command?)

2011-04-30 Thread Eric Noulard
2011/4/30 Martin Felis mar...@silef.de: Hi there, I am currently trying to build a debian package using CPack, which worked surprisingly well, however when trying to install that package I get some errors that dpkg fails to create some files. I get error messages of the form: Unpacking

Re: [CMake] RPM packages and install(SCRIPT...)

2011-05-05 Thread Eric Noulard
2011/5/5 Judicaël Bedouet j.bedo...@infonie.fr: Hi, Hi Judicaël, I use install(SCRIPT...) to make links during installation. It works with a normal installation (make install) but the script seems not to be executed by CPack or CPack RPM (I have not tested other generators). I could solve

Re: [CMake] Issue using cmake with mingw

2011-05-11 Thread Eric Noulard
2011/5/11 AMARNATH, Balachandar balachandar.amarn...@airbus.com: Hi, I am trying to compile (cross) a library in linux (debian) under mingw. I have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils, mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c++

Re: [CMake] Creating an RPM package on AIX fails

2011-05-11 Thread Eric Noulard
2011/5/11 Pasi Valminen pasi.valmi...@gmail.com: Hi, I tried to create a simple RPM package on AIX with CPack, but my attempt resulted in an empty RPM file since the file list population failed. In the process I got a couple of error messages from `find' and `sed' which turned out to be

Re: [CMake] linux cmake with intel compiler

2011-05-18 Thread Eric Noulard
2011/5/18 gekso ev.93...@gmail.com: Hello! Does anyone know how to use Intel Compiler with cmake on linux (Unix Makefiles)? I've tried to set CC, CXX environment variables before cmake - no effect. What do you mean by no-effect ? gcc is found and used? $ source

Re: [CMake] Multiarch support

2011-05-18 Thread Eric Noulard
2011/5/18 Andreas Heck andreash...@arcor.de: Hey guys, does anyone knows if there exists a patched version of 2.8.4 with debians new multiarch support? Ubuntu natty is the first system which uses this kind of structure. My first workaround was to set the include paths for the find modules

Re: [CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread Eric Noulard
2011/5/19 J.S. van Bethlehem j.s.van.bethle...@astro.rug.nl: Hello Eike, Thanks a lot for your reply. I have actually been thinking in the same direction. I have one problem though: how can you make a truly global variable in CMake? Whenever you do something to a variable in a directory

Re: [CMake] Handle lib64 library on Linux

2011-05-21 Thread Eric Noulard
2011/5/20 Sara Rolfe smro...@u.washington.edu: Hello, I am attempting to modify my make file so the linker will check for /usr/lib64 instead of /usr/lib.  I found a patch for this problem here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1 This commit is not related

Re: [CMake] Handle lib64 library on Linux

2011-05-22 Thread Eric Noulard
2011/5/22 Sara Rolfe smro...@u.washington.edu: The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does not looking in /lib64 paths.  Could you let me know which version of CMake you are referring to, that checks this path? 2.8.4 should definitely have this is the

Re: [CMake] Handle lib64 library on Linux

2011-05-23 Thread Eric Noulard
ITKIO ITKBasicFilters vtkRendering vtkIO vtkWidgets   vtkHybrid) On May 22, 2011, at 12:14 AM, Eric Noulard wrote: 2011/5/22 Sara Rolfe smro...@u.washington.edu: The latest version of CMake, cmake-2.8.4-Linux-i386.tar.gz does not looking in /lib64 paths.  Could you let me know which version

Re: [CMake] Handle lib64 library on Linux

2011-05-23 Thread Eric Noulard
2011/5/23 Sara Rolfe smro...@u.washington.edu: Hi Eric, Thanks for pointing this out.  I changed the order, but am still getting the same error: make[2]: *** No rule to make target `/usr/lib/libuuid.so', needed by `SubsampleVolume'.  Stop. make[1]: *** [CMakeFiles/SubsampleVolume.dir/all]

Re: [CMake] How to include libraries from classic toolchain to be installed and/or packaged?

2011-05-30 Thread Eric Noulard
2011/5/30 Jan Dolecek juzna...@gmail.com: Hi guys, I like CMake and I'm trying to learn it, however I have problem with my project which I'm not able to solve for couple of days. The problem is, that my project depends on another library which I need to compile and which uses classic

Re: [CMake] Windows build inconsistency...

2011-06-03 Thread Eric Noulard
2011/6/3 Jean-Christophe Fillion-Robin jchris.filli...@kitware.com: Just tested it on linux and the same remark applies. Hi, I cannot find the answer in the ML archive but I think I already crossed that issue in the past and I was answered that this was the expected legacy CMake behavior. 1)

Re: [CMake] How to add CPack errors to CDash

2011-06-03 Thread Eric Noulard
2011/6/3 NoRulez noru...@me.com: Is it possible to use a command such as ctest_*? because in my main CTestScript.cmake file it isn't possible to call add_test. May be you can use ctest_build(TARGET package) this suppose the package target has been configure properly on the particuler build

Re: [CMake] CPack specify filename

2011-06-03 Thread Eric Noulard
2011/6/3 NoRulez noru...@me.com: Is this the only way? Because i would like to have only one CTestScript.cmake file which came from the build server. I do not see the point? If you use CPACK_PROJECT_CONFIG_FILE **in your project CMakeLists.txt** then you'll get what you want with a single

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Eric Noulard
2011/6/6 Campbell Barton ideasma...@gmail.com: Hi, A handful of times I would have found it useful to run cmake without having to be in the build dir, mostly there is some way to change the CWD or write a shell wrapper, nevertheless it could still be useful when launching builds from scripts

Re: [CMake] Binary packages naming convention

2011-06-08 Thread Eric Noulard
2011/6/7 Jean-Christophe Fillion-Robin jchris.filli...@kitware.com: Hi Folks, I observed there are different ways of naming binary packages:    myproject-Linux-i386.{ext}    myproject-Linux-amd64.{ext}    myproject-Linux-x86_32.{ext}    myproject-Linux-x86_64.{ext}   

Re: [CMake] library path stripping

2011-06-08 Thread Eric Noulard
2011/6/8 Andreas Naumann andreas-naum...@gmx.net: Hi @all, I have some problem with the library usage in cmake. It seems to me, that cmake removes the full path of the library, if the path is in the environment variable LIBRARY_PATH. This behaviour cause problems at our system, such that

Re: [CMake] library path stripping

2011-06-08 Thread Eric Noulard
2011/6/8 Andreas Naumann andreas-naum...@gmx.net: Am 08.06.2011 11:56, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum...@gmx.net: Hi @all, I have some problem with the library usage in cmake. It seems to me, that cmake removes the full path of the library, if the path

Re: [CMake] cmake's check of the generated target

2011-06-08 Thread Eric Noulard
2011/6/8 Ilias Miroslav miroslav.il...@umb.sk: Dear experts, We would like to check the generated target (main executable) after it was built. For example . . Linking Fortran executable vibcal.x [100%] Built target vibcal.x [100%] Built target dirac.x afterwards, it would be good to

Re: [CMake] library path stripping

2011-06-09 Thread Eric Noulard
2011/6/8 Andreas Naumann andreas-naum...@gmx.net: Am 08.06.2011 15:02, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum...@gmx.net: Am 08.06.2011 11:56, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum...@gmx.net: Hi @all, I have some problem with the library

Re: [CMake] TGZ installer following links

2011-06-16 Thread Eric Noulard
2011/6/16 John R. Cary c...@txcorp.com: I am using the TGZ packager. Which version of CMake/CPack ? On which platform(s) ? Do you use CPack alone or CMake+CPack? My dist looks something like        topdir  nextdir  link - nextdir/lowerdir  lowerdir It seems that CPACK, instead of

Re: [CMake] TGZ installer following links

2011-06-16 Thread Eric Noulard
2011/6/16 John R. Cary c...@txcorp.com: On 6/16/11 12:09 PM, Eric Noulard wrote: 2011/6/16 John R. Caryc...@txcorp.com: I am using the TGZ packager. Sorry, my error in not providing more complete info: Which version of CMake/CPack ? On which platform(s) ? octet.cary$ cmake --version

Re: [CMake] TGZ installer following links

2011-06-17 Thread Eric Noulard
TGZ.. but keep reading On 6/17/11 8:46 AM, John R. Cary wrote: On 6/16/11 2:15 PM, Eric Noulard wrote: I never used install(CODE ... but besides that this should work. did you have a look at the symlinks found in the CPack temp install dir: _CPack_Packages/xxx/TGZ/yyy are they local

Re: [CMake] TGZ installer following links

2011-06-17 Thread Eric Noulard
2011/6/17 John R. Cary c...@txcorp.com: Attached is a minimal standalone example that illustrates the problem. If build dir is next to the directory resulting from untarring this, do cmake -DCMAKE_INSTALL_PREFIX=$HOME/tmp/cmtprefix ../cmt make all install # You will see that in the

Re: [CMake] TGZ installer following links

2011-06-21 Thread Eric Noulard
2011/6/21 John R. Cary c...@txcorp.com: On 6/21/11 6:28 AM, Brad King wrote: On 06/17/2011 04:59 PM, Eric Noulard wrote: OK I have the same behavior on my box using your example. I did open a bug report: http://public.kitware.com/Bug/view.php?id=12284 I posted an explanation here

Re: [CMake] How to deliver a source code package?

2011-06-22 Thread Eric Noulard
2011/6/22 Dave Ohlsson dave.ohls...@gmail.com: [Warning: I am a CMake beginner.] Hi, This must have been asked many times, but I can't find the answer... (I did look at the CMake FAQ.) If I use the autotools and I want to make a Linux source code distribution to a user who doesn't have

Re: [CMake] [PATCH] V2 add support for component based spec header in RPM generator

2011-06-27 Thread Eric Noulard
2011/6/27 Koecher, Rene rene.koec...@wincor-nixdorf.com: Hi, Hi, while making excessive use of the RPM generator in CMake 2.8.5 I came across a requirement it could not match out of the box: per-component spec headers. As it is it seems not to be possible to add to or replace spec-file

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

2011-07-03 Thread Eric Noulard
2011/7/3 Mathias Gaunard mathias.gaun...@ens-lyon.org: 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

Re: [CMake] Build Error cmake 2.8.2 and above on RedHat 5U3

2011-07-06 Thread Eric Noulard
2011/7/6 matt.garr...@shell.com: Folks As part of some other open source S/W OpenFOAM-2.0.0 I need to build cmake-2.8.3 (preferred) Why would need to build CMake? Can't you take it from http://www.cmake.org/files/v2.8/cmake-2.8.4-Linux-i386.tar.gz ? However on all the versions 2.8.2 ,

Re: [CMake] Problem: Cannot change name of installer package with CPack

2011-07-08 Thread Eric Noulard
2011/7/7 Stephen Torri stephen.to...@gmail.com: Problem: Cannot change name of installer package. Cmake version: 2.8.4 What is your platform/build tool? Windows/ Visual Studio? Linux / Makefiles? Which CPack generator are you using? I am trying to change the value of CPACK_PACKAGE_NAME

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Hi, I have just realized this snippet in my CMakeLists.txt file: install(FILES    atticamanager.h    authentication.h    DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib    COMPONENT Devel ) install(FILES    archive/archive.h    DESTINATION

Re: [CMake] Addition to FindGit

2011-07-12 Thread Eric Noulard
2011/7/12 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like to display it's version number for development versions like this: 1.2.3-dev (commit abc1234 on

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Hi, Not sure whether if it's better than your current solution. May be it's a little less painless to write. Would it make sense to add an option to these install sections so that it grabs the files as they are (with subfolders, if any), if you set that

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Eric Noulard
2011/7/12 Laszlo Papp lp...@kde.org: Here is what I would advise (of course by setting some option if you want two have it also the original way): install(FILES   atticamanager.h   authentication.h   archive/archive.h   models/commentitemsmodel.h   models/gameitemsmodel.h  

Re: [CMake] Addition to FindGit

2011-07-12 Thread Eric Noulard
2011/7/12 Michael Hertling mhertl...@online.de: On 07/12/2011 09:35 AM, Eric Noulard wrote: 2011/7/12 Thomas Petazzoni thomas.petazz...@free-electrons.com: Hello, Le Sun, 05 Jun 2011 11:02:00 +0200, Quintus sutn...@gmx.net a écrit : I'm working on a git-versioned project that I'd like

Re: [CMake] libcrypto.so.6 library needed for cmake on Ubuntu 8.04

2011-07-15 Thread Eric Noulard
2011/7/15 Neil Higgins higgins-dem...@bigpond.com: cmake fails to start with the following error message: cmake: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory I have tried installing the openssl libraries and openssl-dev to no

Re: [CMake] libcrypto.so.6 library needed for cmake on Ubuntu 8.04

2011-07-15 Thread Eric Noulard
2011/7/15 Neil Higgins higgins-dem...@bigpond.com: I couldn't see anything on the CMake site that looked like an installable package, so ... Yes there is http://www.cmake.org/cmake/resources/software.html see Binary distributions: e.g.

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-18 Thread Eric Noulard
2011/7/17 Daniel Franke franke.dan...@gmail.com: Hi Andreas. On Sunday 17 July 2011 21:36:26 Andreas Mohr wrote: to me it sounds like all the effects can simply be described as happening due to including CPack way too early. Verdict: Don't Do That (tm) Maybe. See below for more details.

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-19 Thread Eric Noulard
2011/7/18 Daniel Franke franke.dan...@gmail.com: Could you explain why you need CPack to be included here? If the requirement comes from the needed definition of cpack_add_component then you can try to do the following: Exactly for this reason. 1) include(CPackComponent) early enough    

Re: [CMake] Pass an array type argument to a macro

2011-07-19 Thread Eric Noulard
2011/7/19 Laszlo Papp lp...@kde.org: Hi, Is there a way of passing array arguments to a macro with cmake ? Did you have a look at: CMakeParseArguments.cmake cmake --help-module CMakeParseArguments This makes it easier to parse KEYWORD arguments. [...] The problem is that when I would like

Re: [CMake] Fwd: How pass a -spec parameter to FindQt4.cmake?

2011-07-20 Thread Eric Noulard
2011/7/20 Daniel Näslund dan...@dannas.name: Then, if you need to help it some more, you may set the path to the QtCore library manually, or other variables manually. Managed to compile and link when I added the following snippet to the toolchain file:    set(QT_HEADERS_DIR

Re: [CMake] install(script ... and memory loss

2011-07-26 Thread Eric Noulard
2011/7/26 Micha Renner micha.ren...@t-online.de: In a CMakeLists file, there is this command: INSTALL(SCRIPT tInstall.txt) During processing tInstall.txt none of global variables (e.g. MSVC, CMAKE_SHARED_LIBRARY_SUFFIX ...) has a value. Is this a bug or a feature? Feature... At

Re: [CMake] extract a folder name

2011-07-26 Thread Eric Noulard
2011/7/26 Julien Dardenne julien.darde...@technooliq.com: Hi, I have a path and i try to extract the folder name of this one. example : For C:/Programs/game/test, i would get test Do you know a cmake command ? or should i use regular expressions ? If so, can you give me an example ?

Re: [CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-26 Thread Eric Noulard
2011/7/26 Laszlo Papp lp...@kde.org: Hi, I am trying to make our cpack setup work for an NSIS installer. I would like to make a very first step towards a component based installer on Windows. Do you get component installer with other CPack generators or not? RPM or DEB on Linux (with at

Re: [CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-27 Thread Eric Noulard
2011/7/27 Laszlo Papp lp...@kde.org: Hi Eric, So the solution begins with DOT NOT USE ABSOLUTE INSTALL PATH, give it a try and tell us how it goes. Thanks a lot for your answer. It has been very useful. The components seem much better for now after this change you were proposing:

Re: [CMake] Cross Compiling with cmake 2.8.5

2011-07-27 Thread Eric Noulard
2011/7/27 r.cze...@esa-grimma.de: Hi all, I tried to cross-compile an internal application for windows on a linux machine, but failed, because cmake at some point re-start the configure process, and drops the CMAKE_SYSTEM_NAME variable along that way. Attached is a minimal CMakeLists.txt,

Re: [CMake] Buggy CPack generator behaviour?

2011-07-27 Thread Eric Noulard
2011/7/27 Bjørn Forsman bjorn.fors...@gmail.com: Hi all, I wonder if I've hit some bugs in the CPack generators, specifically TGZ and DEB. They do not behave as I expect them to. What I expect them to do is to generate an archive of files that look exactly like what 'make install' puts in

Re: [CMake] Fwd: CPACK/NSIS: Subfolders/components related generation issue

2011-07-28 Thread Eric Noulard
2011/7/28 Laszlo Papp lp...@kde.org: Hi, Thanks for you guys, it helped a lot. :) We now have a good installer for testing purposes. You're welcome. May be you can take some time to update this Wiki Page http://www.cmake.org/Wiki/CMake:CPackWin32NewbiesChecklist with you experience with

Re: [CMake] Buggy CPack generator behaviour?

2011-07-28 Thread Eric Noulard
2011/7/28 Bjørn Forsman bjorn.fors...@gmail.com: Thanks a lot! With three lines in CMakeLists.txt I now get the same behaviour for 'make install' and the package generators: set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0) # don't prepend package name etc. (for archive generators)

Re: [CMake] LIBRARY_OUTPUT_PATH for Dynamic and Static Libraries

2011-07-28 Thread Eric Noulard
2011/7/28 Julien Dardenne julien.darde...@technooliq.com Hi, I compile my libraries into dynamic and static. I now wish to change the library path. If I am in static (folder : lib ) and dynamic (folder : dll). For now, i have this script : OPTION (BUILD_SHARED_LIBS Build shared

Re: [CMake] Buggy CPack generator behaviour?

2011-07-29 Thread Eric Noulard
2011/7/29 Bjørn Forsman bjorn.fors...@gmail.com: As you guessed this is impossible without backward compat' breakage. e.g. be aware that with CPACK_SET_DESTDIR set to ON RPM and DEB behavior changes namely RPM package built with that may not be relocatable. What do you mean with 'not

Re: [CMake] [cmake-developers] Cross platform test for comparing two text files

2011-08-03 Thread Eric Noulard
2011/8/2 Ali Ghayoor alii.ghay...@gmail.com: Thank you Eric, I want use this inside a Cmake file not as a command line, you can call cmake from within a CMake script using execute_process. so I used the flag of --compare_files inside the Cmake file, but it does not still work. I do not

Re: [CMake] Error running link command: Bus error

2011-08-22 Thread Eric Noulard
2011/8/22 Patrick Gampp hr...@gmx.de: Hi all, I did some cmake projects on MacOSX with the Xcode-generator and everything works fine. But when I use the unix makefiles cmake generator, my projects cannot correctly be built. I tried to build a minimal example from the cmake Tutorial, where

Re: [CMake] [CPACK] CPack not working properly

2011-08-23 Thread Eric Noulard
2011/8/23 Renato Utsch renatout...@gmail.com: Hello CMake Experts! I don't know if it's here that I have to ask, so if I'm wrong, please tell me. I used the CPack and it stopped making the binary package at the middle of the process, running like this: From the trace you gave it does not

Re: [CMake] Indrect function calls

2011-09-07 Thread Eric Noulard
2011/9/7 Firegurafiku fireguraf...@gmail.com: Is there a way to indirectly call a function which name is a variable? I want to do something like that:    function(avr_compiler_gcc_cflags CFLAGS) ...    function(avr_compiler_iar_cflags CGLAGS) ...    set(COMPILER gcc)    

Re: [CMake] Indrect function calls

2011-09-07 Thread Eric Noulard
2011/9/7 Firegurafiku fireguraf...@gmail.com: Do not forget to CC the ML (or reply to ML). With CMake:  1) you can ask CMake for double evaluation      using nested dollar ($) var value:     Try:     set(COMP1_CFLAGS Whatever)     set(COMP2_CFLAGS OrElse)     set(COMPILER COMP1)    

[CMake] Fwd: 64 bit flags

2011-09-09 Thread Eric Noulard
I did forget the ML. -- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2011/9/9 Subject: Re: [CMake] 64 bit flags To: pellegrini pellegr...@ill.fr 2011/9/9 pellegrini pellegr...@ill.fr: Hello everybody, I have a Fortran project that is currently built

  1   2   3   4   5   6   7   8   9   10   >