Re: [CMake] Install selected|group of targets

2012-02-02 Thread Eric Noulard
2012/2/2 Joakim Hove joakim.h...@gmail.com: I implemented the make install-foo feature some time ago, but didn't find the time to write the required tests, so it never got merged into CMake: OK - I have never looked at the CMake source code, and am in general quite rusty in C++ - but in my

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-02-01 Thread Eric Noulard
2012/2/1 Eric Noulard eric.noul...@gmail.com: 2012/2/1 David Cole david.c...@kitware.com: On Wed, Feb 1, 2012 at 2:27 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 31. Januar 2012, 23:39:30 schrieb Eric Noulard: 2012/1/31 Rolf Eike Beer e...@sf-mail.de: Eric Noulard wrote: 2012/1

Re: [CMake] Install selected|group of targets

2012-02-01 Thread Eric Noulard
2012/2/1 Joakim Hove joakim.h...@gmail.com: Hello; I have a quite large CMake project consisting of many libraries and executable programs. Schematically my codebase is organised as: root/CMakeLists.txt root/package1/CMakeLists.txt root/package1/lib/CMakeLists.txt

[Cmake-commits] CMake branch, next, updated. v2.8.7-2435-g7177838

2012-02-01 Thread Eric Noulard
7177838d6b24218bed553764cfbf56886b7736a1 Merge: 59d27a2 d34e9d1 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Feb 1 15:06:22 2012 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Wed Feb 1 15:06:22 2012 -0500 Merge topic 'ImproveCPackDoc-reloaded' into next

[Cmake-commits] CMake branch, next, updated. v2.8.7-2437-g0ffa193

2012-02-01 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0ffa193c6462c006a873a2cbfb2408ab2b718995 commit 0ffa193c6462c006a873a2cbfb2408ab2b718995 Merge: 7177838 6364e8a Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Feb 1 15:09:25 2012 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.7-2443-g565d4c3

2012-02-01 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=565d4c34e67f8bdb4b5730b05d835b63a0417e08 commit 565d4c34e67f8bdb4b5730b05d835b63a0417e08 Merge: 560b231 5d18851 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Feb 1 17:36:42 2012 -0500 Commit: CMake Topic Stage

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-31 Thread Eric Noulard
2012/1/25 Brad King brad.k...@kitware.com: On 1/25/2012 3:20 PM, Eric Noulard wrote: So with my proposal you can perfectly document a script in the middle of the file or as usual just in front of the concerned macro/function/var. This may be easier for doc maintenance because the function

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-31 Thread Eric Noulard
2012/1/31 Rolf Eike Beer e...@sf-mail.de: Ok Agreed. Just merged the branch to next. Just spotted a bug in it: @@ -559,6 +511,8 @@ bool cmDocumentation::CreateSingleModule(const char* fname,     {     if(line.size() line[0] == '#')       { +      /* line beginnings with ## are mark-up

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-31 Thread Eric Noulard
2012/1/31 Eric Noulard eric.noul...@gmail.com: 2012/1/31 Rolf Eike Beer e...@sf-mail.de: Ok Agreed. Just merged the branch to next. Just spotted a bug in it: @@ -559,6 +511,8 @@ bool cmDocumentation::CreateSingleModule(const char* fname,     {     if(line.size() line[0

Re: [CMake] Fix and feature for NSIS template

2012-01-31 Thread Eric Noulard
2012/1/31 Mattias Helsing helsin...@gmail.com: Hi all I found a bug in NSIS.template.in thats been bothering me for a while. The NSIS scripting language allows relative jumps that are relative to the _current_ command and an error in said file bypasses users permission check. Also my

Re: [CMake] cmake -E copy with file permission changes

2012-01-31 Thread Eric Noulard
2012/1/31 James Bigler jamesbig...@gmail.com: We use perforce for our source control, and perforce typically syncs files as read only until you check them out for editing. During our build process we copy a few scripts from the source tree to the build tree using 'cmake -E copy' in an

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread Eric Noulard
Le 30 janvier 2012 19:18, Nicolas Desprès nicolas.desp...@gmail.com a écrit : On Sat, Jan 28, 2012 at 5:36 PM, g...@novadsp.com g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Sounds like a nice feature to have using

[CMake] CMake presentation/tutorial in Toulouse/France (8th February)

2012-01-29 Thread Eric Noulard
Hi All, Just a small advertisement. I will be giving a CMake presentation tutorial in Toulouse/France on February 8th, 2012: http://www.toulibre.org/evenements_a_venir À 20h00 Éric Noulard présentera CMake, outil de compilation et de test multi-plateforme. Presentation will be given in French.

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-28 Thread Eric Noulard
2012/1/28 g...@novadsp.com g...@novadsp.com: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? No I don't think so. And if I remember well the name change wouldn't be that easy to implement. (beside the obvious search replace in the CMake

Re: [CMake] Testing 'install'/'package' with CTest

2012-01-26 Thread Eric Noulard
2012/1/26 Kedzierski, Artur CIV NSWC Corona, PA13 artur.kedzier...@navy.mil: Since I didn't receive any responses, I figured that I'll try asking this question again. I would like CTest nightly/continuous test my 'install'/'package' target and submit the results to CDash. Is there currently

Re: [CMake] Testing 'install'/'package' with CTest

2012-01-26 Thread Eric Noulard
2012/1/26 Eric Noulard eric.noul...@gmail.com: 2012/1/26 Kedzierski, Artur CIV NSWC Corona, PA13 artur.kedzier...@navy.mil: Since I didn't receive any responses, I figured that I'll try asking this question again. I would like CTest nightly/continuous test my 'install'/'package' target

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-25 Thread Eric Noulard
2012/1/25 Brad King brad.k...@kitware.com: On 1/24/2012 5:50 PM, Eric Noulard wrote: cmake --help-module CPackComponent or any other (untouched module) cmake --help-module FindQt4 you'll see that the extra space are there as well. So yes there is too much space, but this is not due to my

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-25 Thread Eric Noulard
2012/1/25 Alexander Neundorf neund...@kde.org: On Wednesday 25 January 2012, Eric Noulard wrote: cmake already supports CMAKE_MODULE_PATH for generating help, e.g. like this: $ cmake -DCMAKE_MODULE_PATH=$HOME/src/kdelibs/cmake/modules/ --help-custom- modules This generates docs for all

Re: [CMake] CPACK and NSIS: Download a msi-installer and install it didn't work

2012-01-25 Thread Eric Noulard
2012/1/25 Ralf Lange ralf.la...@longsoft.de: Hello, I will prepare a windows installer for my application. The application need GStreamer for Windows. The installer has to download the installer and start the installer. I have add the following command to the CMakeLists.txt file:

Re: [CMake] CMake + NSIS on windows

2012-01-25 Thread Eric Noulard
2012/1/25 Bill Hoffman bill.hoff...@kitware.com: On 1/25/2012 9:28 AM, Andrea Crotti wrote: Since I still don't get CMake + NSIS running on Linux, I was trying to build my software on Windows... CMake and NSIS has never been ported to work on Linux, so no surprise there. In fact there is.

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-24 Thread Eric Noulard
2012/1/24 Brad King brad.k...@kitware.com: On 1/22/2012 7:58 AM, Eric Noulard wrote: 2012/1/3 Eric Noularderic.noul...@gmail.com: back to cleaner way of work. I did update and clean-up my previous attempt to ease documentation for CPack. http://public.kitware.com/Bug/view.php?id=10067

Re: [CMake] Top level directory with component install

2012-01-24 Thread Eric Noulard
2012/1/22 Eric Noulard eric.noul...@gmail.com: 2012/1/13 Eric Noulard eric.noul...@gmail.com: Hi everybody I just reviewed the patch from Daniel and it seems fine to me BUT including this would change the default cpack behavior for all Archive Generators (ZIP, TGZ, STGZ, TBZ2) when doing

Re: [CMake] Packaging DEB at different directory with CPack

2012-01-23 Thread Eric Noulard
2012/1/24 Damián Nohales damiannoha...@gmail.com: Hello, I'm doing an application for Debian based systems and I need to package a .deb file, my application has several files to install in addition to the main executable. So, my CMakeLists.txt file looks like: project(myapp C)

Re: [CMake] CTest: Glob files to include in coverage report with 0% line coverage

2012-01-23 Thread Eric Noulard
2012/1/24 Rolf Eike Beer e...@sf-mail.de: Andreas Schuh wrote: Hi, Setting CTEST_EXTRA_COVERAGE_GLOB in the CTestCustom.cmake file can be used to add additional files which shall be included in the coverage report. This is useful to ensure that files which are not covered by any test are

Re: [CMake] Top level directory with component install

2012-01-22 Thread Eric Noulard
2012/1/13 Eric Noulard eric.noul...@gmail.com: Hi everybody I just reviewed the patch from Daniel and it seems fine to me BUT including this would change the default cpack behavior for all Archive Generators (ZIP, TGZ, STGZ, TBZ2) when doing component install. The new behavior is more

Re: [CMake] cpack -G NSIS

2012-01-22 Thread Eric Noulard
2012/1/22 Andrea Crotti andrea.crott...@gmail.com: On 01/19/2012 07:52 PM, Eric Noulard wrote: Installing empty dir may fail. Try the attached zip and tell me if it fails for you. It works for me on Debian Wheezy 64. They were not empty dirs, and trying from another machine (arch 64 bits

Re: [CMake] cpack -G NSIS

2012-01-22 Thread Eric Noulard
2012/1/22 Andrea Crotti andrea.crott...@gmail.com: So yes this was with your try-out example, actually I can try to dig a little bit myself, the problem is that with gdb I need to have the debug symbols, thus recompiling in debug mode. But nowhere in the Readme or around the code I found a

[Cmake-commits] CMake branch, next, updated. v2.8.7-2191-g68e7a89

2012-01-22 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=68e7a89ea1c44f53e146e9e9d6e06d6702b0615a commit 68e7a89ea1c44f53e146e9e9d6e06d6702b0615a Merge: 6de2163 3cab24a Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun Jan 22 13:32:08 2012 -0500 Commit: CMake Topic Stage

Re: [CMake] execute a script before and after configuration

2012-01-21 Thread Eric Noulard
2012/1/21 David Cole david.c...@kitware.com: On Friday, January 20, 2012, Michael Hertling mhertl...@online.de wrote: On 01/20/2012 01:57 PM, Dominik Szczerba wrote: Hi, I am building a big software framework on a cray system whereby during cmake configuration phase I need to unload

Re: [CMake] execute a script before and after configuration

2012-01-21 Thread Eric Noulard
2012/1/21 Dominik Szczerba domi...@itis.ethz.ch: You might use an EXECUTE_PROCESS() command at the beginning of your CMakeLists.txt to unload the modules, and another EXECUTE_PROCESS() at the end to reload them. Will try, thanks for the hint! Doesn't the module switching involve setting

Re: [CMake] execute a script before and after configuration

2012-01-21 Thread Eric Noulard
2012/1/21 Dominik Szczerba domi...@itis.ethz.ch: May be Dominik can explain this so that some small test programs are allowed to run without scheduler a little more? Simplest example, suppose I need to compute epsilon and save it in myconfig.h. To this end I need to run a small program and

Re: [CMake] how to link mysql++ in a lib with cmake

2012-01-21 Thread Eric Noulard
2012/1/21 paspa...@noos.fr: Hello I am trying to link mysql++ in a lib, with the following cmakelist.txt file: I get a fatal error: mysql_version.h no such a file or directory this file is located in usr/include/mysql so I don't understand thanks in advance if someone can help May be you

Re: [CMake] execute a script before and after configuration

2012-01-21 Thread Eric Noulard
2012/1/21 Dominik Szczerba domi...@itis.ethz.ch: Running something from the command line does not mean it doesn't change the environment. Would you try $ env env1.txt $ module unload sysmodule_you_dont_want $ env env2.txt $ cmake -E compare_files env1.txt env2.txt I'd be surprise if

Re: [CMake] Compile multiple-sources at a time?

2012-01-20 Thread Eric Noulard
2012/1/20 Oliver kfsone Smith osm...@playnet.com: Eric Noulard said the following on 1/20/2012 1:26 AM: 2012/1/19 Oliver kfsone Smithosm...@playnet.com: I realize not every build environment supports the option, but is there a way to get CMake to generate Makefiles which aggregate source

Re: [CMake] Install an executable with his libraries

2012-01-19 Thread Eric Noulard
2012/1/19 Anthony Todisco todisco.anthony...@gmail.com: Thank you Eric for this link, but I don't really understand how to use RPATH with CMake. The RPATH usage control with CMake is done using 4 variables: CMAKE_SKIP_BUILD_RPATH CMAKE_BUILD_WITH_INSTALL_RPATH CMAKE_INSTALL_RPATH

Re: [CMake] Compile multiple-sources at a time?

2012-01-19 Thread Eric Noulard
2012/1/19 Oliver kfsone Smith osm...@playnet.com: I realize not every build environment supports the option, but is there a way to get CMake to generate Makefiles which aggregate source files, e.g. $ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp $ g++ -pipe -o exeutable file1.cpp

Re: [CMake] Install an executable with his libraries

2012-01-18 Thread Eric Noulard
2012/1/18 Anthony Todisco todisco.anthony...@gmail.com: Thank you very much, it works fine now :D. I've missed this step :/ On Unix you can configure RPATH in order to avoid the LD_LIBRARY_PATH update and/or tolerate more easily multiple version of the same lib for different executable. Have

Re: [CMake] show cpack variables

2012-01-18 Thread Eric Noulard
2012/1/18 Andrea Crotti andrea.crott...@gmail.com: cmake --help-variable-list shows me all the global variables defined, but how do I see for example all the possible variables that are defined only when I include cpack? And how do I get the documentation for a function like

Re: [CMake] show cpack variables

2012-01-18 Thread Eric Noulard
2012/1/18 Eric Noulard eric.noul...@gmail.com: 2012/1/18 Andrea Crotti andrea.crott...@gmail.com: cmake --help-variable-list shows me all the global variables defined, but how do I see for example all the possible variables that are defined only when I include cpack? And how do I get

Re: [CMake] cpack -G NSIS

2012-01-18 Thread Eric Noulard
2012/1/18 Andrea Crotti andrea.crott...@gmail.com: Thanks for the feedback, however I tried again with another cmake file, which should actually do something. May be you could zip up the sample project sources, this would be easier and safer for me if I want to be able to reproduce your issue.

[cmake-developers] Weird comments in CMakeRCInformation.cmake

2012-01-17 Thread Eric Noulard
The current comments in Modules/CMakeRCInformation.cmake looks like copy/paste from another file. # This file sets the basic flags for the Fortran language in CMake. # It also loads the available platform file for the system-compiler # if it exists. How would the seek for windres be related to

Re: [CMake] CMake fails to use a toolchain to cross-compile

2012-01-17 Thread Eric Noulard
2011/5/15 Eduardo Sánchez Muñoz eduardosanchezmu...@gmail.com: I get the following error when I use a toolchain file to cross-compile with mingw32: $ cmake -DCMAKE_TOOLCHAIN_FILE=~/Documentos/mingw32.cmake -DCMAKE_INSTALL_PREFIX=/usr/i486-mingw32 . -- The C compiler identification is GNU --

Re: [CMake] Static lib in project

2012-01-15 Thread Eric Noulard
2012/1/15 Matthias Fulz mf...@olznet.de: It's working now - just had a typo inside the names. ok fine. Just in case the link_directories call link_directories( ${CMAKE_BINARY_DIR}/src/testlib ) is as stated by the documentation rarely necessary. and surely NOT necessary in your

Re: [CMake] Static lib in project

2012-01-14 Thread Eric Noulard
2012/1/14 Matthias Fulz mf...@olznet.de: Hi, could anybody give me a hint or an example on how to use a static lib inside a project? I need to create a static lib, which is only used inside a project for different executables. Let's say a project like the following: src  static_lib    

Re: [CMake] Top level directory with component install

2012-01-13 Thread Eric Noulard
2011/4/27 Eric Noulard eric.noul...@gmail.com: 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

Re: [CMake] CPack-NSIS component-based installer lacking components page...might I be forgetting something?

2012-01-13 Thread Eric Noulard
2012/1/13 Patrick Ryan pr...@objectivity.ca: Hi, I'm using CMake 2.8.6 to generate an NSIS installer. We have two separate projects; an application and a set of plugins to be used by the application. The plugins are composed of four separate components that can be selected during the

[Cmake-commits] CMake branch, next, updated. v2.8.7-2095-gec9d401

2012-01-13 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ec9d4011a86b18e807aaca65f9a1a93a92ef8c96 commit ec9d4011a86b18e807aaca65f9a1a93a92ef8c96 Merge: 3eb4815 ae250d5 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Jan 13 15:40:26 2012 -0500 Commit: CMake Topic Stage

Re: [CMake] cpack -G NSIS

2012-01-11 Thread Eric Noulard
2012/1/11 Andrea Crotti andrea.crott...@gmail.com: Andrea, Could you please not drop the ML address? I know the reply-to-sender mode of the list may be annoying but it is the current setup so tha tyou need to re-add ML address when answering. On 01/10/2012 07:18 PM, Eric Noulard wrote

Re: [CMake] cpack -G NSIS

2012-01-11 Thread Eric Noulard
2012/1/11 Andrea Crotti andrea.crott...@gmail.com: On 01/11/2012 12:37 PM, Eric Noulard wrote: I just wanted to try the packaging with NSIS, and since it builds exe on Linux it should probably cross compile, but I didn't set anything for that myselfso I it might just try to compile

Re: [CMake] Copying of 3rd party DLLs in a POST-BUILD step

2012-01-11 Thread Eric Noulard
2012/1/11 Robert Dailey rcdai...@gmail.com: He probably just uses a project.vcproj.user file, and uses the configure_file() command on it to fill in command arguments, environment variables, etc etc. I've done this before and it works fantastically, although I have never tried it to force

[Cmake-commits] CMake branch, next, updated. v2.8.7-2066-g8c508d2

2012-01-11 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c508d230187b6f03a38b53220717989d08f4d82 commit 8c508d230187b6f03a38b53220717989d08f4d82 Merge: fab6cbf c43a18e Author: Eric Noulard eric.noul...@gmail.com AuthorDate

[Cmake-commits] CMake branch, next, updated. v2.8.7-2070-g12e18cd

2012-01-11 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=12e18cda168d748750724947278190963142610e commit 12e18cda168d748750724947278190963142610e Merge: 699094b 53fcb0b Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed Jan 11 16:41:44 2012 -0500 Commit: CMake Topic Stage

Re: [CMake] CPack output name using VS IDE

2012-01-10 Thread Eric Noulard
2012/1/10 Totte Karlsson to...@dunescientific.com: Hi, I want my Install package from CPack to have Debug or Release in its name. In my CMake file I have set(CPACK_PACKAGE_NAME                    MyPackage-${CMAKE_BUILD_TYPE}) But when executing the PACKAGE target, from within VS IDE, the

Re: [CMake] CPack output name using VS IDE

2012-01-10 Thread Eric Noulard
2012/1/10 Totte Karlsson to...@dunescientific.com: But when executing the PACKAGE target, from within VS IDE, the ${CMAKE_BUILD_TYPE} does not seem to be set. VS IDE or XCode do not set this because they are able to handle several config at once. yes. You may try to use CMAKE_CFG_INTDIR

Re: [CMake] cpack -G NSIS

2012-01-10 Thread Eric Noulard
2012/1/10 Andrea Crotti andrea.crott...@gmail.com: Trying to run cpack on Linux (archlinux 64 bit) with a working makensis environment, Which version of cmake/cpack are you using? If not 2.8.7 could you try it? or even git master? Did you compile it yourself? Are you cross-compiling? If this

Re: [CMake] cpack -G NSIS

2012-01-10 Thread Eric Noulard
2012/1/10 Andrea Crotti andrea.crott...@gmail.com: On 01/10/2012 05:52 PM, Eric Noulard wrote: 2012/1/10 Andrea Crottiandrea.crott...@gmail.com: Trying to run cpack on Linux (archlinux 64 bit) with a working makensis environment, Which version of cmake/cpack are you using? If not 2.8.7

Re: [CMake] CPack output name using VS IDE

2012-01-10 Thread Eric Noulard
2012/1/11 Totte Karlsson to...@dunescientific.com:    cmake --help-variable CMAKE_CFG_INTDIR When executing the PACKAGE target from the IDE, that variable is evaluated to $(Configuration) Not quite. CMake evaluates it to $(Configuration) (or what ever the particular IDE uses), which then

Re: [CMake] Changing PROJECT level build settings in Xcode

2012-01-09 Thread Eric Noulard
2012/1/9 Daniel Dekkers d.dekk...@cthrough.nl: Hi, In Xcode, can I change build settings at PROJECT level via CMake? SET_TARGET_PROPERTIES() always seems to work on TARGETS level. What kind of settings? Properties have a scope: - global - directories - target - tests -

Re: [CMake] Some issues with visual studio

2012-01-08 Thread Eric Noulard
2012/1/8 Renato Utsch renatout...@gmail.com: So I can do this by adding a command line parameter to do that. But can't I simply set an option that behaves exactly as --config Debug ? May be you could try to find out how Visual Studio is choosing the default built type? In particular does this

Re: [CMake] Import/export issue with shared library

2012-01-08 Thread Eric Noulard
2012/1/8 Hauke Heibel hauke.hei...@googlemail.com: Hi again, I created a little example that shows the problem. It won't actually compile anything but it should help in understanding my problem. I'm not sure how you compile your example. Should they be built in-source? Do you create

Re: [CMake] Some issues with visual studio

2012-01-08 Thread Eric Noulard
2012/1/8 Renato Utsch renatout...@gmail.com: Ok, I will look at that so. But and the second problem? How can I redirect from the debug/release folder to the / folder of the project? I guess the same answer is valid. How do you do that with Visual Studio alone? Doesn't Visual Studio create

Re: [CMake] CPack 2.8.7 RPM: hiding /etc/init.d from %files list

2012-01-08 Thread Eric Noulard
2012/1/9 Eric Noulard eric.noul...@gmail.com: 2012/1/9 Deborah Pickett deborah.pick...@autodesk.com: Hi Deborah, So go ahead for the bug report File listed twice Just seen that you have already filed the bug reports, thanks. Putting their refs here for others: http://www.cmake.org/Bug

Re: [CMake] CPack 2.8.7 RPM: hiding /etc/init.d from %files list

2012-01-06 Thread Eric Noulard
2012/1/6 Deborah Pickett deborah.pick...@autodesk.com: Hi everyone, I've been porting our commercial, in-house, unmaintainable Linux product build process to CMake.  It's been remarkably easy, but now I've hit a hurdle. I need to produce an RPM that will install on both Red Hat 5 and Suse

[cmake-developers] Multiple fixup_bundle and cpack crash

2012-01-05 Thread Eric Noulard
Could anyone with appropriate knowledge of fixup_bundle internal have a look at this bug: http://public.kitware.com/Bug/view.php?id=12656 It may be windows specific. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com

Re: [CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Eric Noulard
2012/1/4 Hertout Julien julien.hert...@neomades.com: We need to generate Xcode projects but from a Windows environment. Is it possible to know why you need that? CMake generated project files are not meant to be relocatable and they depend on CMake as well So generating a project file on a

Re: [CMake] How to force CMake install / CPack to create an empty directory.

2012-01-04 Thread Eric Noulard
2012/1/4 Vladimir Jaksic vladimir.jak...@gmail.com: Hello, For the purposes of my project i need to create multiple empty directories where my exectuable is located, and I would like to include these directories in the .zip file. I have tried the following: -- ...

Re: [CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Eric Noulard
2012/1/4 Hertout Julien julien.hert...@neomades.com: Is it possible to know why you need that? Of course. We develop software to help to develop applications for mobile phones. From a source code written in Java with our APIs we generate projects for JavaME, Android, Blackberry, WP7 and

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-03 Thread Eric Noulard
2012/1/3 Brad King brad.k...@kitware.com: On 1/2/2012 7:43 PM, Eric Noulard wrote: I try to push forward the feature request: http://public.kitware.com/Bug/view.php?id=10067 [snip] Anybody have some time to try this? I'd like to have some feedback before going on. The branch is stage

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-03 Thread Eric Noulard
2012/1/3 Eric Noulard eric.noul...@gmail.com: 2012/1/3 Brad King brad.k...@kitware.com: On 1/2/2012 7:43 PM, Eric Noulard wrote: I try to push forward the feature request: http://public.kitware.com/Bug/view.php?id=10067 [snip] Anybody have some time to try this? I'd like to have some

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-03 Thread Eric Noulard
2012/1/3 Brad King brad.k...@kitware.com: On 1/3/2012 11:03 AM, Eric Noulard wrote: stage/ImproveCPackDoc-part1   contains changes that do not add features but document existing ones. This one looks good.  Please merge to next. It does not merge without conflict: d2c9626 Document

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-03 Thread Eric Noulard
2012/1/3 Brad King brad.k...@kitware.com: On 1/3/2012 11:45 AM, Eric Noulard wrote: this is due to the fact I did already merge it (the beginning of the old stage/ImproveCPackDoc) to next before 2.8.7  in the hope that it would be included in 2.8.7: http://public.kitware.com/Bug/view.php?id

Re: [cmake-developers] Improving CPack Documentation (and may be others as well)

2012-01-03 Thread Eric Noulard
2012/1/3 Eric Noulard eric.noul...@gmail.com: I did remove old ImproveCPackDoc from stage. I did remove old CMake-completion-improvement from stage as well and I'll push something clean without reference to potential cpack enhancement in a new topic. Done as well: Merge topic 'CMake-bash

[cmake-developers] Relation between CMAKE_PREFIX_PATH and CMAKE_FIND_ROOT_PATH

2012-01-03 Thread Eric Noulard
Hi All, I have been giving wrong advice about the usage of CMAKE_FIND_ROOT_PATH which seems to be reserved for cross-compiling whereas CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_PROGRAM_PATH CMAKE_LIBRARY_PATH CMAKE_IGNORE_PATH could someone enlight me about the intended relationship between

Re: [cmake-developers] Relation between CMAKE_PREFIX_PATH and CMAKE_FIND_ROOT_PATH

2012-01-03 Thread Eric Noulard
Sorry sent too soon, finger slipped. ... I have been giving wrong advice about the usage of CMAKE_FIND_ROOT_PATH which seems to be reserved for cross-compiling whereas CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_PROGRAM_PATH CMAKE_LIBRARY_PATH CMAKE_IGNORE_PATH are meant to be used in the

[cmake-developers] libarchive upstream

2012-01-03 Thread Eric Noulard
Hi Brad, I've seen you are integrating new upstream libarchive today. Any particular reason to pick-up 3.0.0-r3950 and not some real version like 3.0.2 ? I did notice that this particular version may unblock a pending CMake issue related to symbolic link handling in zip files, see:

Re: [cmake-developers] libarchive upstream

2012-01-03 Thread Eric Noulard
2012/1/3 Brad King brad.k...@kitware.com: On 1/3/2012 4:07 PM, Eric Noulard wrote: I've seen you are integrating new upstream libarchive today. Any particular reason to pick-up 3.0.0-r3950 and not some real version like 3.0.2 ? 3.0.2 wasn't out when I started that topic.  I just took

Re: [CMake] on find_package and building dependencies

2012-01-03 Thread Eric Noulard
2012/1/3 Alexander Neundorf a.neundorf-w...@gmx.net: you basically want: set(CMAKE_FIND_ROOT_PATH /you/local/install/dir) before calling find_package(...) No, please don't. CMAKE_FIND_ROOT_PATH is intended for cross-compiling, to tell cmake where the root of the target file system is

[Cmake-commits] CMake branch, next, updated. v2.8.7-1944-g835d6f3

2012-01-03 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=835d6f3e2d8fea1d1c7f4179f362235d1e5d4d8d commit 835d6f3e2d8fea1d1c7f4179f362235d1e5d4d8d Merge: 8bceb01 d2c9626 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue Jan 3 12:04:56 2012 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.7-1947-g0da55e0

2012-01-03 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0da55e05a9e6aabcf806f2fb0c79465c5ffbf5e7 commit 0da55e05a9e6aabcf806f2fb0c79465c5ffbf5e7 Merge: 835d6f3 4d253d1 Author: Eric Noulard eric.noul...@gmail.com AuthorDate

[cmake-developers] Rebase or not?

2012-01-01 Thread Eric Noulard
Hi, Now that 2.8.7 is out I'd like to continue my work on CPack documentation improvement. My branch on stage is: ImproveCPackDoc I did merge it to next on nov 13: 22236e48938b942a8b9d95d73d447fa5e54e19a0 see http://public.kitware.com/Bug/view.php?id=10067 as well. This topic has never been

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-30 Thread Eric Noulard
2011/12/27 Alan W. Irwin ir...@beluga.phys.uvic.ca: Hi Alan, The issue is that if I set CMAKE_LIBRARY_PATH to find a special version of lapack/blas, only the lapack part of that is honored.  For example, if I set export CMAKE_LIBRARY_PATH=/home/software/lapack/install_double/lib Did you

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-30 Thread Eric Noulard
2011/12/30 David Cole david.c...@kitware.com: There is no conservative course here. There is a choice of whether to make CMake 2.8.7 behave the same as 2.8.6 or the same as 2.8.5. For this to be a showstopper it would have had to be reported before we tagged 2.8.6 -- since it is now already

Re: [CMake] on find_package and building dependencies

2011-12-30 Thread Eric Noulard
2011/12/30 Ryan Lewis m...@ryanlewis.net: Hi, yes, this is all that I can't figure out if I type the define without a type, it fails, but I can't figure out this variables type. I tried STRING and FILEPATH and even BOOL. This is a PATH, so; cmake

Re: [CMake] on find_package and building dependencies

2011-12-29 Thread Eric Noulard
2011/12/29 Ryan Lewis m...@ryanlewis.net: Hi, I really like CMake's find_package() utility for finding dependencies, but for some projects I have a separate local copy of the installed libraries, and I want to point find_package at a particular directory to find the installed libraries.

Re: [CMake] on find_package and building dependencies

2011-12-29 Thread Eric Noulard
2011/12/29 Ryan Lewis m...@ryanlewis.net: Hi, your suggestion on setting that variable before a find_package() just simply _is not_ doing what I expect. I specify my own location of libz and it _always_ finds the system wide version. Then there must be something weird, did you clean-up your

[CMake] Using ExternalProject_Add

2011-12-29 Thread Eric Noulard
2011/12/29 Ryan Lewis m...@ryanlewis.net: [...] Also I cannot get the ExternalProject_Add() module to work properly.    include(ExternalProject)    ExternalProject_Add( JPEG    PREFIX ${CURRENT_SOURCE_DIR} CURRENT_SOURCE_DIR is probably a typo: you certainly mean: CMAKE_CURRENT_SOURCE_DIR

Re: [CMake] How to install then test?

2011-12-29 Thread Eric Noulard
2011/12/29 Denis Scherbakov denis_scherba...@yahoo.com: Dear All! Maybe someone can help me: I have a project, we compile binaries and then using various INSTALL directives finish the job by copying files where they belong: to bin, man, libexec, etc. The point is, we need to run executables

Re: [CMake] CMAKE install command post process the file

2011-12-28 Thread Eric Noulard
2011/12/28 vivek goel goelvivek2...@gmail.com: I am installing static file using cmake INSTALL command I want to post process the output file using cmake example Static files are having string like v={{VERSION}} I want to replace {{VERSION}} in the output files. Is it possible with

[CMake] Small modification of a Linux-GNU toolchain

2011-12-22 Thread Eric Noulard
Hi all, I'd to create a very simple cross-compile toolchain in order to work on Intel SCC (http://techresearch.intel.com/ProjectDetails.aspx?Id=1) I do have several cross-compiler choices (2 gcc-based and 1 icc-based). My toolchains are working but for one of them which is gcc-based I get

Re: [CMake] Compile project as C++ if MSVC

2011-12-22 Thread Eric Noulard
2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org: Hi, Visual C++ 2010 does not support C99 yet and it seems it will be a long time before MSVC supports it. For now, the usual work-around is to build the project as C++. I'd like to build as C if using mingw, and as C++ if using MSVC. How

Re: [CMake] Documentation request

2011-12-21 Thread Eric Noulard
2011/12/21 Renato Utsch renatout...@gmail.com: I had the same problem a yesterday (or the day before) with the string( FIND ) command... I tried to find the cmake 2.8.4 docs but I couldn't. cmake command **itself** is able to spit out its documentation. So cmake --help-command string will

Re: [CMake] CPack for 2.6: How to control what gets packed?

2011-12-20 Thread Eric Noulard
2011/12/19 Harelick, Matthew mharel...@ise.com: Hi: I am using the install command to create a file organization that looks something like this: Myapp:     bin     examples     lib     config For the lib directory I am naming specific

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Eric Noulard
2011/12/20 Hendrik Kunert kun...@users.sourceforge.net: The error was the not set CPACK_TOPLEVEL_DIRECTORY. I bet it was but normally this is automatically set by CPack so why wasn't it set? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org --

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Eric Noulard
2011/12/20 Hendrik Kunert kun...@users.sourceforge.net: Am 20.12.2011 21:13, schrieb Eric Noulard: 2011/12/20 Hendrik Kunertkun...@users.sourceforge.net: The error was the not set CPACK_TOPLEVEL_DIRECTORY. I bet it was but normally this is automatically set by CPack so why wasn't it set

Re: [CMake] CPack problem with nsis on linux

2011-12-19 Thread Eric Noulard
2011/12/19 Hendrik Kunert hendrikkun...@freenet.de: How are you calling CPack? This does not look like a standard CPack message... I call it from CMakeList.txt, here is my code: I wasn't that clear, for me calling CPack is something like: 1) make package 2) cpack -G NSIS ... But it's also

Re: [CMake] How to add modifiers to functions

2011-12-17 Thread Eric Noulard
2011/12/17 Renato Utsch renatout...@gmail.com: Doing this checking of in-source and out-of-source is easy! if( ${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR} )    message( FATAL_ERROR          Do not make an in-source build with this project.    ) endif( ${CMAKE_BINARY_DIR} STREQUAL

Re: [CMake] Change cpack install folder

2011-12-17 Thread Eric Noulard
2011/12/17 Totte Karlsson to...@dunescientific.com: Hi, How can I get my nsis installer to install my distribution to c:\myPackageName instead of C:\Program Files\myPackageName ? My installation  is a library with headers and I don't it to be installed in Program Files folder. Is there a

Re: [CMake] Change cpack install folder

2011-12-17 Thread Eric Noulard
2011/12/17 Totte Karlsson to...@dunescientific.com: But I found this NSIS specific setting CPACK_NSIS_INSTALL_ROOT But setting that as C:\\ still create the error: Function missing ending ) . Not sure how to get this one right.. set(CPACK_NSIS_INSTALL_ROOT C:) should work. It is awkward

Re: [CMake] Change cpack install folder

2011-12-17 Thread Eric Noulard
2011/12/17 David Cole david.c...@kitware.com: On Sat, Dec 17, 2011 at 12:32 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/12/17 Totte Karlsson to...@dunescientific.com: But I found this NSIS specific setting CPACK_NSIS_INSTALL_ROOT But setting that as C:\\ still create the error

Re: [CMake] CPack NSIS RequestExecutionLevel

2011-12-16 Thread Eric Noulard
2011/12/16 r...@gmx.li: Hi everyone, I am compiling an installer for Windows 7 using CPack + NSIS. I need to pass the extra option RequestExecutionLevel user to NSIS. Does anyone know how to do this? The only way proposed somewhere on the net was to use

<    3   4   5   6   7   8   9   10   11   12   >