Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-28 Thread Eric Noulard
2010/2/28 Bill Hoffman bill.hoff...@kitware.com: Off course the cmake UI would authorize to unfilter all vars just as today there is the advanced/normal view. You could just use the advanced/non-advanced to handle this. When you want to show a variable to the user make it non-advanced.  

Re: [CMake] [CMake + CPack] How to install TTF fonts?

2010-02-27 Thread Eric Noulard
2010/2/27 Anatoly Shirokov shiroko...@mail.ru: Hi there! Does anybody know how to install own ttf fonts? I have installed FontName but the following:  SET(CPACK_NSIS_CREATE_ICONS_EXTRA    StrCpy \\\$FONT_DIR \\\$FONTS    !insertmacro InstallTTFFont \\\$INSTDIRbinV100026_.TTF\\\  

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread Eric Noulard
2010/2/27 AKHRES Nader nader.akh...@laposte.net: Hello, I've looked at the archive but can't find exactly the answer suiting to my case. I need to create several packages (for instance nsis AND zip) of exactly the same source tree (no components). I've first try to use a list for

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread Eric Noulard
2010/2/27 AKHRES Nader nader.akh...@laposte.net: I guess I've found my issue. I use a main script calling cmake command and passing CPACK_GENERATOR like this: -DCPACK_GENERATOR Maybe this don't work for list. Is there any way to pass a list to command line cmake? I would say that:

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread Eric Noulard
2010/2/27 AKHRES Nader nader.akh...@laposte.net: ok, I manage to find another way: I do this SET(CPACK_GENERATOR_TXT ZIP\;NSIS)  #just escape ; so that it still a string SET(CPACK_GENERATOR ${CPACK_GENERATOR_TXT})  #here it becomes a list then I use -DCPACK_GENERATOR=${CPACK_GENERATOR_TXT}

Re: [CMake] Can CMake prompt the user for input while it's running?

2010-02-27 Thread Eric Noulard
2010/2/27 Naram Qashat cyberb...@cyberbotx.com: On 02/27/10 12:53, John Drescher wrote: On Sat, Feb 27, 2010 at 12:23 PM, Naram Qashatcyberb...@cyberbotx.com  wrote: I'm wondering if it's possible for CMake to prompt the user for input when it's running, as opposed to relying on passing in

Re: [CMake] [CMake + CPack] How to install TTF fonts?

2010-02-27 Thread Eric Noulard
2010/2/27 Anatoly Shirokov shiroko...@mail.ru: Actually we need to pass local exist file. In other words, the following    !insertmacro InstallTTFFont \\\$INSTDIRbinV100026_.TTF\\\ must be replace on    !insertmacro InstallTTFFont

Re: [CMake] multicore interix'en testing

2010-02-25 Thread Eric Noulard
2010/2/25 Markus Duft markus.d...@salomon.at: Bill Hoffman wrote: Markus Duft wrote: Bill Hoffman wrote: I did not want to get into the technical thread on this issue, so I created a new message.  Markus, will you be able to run a dashboard for this platform?  It is sort of a requirement for

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-22 Thread Eric Noulard
2010/2/22 Robert Knapke knapke...@gmail.com: Eric, I looked online at the two websites you gave me, but they dont seem to have rpms for the linux builds that I am sending to. I am using Suse 11.x. The people who are currently trying to install the program have Redhat. This may not work as

Re: [CMake] CPACK RPM Gen not allowing symlinks.

2010-02-20 Thread Eric Noulard
2010/2/18 Alexander Neundorf a.neundorf-w...@gmx.net: On Thursday 18 February 2010, Schwartz, Philip wrote: Hi all, I have a few libraries to install with my build that are prebuilt. They consist of a .so and a symlink to the .so of .so.22. Currently when installing, things work correctly.

Re: [CMake] CPACK RPM Gen not allowing symlinks.

2010-02-20 Thread Eric Noulard
2010/2/20 Eric Noulard eric.noul...@gmail.com: 2010/2/18 Alexander Neundorf a.neundorf-w...@gmx.net: On Thursday 18 February 2010, Schwartz, Philip wrote: Hi all, I have a few libraries to install with my build that are prebuilt. They consist of a .so and a symlink to the .so of .so.22

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-20 Thread Eric Noulard
2010/2/20 Hendrik Sattler p...@hendrik-sattler.de: Am Samstag 20 Februar 2010 01:27:20 schrieb Robert Knapke: My CMake project links a boost python shared library when builiding the libraries and executables.  I am using CPack to make an rpm of my project, but the boost python shared library

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-20 Thread Eric Noulard
2010/2/20 Robert Knapke knapke...@gmail.com: Eric, The reason I asked my original question was because a user of ours who was trying to install the project (using yum) was unable to install it (and it displayed the boost python library as a missing dependency). ok I see.  If I am building

[CMake] Fwd: Questions about CPack Debian generator

2010-02-12 Thread Eric Noulard
I dif forgot thet list... 2010/2/12 Thawan Kooburat ktha...@gmail.com: Hi, I am trying to create a Debian binary package using CMake/CPack and it is quite a nice tool. I understand that CMake/CPack try to rely on external tools as little as possible but there are 2 issues that I encountered

Re: [CMake] Fwd: Questions about CPack Debian generator

2010-02-12 Thread Eric Noulard
2010/2/12 Hendrik Sattler p...@hendrik-sattler.de: Did you dig the mailing list I think the file owner part has been discussed already. Concerning the dpkg-shlibs may be it's worth a feature request? And may be even a contribution? The code of Deb Generator is in:

Re: [CMake] Questions about CPack Debian generator

2010-02-12 Thread Eric Noulard
2010/2/12 Thawan Kooburat ktha...@gmail.com: Are you suggesting that there is a solution for the file owner permission? I try to search in the mailing list but I could not find it. Look at that thread of discussion: http://www.cmake.org/pipermail/cmake/2009-August/031250.html and in the end

Re: [CMake] Relocatable RPM

2010-02-11 Thread Eric Noulard
2010/2/11 Will Dicharry wdicha...@stellarscience.com: Is there a way to make an RPM package generated with CPack relocatable? Should be possible, theoretically. Currently the spec file generated by CPackRPM is not. As far as I remember relocatable RPM should avoid absolute file install and use

Re: [CMake] Static library issues.

2010-02-05 Thread Eric Noulard
2010/2/5 Surya Kiran Gullapalli suryakiran.gullapa...@gmail.com: Hello all, I'm using CMake-2.8 on winxp with Visual Studio 2005 generator. lets say I've a dll created (A.dll) from some cxx files and a static library static.lib So I call Link_Directories to specify the directory where the

Re: [CMake] Manual version vs CMake version

2010-02-05 Thread Eric Noulard
2010/2/5 Mateusz Loskot mate...@loskot.net: Hi, Perhaps it will be helpful information for someone. On popular Linux distributions CMake 2.6 may not be necessarily the same CMake 2.6 as documented [1] on the website. CMake from Ubuntu 9.10  reports cmake version 2.6-patch 4 CMake from

Re: [CMake] copy on install

2010-02-04 Thread Eric Noulard
2010/2/4 Tim St. Clair timoth...@gmail.com: Is there a clean way to copy the install target e.g. install (TARGETS foo DESTINATION bin) ~ install(TARGETS foo DESTINATION loc2 RENAME foo_bar) -doesn't exist. I basically need to install the same target to *multiple* locations with different

Re: [CMake] cmake_policy(VERSION 2.4) = no exe's generated

2010-01-30 Thread Eric Noulard
2010/1/29 Frank Bonniwell valef...@gmail.com: Hello All, I'm a student new to cmake and I ran into a stump with compiling some code. When I apply the cmake_policy as instructed in a previous compiling error, no executables are generated even when the output says otherwise. Did you try make

Re: [CMake] Installing Find*.cmake to the correct folder using NSIS configured by cmake on windows platform

2010-01-26 Thread Eric Noulard
2010/1/26 mika.raj...@patria.fi: Hi How can i tell the NSIS installer, using cmake, to install my Find*.cmake script to the ${CMAKE_ROOT}/Modules directory? Writing that to the install command doesn't work. You do not give us enough information about WHAT exactly did not work, example of

Re: [CMake] Installing Find*.cmake to the correct folder using NSIS configured by cmake on windows platform

2010-01-26 Thread Eric Noulard
2010/1/26 Michael Wild them...@gmail.com: On 26. Jan, 2010, at 9:02 , mika.raj...@patria.fi wrote: Hi How can i tell the NSIS installer, using cmake, to install my Find*.cmake script to the ${CMAKE_ROOT}/Modules directory? Writing that to the install command doesn't work. I did try

Re: [CMake] CPack and SWIG module on Windows

2010-01-24 Thread Eric Noulard
2010/1/25 Nicholas Yue yue.nicho...@gmail.com: Hi,   I am attempting to use CPack to package up a SWIG module I am distributing.   I have no problem with CPack on Linux but on Windows, I have some difficulty.   CMAKE CONFIG   = [...]       INCLUDE (CPack)       SET (

[CMake] Where to read information about XXXCoinfigYYY.cmake mechanism

2010-01-23 Thread Eric Noulard
Hi there, Where can I read more on how to write/generate appropriate XXXCoinfigYYY.cmake file for a project build with CMake? I did read: cmake --help-command find_package cmake --help-command install (most notably the EXPORT related things...) Is there an example project using/implementing

Re: [CMake] Checking function or symbol in namespace

2010-01-21 Thread Eric Noulard
2010/1/21 Mateusz Loskot mate...@loskot.net: The fact check_function_exists checks C function but not C++ free function is a bit confusing. That's true. AFAIU, CMake is dedicated to build C++ source code, However that's look false to me :-( so I suppose many users may expect it works

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Eric Noulard
2010/1/20 John Drescher dresche...@gmail.com: Navigate to a CLEAN build directory and invoke either cmake or cmake-gui Out of source builds work great here. You keep your source in one tree and your builds in other trees. Hi Vikas, May be you could read the FAQ for knowing more about

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Eric Noulard
2010/1/20 Mike Jackson mike.jack...@bluequartz.net: You need to have a valid/correct installation of MinGW or MSYS+MinGW or Cygwin. As a complement to Mike advice you may have a look at Code::Blocks (aka C::B) too, it's a cross-platform IDE working on Windows and there is downloadable

Re: [CMake] Problem with current CVS HEAD for creating ZIP with shared lib on Linux

2010-01-19 Thread Eric Noulard
2010/1/19 Bill Hoffman bill.hoff...@kitware.com: Eric Noulard wrote: Hi CMake developers, [This message is for CMake developers, user-only may skip it entirely since it may be boring] Using current CVS HEAD (on Debian Linux host) I'm not able to build a zip file containing installed

Re: [CMake] Feature requests for CMake-GUI

2010-01-14 Thread Eric Noulard
2010/1/14 Michael Wild them...@gmail.com: Exactly, and having simple VCR-controls to build and install (and perhaps clean) would be enough for those users. They don't want to look at the IDE or the source code, they just want to build and install. Heck, it would be enough for me in the

Re: [CMake] Building targets for install only ...

2010-01-13 Thread Eric Noulard
2010/1/13 Dr. Stefan Sablatnög stefan.sablatn...@svox.com: Hi everybody, Does anyone know whether there is a way to build a target only if “make install” is called? I tried “add_dependencies(install target), but it complains, that the target install does not exist. Is the install

Re: [CMake] Building targets for install only ...

2010-01-13 Thread Eric Noulard
2010/1/13 ctrlaltca ctrlal...@libero.it: The SCRIPT and CODE signature:  install([[SCRIPT file] [CODE code]] [...]) The SCRIPT form will invoke the given CMake script files during installation. If the script file name is a relative path it will be interpreted with respect to the current

Re: [CMake] Can you add sources to a target library after add_library()?

2010-01-11 Thread Eric Noulard
2010/1/11 Marcel Loose lo...@astron.nl: Too bad. I was hoping I could do this without having to use a list variable to collect all my sources. In my case, the use of conditionals is somewhat awkward. Personnally I sometime use several variable like: add_library(blah

Re: [CMake] Does Cmake add 'standard' include paths ?

2010-01-07 Thread Eric Noulard
2010/1/7 Smith Jack (Ext. - UGIS - UniCredit Group) jack.smith.ext...@unicreditgroup.de: CMake: cmake version 2.6-patch 2 This is a relatively old CMake version (Sept. 2008) could you by any chance try a more recent one? May be CMake 2.8.0 or even 2.6.4?

Re: [CMake] runtime error of ctest in windows VS2005

2010-01-05 Thread Eric Noulard
2010/1/6 Xi LIANG liangxi1986...@hotmail.com: Dear all, Im using Windows and the compiler is VS2005. I wrote a CMakeLists.txt file to run a image registration program, which generates a executable named as FFD_3D_mask.exe. This executable takes  some arguments as names of input and output

Re: [CMake] CPack RPM: why not name-version-release-arch.rpm filename?

2009-12-30 Thread Eric Noulard
2009/12/30 Winfried Dobbe winfried_...@xmsnet.nl: When I build a RPM with current CVS CMAKE/CPack for project projectname the file name of the generated rpm is: projectname-version-Linux.rpm The common filename for an rpm is projectname-version-release-architecture.rpm Putting Linux in

Re: [CMake] Question about dependencies and paths

2009-12-30 Thread Eric Noulard
2009/12/30 Talin viri...@gmail.com: I've got a problem that has been vexing me for several months: It seems that when I create a custom rule using add_custom_command, the DEPENDS clause sometimes works and sometimes doesn't, and I can't figure out why. Here's what my custom rule looks like:   

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread Eric Noulard
2009/12/29 e...@cs.bgu.ac.il e...@cs.bgu.ac.il: hello. I'm writing a c++ program that uses three shared libs that I wrote, for some reason, when it gets to the main cpp file, it fails with undefined error. here is the error report: Concerning the link error [apparently] related to boost

Re: [CMake] getting undefined error to my own libs.

2009-12-29 Thread Eric Noulard
2009/12/29 e...@cs.bgu.ac.il e...@cs.bgu.ac.il: hello Eric, thanks for the response. I'd like to solve the Array issue first, then the boost because I have a feeling it is a different one because when I disable the relevant code it doesn't generates the error even when other parts of the

Re: [CMake] compiling single source with different flags

2009-12-29 Thread Eric Noulard
2009/12/29 Richard Wackerbarth rich...@nfsnet.org: Not as a real solution, but more as a workaround, you could create a derived source file which is just a copy of the source file and then you would have two separate files to be compiled with the appropriate flags. That's one solution, see

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread Eric Noulard
2009/12/18 James Zipperer james.zippe...@modsystems.com: After  a lot of trial and error and some rtfm work, I figured out a way to do it.  The UpgradeDLL macro I mentioned below appears to be out of date and the preferred method is now InstallLib.  It appears to handle DLL versioning and

Re: [CMake] Cpack ignoring file installs

2009-12-18 Thread Eric Noulard
2009/12/18 Daniel Stonier d.ston...@gmail.com: This is my first shot at cpack, so I may be missing something entirely obvious here. I have two parts to the install on my project, one are the libs, the other are the headers. The libs are installed via the INSTALL(TARGET ...) command, whereas

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread Eric Noulard
2009/12/18 David Cole david.c...@kitware.com: See my note attached to this bug for a way to use your own override of the NSIS.template.in file. (So you can do it on a per-project basis rather than modifying the main one in the CMake installation...)

Re: [CMake] Autotools conversion: case statement

2009-12-17 Thread Eric Noulard
2009/12/17 Nicola Brisotto nicolabriso...@gmail.com: Hello, I've an autotools script to convert to cmake. It has a lot of long case statement. Any tips to easily convert this statement? Here an example: case $THREADS in I would try a set of if(string MATCHES regex) endif(string MATCHES

Re: [CMake] cmake HEAD: cpack rpm generator seems broken on openSuse 11.2

2009-12-08 Thread Eric Noulard
2009/12/8 winfried.ko...@gmail.com: Dear Eric, Sorry for the late response, I missed your last email. No problem. I tested CMake CVS HEAD as of today on OpenSuse 11.2 and building an rpm with CPack now works without patches. Ok now I guess the current state of CPackRPM in CVS HEAD is a

Re: [CMake] Compile same source file with different flags into the same library

2009-12-08 Thread Eric Noulard
2009/12/8 Matthias Moeller matthias.moel...@math.tu-dortmund.de: I try to write a cmake file for some external library (from the sparse suite). In the provided makefile a single source file is compiled twice with different compiler flags, e.g., $(C) -DDINT -c ../Source/amd_aat.c -o

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread Eric Noulard
2009/12/7 steve naroff snar...@apple.com: As Eric pointed out, you must add CMake to your compiler build chain. It's one more tool (and with no third-party dependencies), like the C preprocessor, the C compiler and the linker. We did that at work and it's no big deal, people are so happy with

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread Eric Noulard
2009/12/7 steve naroff snar...@apple.com: Could you explain that part? Who else is building LLVM/clang besides developers? And what are the reason they give for not wanting to install CMake with their compiler? Hi Eric, With all due respect, I'd like to avoid any explanation. You'll just

Re: [CMake] Idea - Modules development and management

2009-12-07 Thread Eric Noulard
2009/12/7 Nicholas Yue yue.nicho...@gmail.com: Hi,   Does it make sense to separate out the development and deployment of Modules in CMake? This kind of idea have already been raised on the ML. May be you should dig the ML archive in order to collect past ideas in order to see past pro- and

Re: [CMake] Idea - Modules development and management

2009-12-07 Thread Eric Noulard
2009/12/7 Michael Jackson mike.jack...@bluequartz.net: Just thinking out loud .. What if CMake had a built-in facility to check a common internet location for new/updated modules like a lot of programs do now-and-days. This (in my mind) would allow for the deployment of Official CMake modules

Re: [CMake] Copying cmake generated files to another machine

2009-12-06 Thread Eric Noulard
2009/12/6 steve naroff snar...@apple.com: Hi, I work on llvm/clang (a client of cmake). For development, cmake is wonderful (no big issues). For deployment, cmake's inability to copy it's generated project files to another machine is causing us some grief. The scenario is quite simple: I want

Re: [CMake] Copying cmake generated files to another machine

2009-12-06 Thread Eric Noulard
2009/12/6 Alan W. Irwin ir...@beluga.phys.uvic.ca: With this feature you'll get a portable project which contains the source tree, a preconfigured build tree + some cmake binaries corresponding to the build tree. Eric, I didn't see your e-mail before I sent mine. However, now that I have

Re: [CMake] Copying cmake generated files to another machine

2009-12-06 Thread Eric Noulard
2009/12/6 steve naroff snar...@apple.com: May be we can think of packaging CMake itself along with the build tree? Packaging the binaries isn't considered acceptable (we need a pure source distribution with no binary files). Sorry for being picky but you don't require a pure source. You

Re: [CMake] Source file symlinks on out-of-source builds

2009-12-03 Thread Eric Noulard
2009/12/3 Jed Brown j...@59a2.org: On Thu, 03 Dec 2009 16:26:19 -0200, Rodolfo Schulz de Lima rodo...@rodsoft.org wrote: About emacs/vi, they can locate the source file only if we're going though an error list, as gcc spits out the path to the source files involved. But if you want to load

Re: [CMake] Source file symlinks on out-of-source builds

2009-12-03 Thread Eric Noulard
2009/12/3 Rodolfo Schulz de Lima rodo...@rodsoft.org: Michael Jackson wrote: I guess those of us that use IDEs like Visual Studio, Eclipse, NetBeans, Xcode, CobeBlocks, QtCreator may not see the issue you are trying to solve. That's precisely it, I'm use an old-school setup, Vi + make, and

Re: [CMake] Source file symlinks on out-of-source builds

2009-12-03 Thread Eric Noulard
2009/12/3 Rodolfo Schulz de Lima rodo...@rodsoft.org: Eric Noulard wrote: I'm using both vi+make and Eclipse CDT (for C/C++ project using CMake). In fact I was a pure command line guy until the noise of mouse click surround me and I decided to give a try to IDE way to see the code :-) I went

Re: [CMake] running cmake with option

2009-11-28 Thread Eric Noulard
2009/11/28 Alex H aditya15...@hotmail.com: if I have the following option: OPTION( HW08_TESTS Run Homework 8 tests? (can take a long time...) OFF ) how can I run cmake with this option turned on? I tried cmake HW08_TESTS . and it doesn't work What about cmake -DBOOL:HW08_TESTS=ON Another

Re: [CMake] Determining number of cores on a system

2009-11-27 Thread Eric Noulard
2009/11/27 James C. Sutherland james.sutherl...@utah.edu: Is there a way in CMake to determine the number of shared-memory cores on a system? I don't know but I discover recently a tiny tool call hwloc which may help for that: http://www.open-mpi.org/projects/hwloc/ It is [unfortunately]

Re: [CMake] cmake HEAD: cpack rpm generator seems broken on openSuse 11.2

2009-11-25 Thread Eric Noulard
2009/11/25 Eric Noulard eric.noul...@gmail.com: Moreover would you try to replace the current CPackRPM.cmake with the one I attach to this mail and retry with the very same CMakeLists.txt. For the list, the problem seems to be e regression due to a Fedora specific bug fix!! I did re-open

Re: [CMake] Getting cmake to apply patches

2009-11-24 Thread Eric Noulard
2009/11/24 Hugh Sorby h.so...@auckland.ac.nz: So I am trying to get CMake to apply patches to third party source. First off can someone confirm (, I'm hoping I haven't missed the obvoius) that there isn't an inbuilt command to apply unified diffs. Secondly can anyone tell me how to stop CMake

Re: [CMake] cmake HEAD: cpack rpm generator seems broken on openSuse 11.2

2009-11-24 Thread Eric Noulard
2009/11/24 W. Dobbe winfried_...@xmsnet.nl: I installed cmake CVS HEAD of 24-11-2009 because I need the post install script feature of issue 8988. In your example you seems to be using CPACK_RPM_PACKAGE_REQUIRES and not CPACK_RPM_SPEC_POSTINSTALL When I create the most basic cmake project

Re: [CMake] My nomination for least helpful CMake Error Message (CONFIGURE_FILE issue)

2009-11-23 Thread Eric Noulard
2009/11/23 kent williams nkwmailingli...@gmail.com: CMake Error at common/CMakeLists.txt:83 (CONFIGURE_FILE):   configure_file Problem configuring file The issue being the CONFIGURE_FILE command: PROJECT(SGICOMMONLIB) # # other stuff removed for brevity. # SET(DIRNAME pixmaps) FILE(GLOB

Re: [CMake] comparing two files in cmake

2009-11-22 Thread Eric Noulard
2009/11/23 Alex H aditya15...@hotmail.com: Hello, I have the following command to compare two files: ADD_TEST(mytest ${CMAKE_COMMAND} -E compare_files file1.c file2.c) however when I run the test, then all it prints is : UpdateCTestConfiguration  from

Re: [CMake] CMAKE_USE_RELATIVE_PATHS

2009-11-21 Thread Eric Noulard
2009/11/21 barcaroller barcarol...@sympatico.ca: Fair enough, but what are the alternatives?  My two requirements are:  - Using out-of-source builds  - Have the gcc compiler use relative pathnames like   gcc ../src/foo.c   and not monstrosities like   gcc

Re: [CMake] CMAKE_USE_RELATIVE_PATHS

2009-11-21 Thread Eric Noulard
2009/11/21 barcaroller barcarol...@sympatico.ca: Eric Noulard wrote: What is the final reason that makes you want to avoid the monstrosities? I do not want the __FILE__ macro to reveal the structure of the project. Also, I'm trying to keep the log file entries short. I guess I can wrap

Re: [CMake] Release 1.41.0.cmake0, RPM generator problem

2009-11-19 Thread Eric Noulard
2009/11/19 Gordan Sikic gordan.si...@uscs.hr: Hi, (I consider myself user of both cmake and boost) I'd like to report that I experienced problem while generating RPM binary package on F11, and cmake 2.8.0; output of rpmbuild.err in RPM build directory was as follows: Which software are you

[CMake] Fwd: Finding the Temp directory code

2009-11-14 Thread Eric Noulard
-- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2009/11/14 Subject: Re: [CMake] Finding the Temp directory code To: Michael Wild them...@gmail.com 2009/11/14 Michael Wild them...@gmail.com: On 14. Nov, 2009, at 24:55 , Michael Jackson wrote: Does

Re: [CMake] Finding the Temp directory code

2009-11-14 Thread Eric Noulard
2009/11/14 Michael Wild them...@gmail.com: Just using /tmp isn't such a good idea (because of predictability and symlink attacks). Which is why on APPLE TMPDIR looks like for, but this changes with each session. /var/folders/Z9/Z9lmRtS+E1CUYo8TIW8r8E+++TM/-Tmp- I didn't know that property

Re: [CMake] Issue using CPackRPM with rpmbuild 4.7.1 and a small patch

2009-11-13 Thread Eric Noulard
2009/11/9 forr...@forrestheller.com: Bug # is 9872 I looked at the other CPackRPM issues before submitting the patch--unfortunately 9872 is definitely not covered. Hi Forrest, I proposed another way to patch on the tracker. http://public.kitware.com/Bug/view.php?id=9872 Would you try it?

Re: [CMake] CVS tag/branch question

2009-11-09 Thread Eric Noulard
2009/11/9 Steven Wilson steven.wesley.wil...@gmail.com: What CVS tag is used for the 2.8.0 release? I guess it **WILL** be something like CMake-2-8-0   I see a CMake-2-8 branch, but when building from that branch the cmake --version still reports cmake version 2.8.0-rc5 Then I guess 2.8.0

Re: [CMake] Issue using CPackRPM with rpmbuild 4.7.1 and a small patch

2009-11-09 Thread Eric Noulard
2009/11/9 forr...@forrestheller.com: Thank you very much for CMake--I love it. I need to build RPMs using CPack.  This worked using rpmbuild 4.4.2.1 and the latest CVS version of CMake. But when I installed rpmbuild 4.7.1 I found that, prior to the %install phase, rpmbuild clears your

Re: [CMake] Issue using CPackRPM with rpmbuild 4.7.1 and a small patch

2009-11-09 Thread Eric Noulard
2009/11/9 forr...@forrestheller.com: OK can you open a new bug for CPackRPM and attach your patch proposal to it? If yes then reply to this message in order to give us the bug number. -- Bug # is 9872 I looked at the other CPackRPM issues before submitting the patch--unfortunately

Re: [CMake] CVS tag/branch question

2009-11-09 Thread Eric Noulard
2009/11/9 Steven Wilson steven.wesley.wil...@gmail.com: On Mon, Nov 9, 2009 at 11:36 AM, Eric Noulard eric.noul...@gmail.com wrote: 2009/11/9 Steven Wilson steven.wesley.wil...@gmail.com: What CVS tag is used for the 2.8.0 release? I guess it **WILL** be something like  CMake-2-8-0   I

Re: [CMake] CPack: How to add the Build Configuration Type to the created installer

2009-11-05 Thread Eric Noulard
2009/11/5 Michael Jackson mike.jack...@bluequartz.net: I would like to generate installers for both a Release and a Debug build but have them be separate installers under Visual Studio. Currently when I build the PACKAGE project in my solution I get a nice installer with a name like:

Re: [CMake] infinite loop when trying to change the compiler in CMakeLists.txt

2009-11-05 Thread Eric Noulard
2009/11/5 btho...@nexus.hu: Dear All, I am managing a CFD code where wish to set the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to openmpi wrappers. So far i was using cmake 2.4.7 and in the CMakeLists.txt the following lines were working perfectly: SET(CMAKE_C_COMPILER

Re: [CMake] RHEL5 - Eclipse CDT4 - Unix Makefiles generator no project files are generated just Makefiles

2009-11-04 Thread Eric Noulard
2009/11/3 tech user techs...@gmail.com: Hi All We have *successfully build\compiled cmake-2.6.4 on linux RHEL5. Since you had some issue for this may be you can document what you have done for building a proper RHEL5 rpm on a Wiki Page: May be in the More Topics area.

Re: [CMake] Where can i get cmake-gui rpm for RHEL5 (Redhat 5) (download the source code is even better) ?

2009-11-02 Thread Eric Noulard
2009/11/2 tech user techs...@gmail.com: Hi all Thanks in advance 1) We are trying to install cmake-gui for RHEL5 and we couldn't find any rpm available ? (* we used yum and we have a proper license) 2) what is the url for cmake-gui source code ? (svn, cvs) cmake-gui is part of the CMake

Re: [CMake] Where can i get cmake-gui rpm for RHEL5 (Redhat 5) (download the source code is even better) ?

2009-11-02 Thread Eric Noulard
2009/11/2 tech user techs...@gmail.com: Hi Eric I have found what i was missing. --qt-gui ./configure --qt-gui Ok I see you were not only compiling CMake but **bootstraping** it. Note that if you have a previous CMake version installed you may perfectly build CMake using cmake. Since

Re: [CMake] Post install scripts for debian

2009-10-19 Thread Eric Noulard
2009/10/19 Mathieu Malaterre mathieu.malate...@gmail.com: On Fri, Oct 16, 2009 at 8:15 PM, Eric Noulard eric.noul...@gmail.com wrote: 2009/10/16 as rmct...@gmail.com: Hello: We are using CMake to create inhouse deb packages for our project. We need to run a script after installing

Re: [CMake] Emit compile line on compilation error

2009-10-19 Thread Eric Noulard
2009/10/19 Bill Hoffman bill.hoff...@kitware.com: K. Noel Belcourt wrote: Hi, Is there an easy way to have CMake emit the compile line only if a compile error occurs?  We prefer to build with VERBOSE output off and were looking for a cleaner way to emit diagnostics. Anyone know if this is

Re: [CMake] CMake ignores CPLUS_INCLUDE_PATH?

2009-10-19 Thread Eric Noulard
2009/10/19 David Doria daviddo...@gmail.com: You can use $ENV{CPLUS_INCLUDE_PATH} to get the contents of the path. I tried to do this: INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} $ENV{CPLUS_INCLUDE_PATH}) I think the appropriate syntax should be:

Re: [CMake] CMake ignores CPLUS_INCLUDE_PATH?

2009-10-19 Thread Eric Noulard
2009/10/19 Eric Noulard eric.noul...@gmail.com: 2009/10/19 David Doria daviddo...@gmail.com: You can use $ENV{CPLUS_INCLUDE_PATH} to get the contents of the path. I tried to do this: INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} $ENV{CPLUS_INCLUDE_PATH}) I think the appropriate syntax should

Re: [CMake] CMake ignores CPLUS_INCLUDE_PATH?

2009-10-19 Thread Eric Noulard
2009/10/19 David Doria daviddo...@gmail.com: On Mon, Oct 19, 2009 at 4:31 PM, Eric Noulard eric.noul...@gmail.com wrote: 2009/10/19 David Doria daviddo...@gmail.com: You can use $ENV{CPLUS_INCLUDE_PATH} to get the contents of the path. I tried to do this: INCLUDE_DIRECTORIES

Re: [CMake] Post install scripts for debian

2009-10-16 Thread Eric Noulard
2009/10/16 as rmct...@gmail.com: Hello: We are using CMake to create inhouse deb packages for our project. We need to run a script after installing the package: postinst script which is possible in Debian. I don't know how to enable this from CMake - do I set some flags? Do I just put the

Re: [CMake] Automated packaging

2009-10-15 Thread Eric Noulard
2009/10/15 Dixon, Shane shane.di...@atmel.com: Ok, I got this working, but the only way I could get it to work is to use the configure_file.  For some reason using the execute_process in ctest doesn't like the -D options.  Maybe I did something wrong?  Here's what worked:

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-14 Thread Eric Noulard
2009/10/14 Romain CHANU romainch...@gmail.com: Hi, I come back to you after posting on the mailing list of the Eclipse CDT development: http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg16338.html As you can see, there is already a bug created but no one has ever done something about that

Re: [CMake] Automated packaging

2009-10-14 Thread Eric Noulard
2009/10/14 Dixon, Shane shane.di...@atmel.com: Clinton, Okay, that PARTIALLY works.  It does in fact build everything the way it should.  The problem comes when I try to copy the file.  I don't know what the product of the Cpack step is unless I have visibility to the variable

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-11 Thread Eric Noulard
2009/10/11 Romain CHANU romainch...@gmail.com: Thank you for your quick reply. Eclipse should be the one to fix this issue... Do you know if there is any request for it in Eclipse development? Eclipse fixing the issue means: someone concerned with this particular problem provide patch or

Re: [CMake] Overloading the install make rule

2009-10-09 Thread Eric Noulard
2009/10/8 Dixon, Shane shane.di...@atmel.com: I have two different version of my program: one that runs in simulation mode, and the other that runs in real mode.  Right now I just select which I want using an option -DEMULATION_MODE=ON or -DEMULATION_MODE=OFF.  The flag is checked later and

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread Eric Noulard
2009/10/9 jens persson j...@persson.cx: add_custom_target(extras        DEPENDS bar ) which builds foo when running make all and bar when make extras I have tried to simply add: add_custom_target(complete        DEPENDS extras all ) which gives the following error: [...] I get the

Re: [CMake] Depending on all and custom targets

2009-10-09 Thread Eric Noulard
2009/10/9 jens persson j...@persson.cx: I think dependency from extras should work did you try with only extras and not all? Yes I get the following error: $ make complete [100%] Built target bar [100%] Built target extras make[3]: *** No rule to make target `extras', needed by

Re: [CMake] CMake 2.8.0 RC 2 ready for testing!

2009-10-09 Thread Eric Noulard
2009/10/9 Bill Hoffman bill.hoff...@kitware.com: Orion Poplawski wrote: That was it.  Moving to out of tree worked. I just verified that -j N1 fails with those tests when doing in-source builds.  This can be fixed by adding some more test depends into CMake, or disabling in-source

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-07 Thread Eric Noulard
2009/10/7 Romain CHANU romainch...@gmail.com: Yes I agree with you. It would be nice to hide these CMake generated files (except those that are generated by your CMakeLists.txt and used for compilation purpose, e.g. files generated by external command like CodeSynthesis XSD). One more thing,

Re: [CMake] Pass value from CMake to source file?

2009-10-04 Thread Eric Noulard
2009/10/4 motes motes mort.mo...@gmail.com: Is it possible to send a user specified path from CMake to the final application (make it visible)? Depending on which machine I build my application on the path to some images may vary. I was therefore thinking to specify this path when building

Re: [CMake] Pass value from CMake to source file?

2009-10-04 Thread Eric Noulard
2009/10/4 Wojciech Migda wojtek.g...@interia.pl: You should use CONFIGURE_FILE for that. Look for example this section of the Wiki: http://www.cmake.org/Wiki/CMake_HowToDoPlatformChecks My personal favourite would be preprocessor macro: FIND_PATH(IMAGE_DIR REQUIRED) ADD_DEFINITIONS(

Re: [CMake] [CPACK RPM] intermediate directories

2009-10-03 Thread Eric Noulard
2009/10/3 David cmoida...@gmail.com: On FC6 with cmake 2.6.4 After some checks: I have a INSTALL(file DESTINATION /etc/init.d) but I think that directories /etc and /etc/init.d should not be include in the files section of the spec file (because I have a conflict with the package chkconfig

Re: [CMake] Cannot create shared lib under Windows, the error message is unreadable

2009-10-03 Thread Eric Noulard
2009/10/3 michael kapelko korn...@gmail.com: I use Windows with russian locale, setting it to english one didn't help (only symbols instead of letters then). May be that's because it's a pirate one :P I won't comment on that you are on your own. Nevertheless, static lib builds just fine

Re: [CMake] [CPACK RPM] intermediate directories

2009-10-03 Thread Eric Noulard
2009/10/3 David cmoida...@gmail.com: Done ;-) Bug 9653 on CMake 2.6 Bug 9654 on CMake 2.8 http://public.kitware.com/Bug/view.php?id=9653 Thanks David, You should Monitor those bugs if you want to get automatic follow-up. I think your patch has an issue (just tried for build RPM for CMake 2.8

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-26 Thread Eric Noulard
2009/9/26 Michael Wild them...@gmail.com: Usually I use cvs update -dARP which IMHO should probably be the default, because that's what people (i.e. me) expect from an update. -dRP are ok even if I think R is not needed, however you usually don't want A unless you want to checkout cvs HEAD.

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-26 Thread Eric Noulard
2009/9/26 Alexander Neundorf a.neundorf-w...@gmx.net: On Saturday 26 September 2009, Andreas Pakulat wrote: Not sure which one is newer, but I just cvs up'ed to the CMAKE-2-8 branch and tried to build and it failed with this: [ 90%] Building CXX object

<    10   11   12   13   14   15   16   17   18   19   >