Re: [CMake] cpack DEB generator docs

2012-06-18 Thread Eric Noulard
2012/6/18 Doug douglas.lin...@gmail.com: Yeah, I really should. :) Is this ok? Or shall I create a bug and attach the patch to that? (attach patch; it's very minor; just missing 3 of the variables) It's ok and pushed to next. Merge topic 'CPackDeb-docUpdate' into next 264c156 CPackDeb add

[Cmake-commits] CMake branch, next, updated. v2.8.8-3222-gc18cee9

2012-06-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c18cee97e21abbe1fb54f1ac00f4d763387d28f5 commit c18cee97e21abbe1fb54f1ac00f4d763387d28f5 Merge: ade923a e4d9005 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Jun 18 10:09:22 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.8-3224-g875b045

2012-06-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=875b04503391d9c127396088ee1e27862c3eb489 commit 875b04503391d9c127396088ee1e27862c3eb489 Merge: c18cee9 93ea787 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Jun 18 10:15:09 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.8-3226-ge92d204

2012-06-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e92d204b950748e94d51ae992f3f1b1b7d0cca4a commit e92d204b950748e94d51ae992f3f1b1b7d0cca4a Merge: 875b045 264c156 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Jun 18 10:18:13 2012 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] current hugin not compilable ATM

2012-06-17 Thread Eric Noulard
2012/6/17 Kornel Benko kor...@lyx.org: Maybe forgotten to push Image.cpp and Image.h? Looks like this mail end-up in the wrong list? This is cmke-developer ML? Looks like it belongs to Hugin ML? Or did I miss something? ... [ 81%] Building CXX object

[cmake-developers] CMAKE_EXPORT_COMPILE_COMMANDS undocumented

2012-06-16 Thread Eric Noulard
Hi all, The CMAKE_EXPORT_COMPILE_COMMANDS is not documented i.e. not available when using cmake --help-variable CMAKE_EXPORT_COMPILE_COMMANDS is it intentional because it is to be considered 'internal' to CMake shall it be added? -- Erk Le gouvernement représentatif n'est pas la démocratie --

Re: [CMake] Cpack and output file naming

2012-06-15 Thread Eric Noulard
2012/6/15 Kim Kryger kimberly.kry...@gmail.com: If you do this, you probably will also have to use this line as well: set( CPACK_TEMPORARY_PACKAGE_FILE_NAME ${CMAKE_BINARY_DIR}/_CPack_Packages/win32/NSIS/${CPACK_OUTPUT_FILE_NAME} ) Referenced in this bug. I encountered this today, and

Re: [CMake] More than one package source for a project.

2012-06-15 Thread Eric Noulard
2012/6/15 Doug douglas.lin...@gmail.com: Oddly, I was just doing that last night. Here's an example: https://github.com/shadowmint/cmake-multi-install If you run: mkdir build cd build cmake .. cmake -G DEB It'll build two debian packages. If you want RPMs I suspect you'll have to add:

Re: [CMake] More than one package source for a project.

2012-06-15 Thread Eric Noulard
2012/6/14 Darryl L. Pierce dpie...@redhat.com: Our project has several subprojects to it. What I would like to do is have some of those subprojects to package up their sources, which includes a generated file, as a separate source tarball from the overall one that's created with make

Re: [CMake] More than one package source for a project.

2012-06-15 Thread Eric Noulard
2012/6/15 Darryl L. Pierce dpie...@redhat.com: On Fri, Jun 15, 2012 at 09:05:26AM +0800, Doug wrote: Oddly, I was just doing that last night. Here's an example: https://github.com/shadowmint/cmake-multi-install If you run: mkdir build cd build cmake .. cmake -G DEB It'll build two

Re: [CMake] More than one package source for a project.

2012-06-15 Thread Eric Noulard
2012/6/15 Darryl L. Pierce dpie...@redhat.com: On Fri, Jun 15, 2012 at 03:30:02PM +0200, Eric Noulard wrote: Specifically what I want to do is put the subset of sources into a separate gzipped tarball rather than it create an RPM (we have an official workflow for RPM creation on the distro

Re: [CMake] CPack are not packing dll

2012-06-14 Thread Eric Noulard
2012/6/13 Totte Karlsson to...@dunescientific.com: Hi, For a certain library, I changed my CMake file to using the following install (            TARGETS ${target}            RUNTIME DESTINATION bin            LIBRARY DESTINATION lib            ARCHIVE DESTINATION lib            

Re: [CMake] Cpack and output file naming

2012-06-14 Thread Eric Noulard
2012/6/11 Totte Karlsson to...@dunescientific.com: Hi, How can I suppress version numbers(major, mior, patch in CPACK output on windows? Also, how can one suppress the win32 prefix of the output name. Currently CPack names the package file using:CPACK_PACKAGE_FILE_NAME (this does not include

Re: [CMake] Skip(ped) test with CTest?

2012-06-08 Thread Eric Noulard
2012/6/8 Christoph Grüninger christoph.gruenin...@iws.uni-stuttgart.de: Hi CMake, can I skip a test with CTest? Currently I do not add a test which is dependent on a not found feature, like: if(feature_found)  add_test(..) endif(feature_found) If all tests pass, I still don't know whether

Re: [cmake-developers] Welcome to June, time for the next release candidate

2012-06-05 Thread Eric Noulard
2012/6/5 Kornel Benko kor...@lyx.org: Am Montag, 4. Juni 2012 um 17:13:26, schrieb David Cole david.c...@kitware.com We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody

Re: [cmake-developers] Welcome to June, time for the next release candidate

2012-06-05 Thread Eric Noulard
2012/6/4 David Cole david.c...@kitware.com: We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody thinks is critical for inclusion in CMake 2.8.9? Critical, not really but that

Re: [cmake-developers] Welcome to June, time for the next release candidate

2012-06-05 Thread Eric Noulard
2012/6/4 David Cole david.c...@kitware.com: We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody thinks is critical for inclusion in CMake 2.8.9? Could you take this one:

[Cmake-commits] CMake branch, next, updated. v2.8.8-2995-gecb3013

2012-06-05 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecb3013ebdda66d3df24a23f95cddafecb43481d commit ecb3013ebdda66d3df24a23f95cddafecb43481d Merge: d0c5cc1 7321c94 Author: Eric Noulard eric.noul...@gmail.com AuthorDate

Re: [CMake] Using a variable as a method name

2012-06-02 Thread Eric Noulard
2012/6/1 LaViolette, Alan alaviole...@overwatch.textron.com: Hello I would like to call a method based on a variable name such as set( FOO “123”) BAR_${FOO}(arg1 arg2) would do the same as BAR_123(arg1 arg2) Does any way exist to do this in CMake, such as a call() or eval() command?

Re: [CMake] Select subproject packages

2012-06-01 Thread Eric Noulard
2012/6/1 jupiter@gmail.com: Hi, I have a top root project and many subprojects under it. I am using cpack to package some subprojects, but I don't want to package the root project. When I run the cpack on root build directory, it also tried to package the root project. Is there any way

Re: [CMake] Create a binary package

2012-05-31 Thread Eric Noulard
2012/5/31 jupiter jupiter@gmail.com: Hi, Sorry for an FAQ, I am new to cpack. I am going to use cpack to generate an rpm package to contain all binary files, bin, lib etc under CMAKE_BINARY_DIR/myApplicationBinaryDir. Which cpack variable I can use to define the package content to

Re: [CMake] Cmake custom install target for a particular binary

2012-05-30 Thread Eric Noulard
2012/5/30 vivek goel goelvivek2...@gmail.com: hi, I am having 10 binary inside my project. If I run make install DESTDIR= it builds all source code and install everything. Is there a way I can install a particular binary ? Like having custom target like make install.bin1 DESTDIR= which will

Re: [cmake-developers] Github pull request for CPack NSIS generator

2012-05-28 Thread Eric Noulard
2012/5/25 Brad King brad.k...@kitware.com: On 05/25/2012 09:38 AM, Eric Noulard wrote: 2012/5/25 Brad King brad.k...@kitware.com:  https://github.com/Kitware/CMake/pull/5 I'm not a too good NSIS tester since my usual system is Linux :-) I do cross-test NSIS (cross compile win32 on Linux

Re: [CMake] Creating package

2012-05-27 Thread Eric Noulard
2012/5/27 Kornel Benko kor...@lyx.org: Now dpkg -i xyzzy.deb is working. Ok then, could you try with cmake -E tar zcvf data.tgz ./usr instead. This one produces the same _bad_ tar file. The error output of        #tar ztvf data.tgz /dev/null                tar: Ignoring unknown

Re: [CMake] Creating package

2012-05-27 Thread Eric Noulard
2012/5/27 Kornel Benko kor...@lyx.org: Am Sonntag, 27. Mai 2012 um 10:41:01, schrieb Eric Noulard eric.noul...@gmail.com [ snip ] I understand the will of distro packager to build cmake using SYSTEM lib but (I think that) this cannot be tested on all system combination so may be they should

Re: [CMake] Confusion about CMAKE_INSTALL_PREFIX

2012-05-26 Thread Eric Noulard
2012/5/26 vivek goel goelvivek2...@gmail.com: I am building another program inside my cmake which usage autotools for generating it's make file. I want to run it's configure like ./configure --prefix=${CMAKE_INSTALL_PREFIX}. But when I am  changing the DESTDIR for my project.

Re: [CMake] Creating package

2012-05-26 Thread Eric Noulard
2012/5/26 Kornel Benko kor...@lyx.org: Resending this, after being subscribed ... Hi list, this is my first mail to this list, so it may be the wrong list to report errors. This is the good one. When we are all sure that the bug is a real bug you may file a bug report in

Re: [CMake] Creating package

2012-05-26 Thread Eric Noulard
2012/5/26 Kornel Benko kor...@lyx.org: Am Samstag, 26. Mai 2012 um 16:41:45, schrieb Eric Noulard eric.noul...@gmail.com dpkg -c xyzzy.deb This gives the standard tar ztvf output from data.tar.gz, could not see anything special there. One thing though is the definition of owner/group

Re: [CMake] Creating package

2012-05-26 Thread Eric Noulard
2012/5/26 Kornel Benko kor...@lyx.org: Am Samstag, 26. Mai 2012 um 17:31:18, schrieb Kornel Benko kor...@lyx.org Am Samstag, 26. Mai 2012 um 16:41:45, schrieb Eric Noulard eric.noul...@gmail.com 2012/5/26 Kornel Benko kor...@lyx.org: Resending this, after being subscribed

Re: [cmake-developers] Github pull request for CPack NSIS generator

2012-05-25 Thread Eric Noulard
2012/5/25 Brad King brad.k...@kitware.com: Eric, Please take a look at this request:  https://github.com/Kitware/CMake/pull/5 Only the first commit is relevant, the rest are merges from upstream. You can fetch the relevant part of the branch like this:  $ git fetch

Re: [CMake] Makefile generator and header files in 2.8.8

2012-05-25 Thread Eric Noulard
2012/5/25 David Nadlinger c...@klickverbot.at: In our project, we are explicitly adding all the header files along with the source files to the respective build targets in order for them to show up in CMake-generated Visual C++ projects. Up to and including 2.8.7, this worked well as the

Re: [CMake] find_library search orders with CMAKE_PREFIX_PATH CMAKE_FIND_ROOT_PATH

2012-05-23 Thread Eric Noulard
2012/5/23 Nicolas Tisserand n...@manctl.com: Hi all, I am currently building a collection of inter-dependent libraries and tools, mostly cmake-built, all installed to a common staging directory. I therefore need CMake find_library find_package commands to search in the staging directory

Re: [CMake] Overriding the toplevel directory name in a TGZ package?

2012-05-23 Thread Eric Noulard
2012/5/23 Clifford Yapp cliffy...@gmail.com: The CPack tool provides a variable CMAKE_INCLUDE_TOPLEVEL_DIRECTORY option to control whether to set a toplevel directory in (say) a tar.gz archive, but so far I have not been able to figure out if there is a way to change this directory name to

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Eric Noulard
2012/5/23 Oliver Smith osm...@playnet.com: On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander,    I tried this already.  However I'm not sure what a clean build tree means.  Maybe thats my problems.  All I did was this: CXX=path/insurepath/g++ cmake .    But when I compiled I did not see

[cmake-developers] Some dashboard warnings and errors

2012-05-21 Thread Eric Noulard
Hi all, My merge of stage/CPack-activateRPM-DEB-onMacOS to next yesterday raised some warning on this dashboard: http://open.cdash.org/viewBuildError.php?type=1buildid=2293803 the warning are right, the static method call *is always true* but shall I really try to avoid such warning? The always

Re: [cmake-developers] Some dashboard warnings and errors

2012-05-21 Thread Eric Noulard
2012/5/21 Brad King brad.k...@kitware.com: On 05/21/2012 03:50 AM, Eric Noulard wrote: My merge of stage/CPack-activateRPM-DEB-onMacOS to next yesterday raised some warning on this dashboard: http://open.cdash.org/viewBuildError.php?type=1buildid=2293803 the warning are right, the static

Re: [CMake] Windows 260 Char Limit Hit with CPack

2012-05-21 Thread Eric Noulard
2012/5/21 David A. Alexander alexa...@txcorp.com: We are running CPack remotely through Jenkins [1] to end up running a build/package process on a Windows 2008 Server machine and are seeing errors during the install into the _CPack_Packages directory because file paths exceeds the windows 260

Re: [CMake] How to use verbose and debug output for CPack under VS

2012-05-21 Thread Eric Noulard
2012/5/21 noru...@me.com: Is there an environment variable or a CMake/CPack variable which is must set? Currently AFAIK there aren't any. But it would be easy to add, you may propose a patch. how can I configure a project for Visual Studio to use the --verbose and the --debug

Re: [CMake] CPack: Installing applications in separate folders (NSIS)

2012-05-21 Thread Eric Noulard
2012/5/21 David Cole david.c...@kitware.com: On Mon, May 21, 2012 at 2:05 PM, noru...@me.com wrote: But what about other systems like linux. If I have an executable and shared libraries for example. Then it is possible to install it under /opt/myproject, but it is not possible to install the

Re: [CMake] Packaging : Debug + Release together

2012-05-21 Thread Eric Noulard
2012/5/21 Nicholas Yue yue.nicho...@gmail.com: Hi,    I can build debug and release code by setting the CMAKE_BUILD_TYPE variable.    What is the recommend process/workflow if I wish to build/install/package both the Debug and Release build into a single e.g. RPM, as part of an automated

[Cmake-commits] CMake branch, next, updated. v2.8.8-2900-ga8c7bd9

2012-05-21 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a8c7bd98847059b4ff29d7e254aa97f658c50804 commit a8c7bd98847059b4ff29d7e254aa97f658c50804 Merge: 8bf185c 801ea70 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon May 21 08:42:11 2012 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] Do not take CPackNSIS-warnDESTDIRandABSOLUTE yet

2012-05-20 Thread Eric Noulard
2012/5/17 Eric Noulard eric.noul...@gmail.com: Hi there, I did merge CPackNSIS-warnDESTDIRandABSOLUTE to next may be a little early. It is functional and do not introduce any regression but I think I should make some renaming in order to be more consistent. The variables

Re: [CMake] Packaging Best Practices for Linux

2012-05-20 Thread Eric Noulard
2012/5/20 Alexander Neundorf a.neundorf-w...@gmx.net: On Thursday 17 May 2012, Craig Scott wrote: [...] Can you put this information, how to build a LSB-compatible application using cmake, somewhere in the cmake wiki ? http://www.cmake.org/Wiki/CMake I guess this is a problem many cmake

[Cmake-commits] CMake branch, next, updated. v2.8.8-2896-gba60beb

2012-05-20 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ba60beb24288eae6a3dcd9424457a8a20abbd8d3 commit ba60beb24288eae6a3dcd9424457a8a20abbd8d3 Merge: 209ad9c 4986d52 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun May 20 11:36:54 2012 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.8-2898-g8bf185c

2012-05-20 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8bf185c42eafb51321a9bdb6c0c2720eaebe20b8 commit 8bf185c42eafb51321a9bdb6c0c2720eaebe20b8 Merge: ba60beb 2a34b57 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun May 20 16:07:40 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] Fwd: module and cmake

2012-05-19 Thread Eric Noulard
2012/5/19 Rolf Eike Beer e...@sf-mail.de: Am Samstag, 19. Mai 2012, 14:42:49 schrieb Paul Anton Letnes: Hi all. I am currently trying to create a more tidy CMakeLists.txt script for a simulation code I'm working on. The target platforms are mac and linux desktops (for development) and HPC

Re: [CMake] Fwd: Build shared and static in one build

2012-05-18 Thread Eric Noulard
2012/5/18 Totte Karlsson to...@dunescientific.com: set(LIBSRC blah.c bouh.c) add_library(MyLib SHARED ${LIBSRC}) add_library(MyLib-static STATIC ${LIBSRC}) set_target_properties(MyLibStatic PROPERTIES OUTPUT_NAME MyLib) should work That works great. Not sure what the line

Re: [CMake] install command installing symbolic links rather than files

2012-05-17 Thread Eric Noulard
2012/5/17 EXT-York, Gantry gantry.y...@boeing.com: In our build tree, we have symbolic links to COTS libraries located elsewhere.  When we do the install, it copies these symbolic links into the run tree when we would actually like a copy of the source of these links (the file) in the run

[CMake] Fwd: Build shared and static in one build

2012-05-17 Thread Eric Noulard
-- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2012/5/18 Subject: Re: [CMake] Build shared and static in one build To: to...@dunescientific.com 2012/5/18 Totte Karlsson to...@dunescientific.com: Hi, How does one gey a setup where both a static

Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Eric Noulard
2012/5/16 Michael Jackson mike.jack...@bluequartz.net: On May 16, 2012, at 1:50 PM, Andreas Pakulat wrote: Andreas,   Thanks for the ideas. I use bundleUtilities for OS X but not for Linux. I should adapt my code to also include Linux. One of the issues I have is that I have an HDF5 and

Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Eric Noulard
2012/5/16 Dan Kegel d...@kegel.com: A commercial app might well use cmake to drive the linux packaging, but if you want your app to become a first class citizen on Linux, you should let the distros do the packaging.  (Or better yet, become a Debian developer and walk it through the process

Re: [CMake] Secret precompiled header support?

2012-05-16 Thread Eric Noulard
2012/5/16 Robert Dailey rcdailey.li...@gmail.com: On Tue, May 15, 2012 at 1:14 PM, Eric Noulard eric.noul...@gmail.com I'm assuming this is being setup so users can download pieces of boost individually and only use the parts they want. I'm glad that Boost is making a real effort to use

Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Eric Noulard
2012/5/16 Michael Jackson mike.jack...@bluequartz.net: [...] That was VERY informative. This is what I was afraid of. With Windows and OS X even though there are 3 or 4 versions if you build for the earliest one (XP or 10.5) the binary has a really good chance of still running on the latest

Re: [CMake] Secret precompiled header support?

2012-05-15 Thread Eric Noulard
2012/5/15 Robert Dailey rcdailey.li...@gmail.com: On Tue, May 15, 2012 at 7:34 AM, Dave Abrahams d...@boostpro.com wrote: For me, no.  I'm trying to make a transition to CMake in a community where this is being seen as a problematic limitation. I actually was reading over the boost

Re: [cmake-developers] Making the default install component name configurable

2012-05-14 Thread Eric Noulard
2012/5/14 Alexander Neundorf neund...@kde.org: On Monday 14 May 2012, Brad King wrote: On 5/13/2012 2:15 PM, Alexander Neundorf wrote: the CMAKE_DEFAULT_INSTALL_COMPONENT_NAME variable is still in Unspecified, so this is still the default. I'd rather the name be

Re: [CMake] [CPack] Empty package while using component with NSIS on Win64 platform.

2012-05-14 Thread Eric Noulard
2012/5/14 Alexandre Fournier alexandre.fourn...@zimmercas.com: Hello, I am trying to create a package for our project.  The package contains several components, one for each application.  I followed the instruction from the book “Mastering CMake” and the package is created but has no

Re: [CMake] [CPack] Empty package while using component with NSIS on Win64 platform.

2012-05-14 Thread Eric Noulard
2012/5/14 Alexandre Fournier alexandre.fourn...@zimmercas.com: Hi Eric, I did found my problem, and it is working.  There was a slight difference between what I posted and what is actually on my script (for confidentiality issue). OK. One of my component had 29 chars long, I just reduce

[Cmake-commits] CMake branch, next, updated. v2.8.8-2869-gd4f1f23

2012-05-14 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d4f1f23850e95607f1b18bb3cd11079fb6c8df5f commit d4f1f23850e95607f1b18bb3cd11079fb6c8df5f Merge: ae93f63 f90223c Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue May 15 01:58:05 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread Eric Noulard
2012/5/9 David Cole david.c...@kitware.com: What do your install commands look like? You're not trying to install files into absolute paths on Windows, are you? This can be checked easily by running: cpack --debug -G NSIS then you should get message like: Got some ABSOLUTE DESTINATION

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread Eric Noulard
2012/5/9 noru...@me.com: [...] If I run the INSTALL target under VS then the files are correctly copied to C:\Program Files\MyProject But only the PACKAGE target under VS doesn't work, and I get the message from the last email I sent. So, my custom CPackConfig.cmake.in and my

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread Eric Noulard
2012/5/9 noru...@me.com: Is it the case? Is there any file in _CPack_Packages\win32\NSIS\MyProject ? No, there aren't any files Could you copy/paste the exact message you get and may be running cpack on the command line with ---verbose and --debug. Sure, but I can only do so tomorrow

Re: [CMake] INCLUDE command within a toolchain file is stripping file path if filename is a variable?

2012-05-09 Thread Eric Noulard
2012/5/9 Terrence Meiczinger terrence...@yahoo.com: I have a top level cmake toolchain file and I want it to include another file. If I give the include a string filename it works. However, if I try to make the filename a variable, it can no longer find the included file. It appears cmake

Re: [CMake] configure_file as a build step?

2012-05-09 Thread Eric Noulard
2012/5/9 Jensen, Erik A erik.jen...@pnnl.gov: That worked, although a little roundabout. Thank you. Would there be any interest in having an easier way to do this? It seems like it could be usefully in a fair number of situations. Maybe an additional -E command: cmake -E configure_file -D

Re: [CMake] INCLUDE command within a toolchain file is stripping file path if filename is a variable?

2012-05-09 Thread Eric Noulard
2012/5/9 Terrence Meiczinger terrence...@yahoo.com: First, thanks for the responses. Ok, so I am running cmake 2.6patch4 on RH 5.5. OK then you should really consider giving 2.8.x a try. 2.6.4 is more than 3 years old and there won't be any new 2.6.x release. Moreover I wasn't able to

[Cmake-commits] CMake branch, next, updated. v2.8.8-2848-gb1a8804

2012-05-09 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b1a88048d97af7f67ff245a07b81333d54607c51 commit b1a88048d97af7f67ff245a07b81333d54607c51 Merge: 8fc1fd5 3d10f65 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Wed May 9 16:50:53 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] CPack doesn't recognize custom templates

2012-05-08 Thread Eric Noulard
2012/5/8 noru...@me.com: Hello, I had a custom NSIS template under ${CMAKE_SOURCE_DIR}/cmake Then I added those path to CMAKE_MODULE_PATH. But my custom template gets never called. If I run cpack --verbose I can see that cpack uses the template from the CMake installation. Which

Re: [CMake] CPack doesn't recognize custom templates

2012-05-08 Thread Eric Noulard
2012/5/8 noru...@me.com: I use CMake 2.8.7 from the zip archive. Out of source builds are the defaults, so yes I use out of source builds. Good. But did you try with fresh new (empty) build tree AND fresh new checked-out source tree? I tried  CMP0017 with NEW and with OLD, but there is no

Re: [CMake] CPack doesn't recognize custom templates

2012-05-08 Thread Eric Noulard
2012/5/8 noru...@me.com: There is no difference with your command. It still uses the NSIS.template.in file from the CMake installation. Are there any difference between the 2 CPackConfig.cmake files ? WinXP failing case vs Win7 working case? Does the

Re: [CMake] Moving large MSVS projects to CUDA

2012-05-04 Thread Eric Noulard
2012/5/4 Ming ymy...@wisc.edu: Hello CMake community, I have experience using CMake to generate sime cuda-enabled executables (where the cpp’s reside in one folder, etc.). I am attempting to move a large project that utilizes CMake, from just c++ to CUDA enabled c++. It is a project that

Re: [CMake] Eclipse project and MKL libraries

2012-05-02 Thread Eric Noulard
2012/5/3 Giovanni Azua brave...@gmail.com: Hi Eric, Thank you, it is solved now. I got working Eclipse project in Mac OS X and Ubuntu 12.04. On Apr 30, 2012, at 3:30 PM, Eric Noulard wrote: Did you try starting eclipse from the same command line (in order to make eclipse inherit

Re: [cmake-developers] Test suite broken if PackageMaker not installed in default location

2012-05-01 Thread Eric Noulard
2012/5/1 David Cole david.c...@kitware.com: That's what I saw actually, but mine was not in the list. Setting CPACK_INSTALLER_PROGRAM as in line 390 does not help because the it is not transfered to the test project. Is there a robust way to tell cmake where is installed PackageMaker if it

Re: [CMake] Eclipse project and MKL libraries

2012-04-30 Thread Eric Noulard
you explain that, please ? On Sat, Apr 28, 2012 at 6:10 PM, Eric Noulard eric.noul...@gmail.com wrote: When does the error happen on Ubuntu? Compile-time? Link time? Debug time? What error output do you get? Link-time: Linking CXX executable benchmark /usr/bin/cmake -E cmake_link_script

Re: [CMake] Eclipse project and MKL libraries

2012-04-28 Thread Eric Noulard
2012/4/28 Giovanni Azua brave...@gmail.com: On Apr 27, 2012, at 10:44 PM, Eric Noulard wrote: What do you mean executes just fine from the command line? I mean that I can build all the targets in command line without problem and execute them without any problems. Command line that you

Re: [CMake] Eclipse project and MKL libraries

2012-04-28 Thread Eric Noulard
2012/4/28 Giovanni Azua brave...@gmail.com: On Apr 28, 2012, at 8:56 AM, Eric Noulard wrote: I mean that I can build all the targets in command line without problem and execute them without any problems. Command line that you crafted by hand or command line generated by CMake using say

Re: [CMake] Eclipse project and MKL libraries

2012-04-28 Thread Eric Noulard
2012/4/28, Giovanni Azua brave...@gmail.com: On Apr 28, 2012, at 8:56 AM, Eric Noulard wrote: target_link_libraries(benchmark ${MKL_LIBRARIES}) I cannot ensure this is OK because the FindMKL.cmake module does not seem to be in CMake source. Thank you! this solved the compilation issue

Re: [CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-27 Thread Eric Noulard
2012/4/26 Braden McDaniel bra...@endoframe.com: On 4/26/12 2:45 PM, Eric Noulard wrote: 2012/4/26 Braden McDanielbra...@endoframe.com: I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 using MacPorts cmake 2.8.7.  I have found that make install does not actually

Re: [CMake] Eclipse project and MKL libraries

2012-04-27 Thread Eric Noulard
2012/4/27 Giovanni Azua brave...@gmail.com: Hello, I generate an Eclipse project from cmake using the command (I made the build directory sibling of my code directory): cmake -G Eclipse CDT4 - Unix Makefiles ../code I'm unable to run or debug the different targets from Eclipse. I get the

Re: [cmake-developers] bug in cmake 2.8.8?

2012-04-26 Thread Eric Noulard
2012/4/26 Brad King brad.k...@kitware.com: On 4/26/2012 8:25 AM, Bill Hoffman wrote: Anyone have any ideas what this bug is from: https://bbs.archlinux.org/viewtopic.php?pid=1092231 Related:  https://bugs.launchpad.net/compiz-plugins-main/+bug/987805 I don't know how FindCompiz.cmake

Re: [CMake] CPack : Executing post install script (portable way)

2012-04-26 Thread Eric Noulard
2012/4/26 Nicholas Yue yue.nicho...@gmail.com: Hi,  What is the proper way to execute a post install script in NSIS, PackageMaker and sh-archive ? Currently there is no way to do that. And I'd say that portable package install time script execution is not easy at all. When the package is

Re: [CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-26 Thread Eric Noulard
2012/4/26 Braden McDaniel bra...@endoframe.com: I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 using MacPorts cmake 2.8.7.  I have found that make install does not actually install the project's header files. When I tried to reproduce this on Linux (Fedora 16), it

Re: [CMake] What CMake release introduced VERSION_LESS/EQUAL/GREATER

2012-04-26 Thread Eric Noulard
2012/4/26 Bill Lorensen bill.loren...@gmail.com: The subject says it all. http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix or as an alternative since: commit 4fa96dbf95bb3689fb1c3283c38713ec5275f262 Author: Brad King brad.k...@kitware.com Date: Wed Sep 10 11:58:40 2008 -0400

Re: [CMake] CPack : NSIS - registry key setting/over-riding

2012-04-25 Thread Eric Noulard
2012/4/25 Nicholas Yue yue.nicho...@gmail.com: Hi,  As part of my NSIS packaged installer, I need to register an environment variable e.g. MYSOFTWARE_PATH  I see the variable CPACK_PACKAGE_INSTALL_REGISTRY_KEY but am unsure about the syntax  I tried the following but it didn't work  SET

[Cmake-commits] CMake branch, next, updated. v2.8.8-2674-gfc1af7e

2012-04-23 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fc1af7e4b79ecd4d76d78d4535fa45fc5be0fd09 commit fc1af7e4b79ecd4d76d78d4535fa45fc5be0fd09 Merge: b9fe606 83729f9 Author: Eric Noulard eric.noul...@gmail.com AuthorDate

[cmake-developers] Review request: bash completion enhancement:

2012-04-22 Thread Eric Noulard
Hi all, I just push a stage/EnhanceBash-completion-part1 which includes the contribution from Igor Murzov http://cmake.org/Bug/view.php?id=13056 Previous completion files were done by me, those from Igor are far better than mine. I tried to adapt Igor's proposal to the current CMake source

Re: [CMake] CPack : NSIS multiple licensing choice/option

2012-04-22 Thread Eric Noulard
2012/4/20 Nicholas Yue yue.nicho...@gmail.com: Hi,  I have a situation where I need to package up a build for installation where there are two available license choices  (1) Non-commercial/evaluation  (2) Commercial  For the NSIS packaging, is there a way to show different licensing text

Re: [cmake-developers] [CMake 0013150]: Manual page formatting fixes

2012-04-21 Thread Eric Noulard
2012/4/20 Rolf Eike Beer e...@sf-mail.de: The attached is a patch with manual page formatting fixes for 2.8.8. Issues were detected by Lintian, Debian Q/A tool. This always happens after a new version, no? Yes I think that since Modestas is the maintainer of the cmake debian package

Re: [CMake] Add --help-option command line option.

2012-04-20 Thread Eric Noulard
Le 20 avril 2012 10:44, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Hi, I would like to have your opinion before to start to implement it. I would like to add the following options to the cmake command line interface: --help-option opt [file]   = Print help for a given option and

Re: [CMake] cpack and paths too long

2012-04-20 Thread Eric Noulard
2012/4/20 Andrea Crotti andrea.crott...@gmail.com: On 04/19/2012 07:00 PM, Eric Noulard wrote: Compiler, Visual Studio something? You run cpack from the command line or from within IDE/Makefile etc No compilers used for this project (it's python) and I run from command line. Anyway

Re: [CMake] How to start CMake from scratch

2012-04-20 Thread Eric Noulard
2012/4/20 Christian Arnault arna...@lal.in2p3.fr: Hi [I am on windows] If I use cmake-gui to build my project, it starts asking me for the build directory. Which is OK! (my project is named B, it stands in test/B, where there is a test/B/CMakeLists.txt and I want to build into

Re: [CMake] Add --help-option command line option.

2012-04-20 Thread Eric Noulard
Le 20 avril 2012 13:40, Nicolas Desprès nicolas.desp...@gmail.com a écrit : 2012/4/20 Eric Noulard eric.noul...@gmail.com: Le 20 avril 2012 10:44, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Hi, I would like to have your opinion before to start to implement it. I would like to add

[Cmake-commits] CMake branch, next, updated. v2.8.8-2656-gb3f920f

2012-04-20 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3f920f6928c6bfeb7937ce33bc51d37182b531b commit b3f920f6928c6bfeb7937ce33bc51d37182b531b Merge: 1e1ba4d 94b24ad Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Fri Apr 20 14:44:05 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] Install executables and create links to them

2012-04-19 Thread Eric Noulard
2012/4/19 lazyl...@gmail.com: Hi, I'm using cmake and cpack to build my project and build packages. I'm creating a few executables in my project, let's call them EXE1 and EXE2. When creating different versions of these executables, I want to name to reflect the version of the executable

Re: [CMake] cpack and paths too long

2012-04-19 Thread Eric Noulard
2012/4/19 Andrea Crotti andrea.crott...@gmail.com: We are trying to make cmake work with our projects, and all the targets work fine. The problem is that on some projects cpack -G NSIS fails because when it tries to copy files around it generates paths too long. I found that CMake is able

Re: [CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread Eric Noulard
2012/4/18 pellegrini pellegr...@ill.fr: Dear CMakers, I introduced recently a colleague of mine to the wonders of cmake. He has a problem that neither he or me could solve. When he cmakes and builds his project as root and builds subsenquently  its project as himself the whole project is

Re: [CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread Eric Noulard
2012/4/18 Laurent Chapon cha...@ill.fr: Dear all, thanks for all your comments. I think the exact situation is not quite like it was explained in the first place: - The steps are as follows: 1) checkout the code somewhere, create a build directory and then cmake.. 2) Build using the usual

[Cmake-commits] CMake branch, next, updated. v2.8.7-3468-gaaeb30a

2012-04-17 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aaeb30afe2776aa44fd2930f8b3cdd2afaaadc69 commit aaeb30afe2776aa44fd2930f8b3cdd2afaaadc69 Merge: 5d8d135 abc9b32 Author: Eric Noulard eric.noul...@gmail.com AuthorDate

Re: [CMake] Submitting Patches to CMake

2012-04-06 Thread Eric Noulard
2012/4/6 David Golub golu...@gmail.com: About a week ago, I had filed a case in the bug tracker (#0013085) with a patch to add some new functionality to CMake.  It doesn’t seem that anyone has looked at it yet.  Is this the correct procedure for contributing code to CMake, or is there more

Re: [CMake] Multiple Installers in one project

2012-04-04 Thread Eric Noulard
2012/4/4 David Cole david.c...@kitware.com: No. It's easy to build a single installer that contains multiple components. You are speaking of NSIS or Package Maker since archive generators like ZIP can produce multiple file on a per-component basis. I may suggest a possibly easy solution if you

Re: [CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread Eric Noulard
2012/4/3 Jonatan Wallmander jona...@vovoid.com: Hi, I'm on cmake version 2.8.5 I looked in the changelog and couldn't find this, so here goes: From what I can tell, NSIS with CPACK_PACKAGE_EXECUTABLES and giving parameters to the executable isn't supported. CMakeLists.txt:

Re: [CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread Eric Noulard
2012/4/3 David Cole david.c...@kitware.com: On Tue, Apr 3, 2012 at 11:45 AM, Eric Noulard eric.noul...@gmail.com wrote: 2012/4/3 Jonatan Wallmander jona...@vovoid.com: Hi, I'm on cmake version 2.8.5 I looked in the changelog and couldn't find this, so here goes: From what I can tell

<    1   2   3   4   5   6   7   8   9   10   >