Re: [CMake] CPack question.

2011-09-12 Thread Eric Noulard
2011/9/12 Akshay akshay.ran...@gmail.com: Hello All, I have recently ported my project software tree to CMake and I am pretty happy about it. There is a last step which is proving quite elusive to me. The targets that are built in the software tree are TGZ'd for final distribution, however,

Re: [CMake] CPack question.

2011-09-12 Thread Eric Noulard
2011/9/12 Akshay akshay.ran...@gmail.com: Hi Eric, Hi, Please do not drop the ML address. 'make install' puts the targets in the directories that I have set in the main CMakeLists.txt. I am using CMake 2.8.0 on Ubuntu x64 (Linux valhala 2.6.38-10-generic #46~lucid1-Ubuntu SMP Wed Jul 6

Re: [CMake] CPack question.

2011-09-12 Thread Eric Noulard
2011/9/12 Akshay akshay.ran...@gmail.com: Hi Eric, Just to clarify, INSTALL command are present in the sibling source directories' CMakeLists.txt and not in the main CMakeLists.txt. Would this change the behavior of CPack (which is present only in the main CMakeLists.txt) ? No it shouldn't.

[CMake] Specify the link command in CMake

2011-09-13 Thread Eric Noulard
2011/9/13 Federico Carminati federico.carmin...@cern.ch: Dear All, is there a way to specify the link command in CMake? If I specify export LD=/usr/bin/ld ; cmake $MY_SOURCE_DIRECTORY it is not taken and if I set I dont' know if LD env var is supposed to be used at all. cmake

Re: [CMake] LINKER FLAGS

2011-09-13 Thread Eric Noulard
2011/9/13 pellegrini pellegr...@ill.fr: Hi all, I would like to build a Fortran90 project using Fortran intel compiler. I would like to increase the stack by adding the /stack flag to the linker. Looking on the documentation, I think that set(CMAKE_EXE_LINKERS_FLAG /stack:6400) will do

Re: [CMake] Using CMake for Eclipse Indigo / CDT 8

2011-09-13 Thread Eric Noulard
2011/9/13 sv...@free.fr: Hello, I usually develop with Visual STudio, but I have to code now on Eclipse so that my software is runnable on Linux. I so installed the last release of Eclipse, and want to run CMake 2.8.5 to export an Eclipse project. The solutions/projects that CMake

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Eric Noulard
2011/9/13 Clifford Yapp cliffy...@gmail.com: On Tue, Sep 13, 2011 at 1:58 PM, David Cole david.c...@kitware.com wrote: On Tue, Sep 13, 2011 at 1:39 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare

Re: [CMake] creating a library -- folder layout??

2011-09-13 Thread Eric Noulard
2011/9/13 Cristobal Navarro axisch...@gmail.com: hello everyone! this is my first post on the mailing list i am making a shared library i have everything configured properly so that cmake creates de makefile scripts as espected at the moment cmake is installing my library by default into:

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Eric Noulard
2011/9/13 Clifford Yapp cliffy...@gmail.com: Eric - Excellent!  That looks like it will do the trick. Thank you! Please tell us about the performance but from the implementation of REMOVE_ITEM I bet the performance shouldn't be that good: inside cmListCommand.cxx: bool cmListCommand

[CMake] Tutorial for new-style ctest scripting

2011-09-16 Thread Eric Noulard
Hi there, I want to setup a ctest + cdash submission for one of my open source project: https://savannah.nongnu.org/projects/certi/ I did open a free dashboard: http://my.cdash.org/index.php?project=CERTI I did write my script:

Re: [CMake] Rename unspecified component - how?

2011-09-17 Thread Eric Noulard
2011/9/17 Kishore Jonnalagadda kitts.mailingli...@gmail.com: In my project I am using the default component for all binaries and a dev component for headers. But when I create packages, it creates one called Unspecified and another called dev. How do I rename the unspecified component to be

Re: [CMake] Rename unspecified component - how?

2011-09-17 Thread Eric Noulard
2011/9/17 Kishore Jonnalagadda kitts.mailingli...@gmail.com: On Sep 17, 2011 2:12 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/9/17 Kishore Jonnalagadda kitts.mailingli...@gmail.com: In my project I am using the default component for all binaries and a dev component for headers

Re: [CMake] Rename unspecified component - how?

2011-09-18 Thread Eric Noulard
2011/9/18 Kishore Jonnalagadda kitts.mailingli...@gmail.com: On Sat, Sep 17, 2011 at 2:12 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/9/17 Kishore Jonnalagadda kitts.mailingli...@gmail.com: In my project I am using the default component for all binaries and a dev component for headers

Re: [CMake] Rename unspecified component - how?

2011-09-18 Thread Eric Noulard
2011/9/18 Eric Noulard eric.noul...@gmail.com: 2011/9/18 Kishore Jonnalagadda kitts.mailingli...@gmail.com: On Sat, Sep 17, 2011 at 2:12 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/9/17 Kishore Jonnalagadda kitts.mailingli...@gmail.com: In my project I am using the default component

Re: [CMake] User generated header file

2011-09-18 Thread Eric Noulard
2011/9/18 Perry Ismangil pe...@pjsip.org: I'm converting Visual Studio project files to CMake. On of our project, one of the header file included in the project is deliberately missing, the user have to manually create it before building for the first time. When I tried this with cmake, it

Re: [CMake] User generated header file

2011-09-19 Thread Eric Noulard
2011/9/19 Perry Ismangil pe...@pjsip.org: On Sun, Sep 18, 2011 at 16:47, C. Meissa carsten.mei...@gmx.de wrote: Do you want the user to manually add the header, or do you want cmake to create it? User will manually add it before compile, so Eric mentioned setting the GENERATED property to

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Eric Noulard
2011/9/19 Martin Kupke martin.ku...@novero.com: I'm using CMake in version 2.8.5 and just want to cross compile with a decicated Compiler / Linker set on my Windows machine. Of course I've read the FAQ and the Tutorial, afterwards I started trying to use CMake on a DOS (cmd.exe) command line

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Eric Noulard
2011/9/19 Martin Kupke martin.ku...@novero.com My problem (the error) already occurs in the toolchain file, this means before the CMakeLists.txt is read. So far it is total independent of the entries in the CMakeLists.txt! I have added the line: message (Mein CMakeLists.txt File) in top

Re: [CMake] Windows: install conditionnaly an executable

2011-09-19 Thread Eric Noulard
2011/9/19 ycollette.nos...@free.fr: Hello, I would like to do this kind of installation: My package contains several executable with a version number by application - first install: install all the application and write a version number into the windows registry - update install:

Re: [CMake] Windows: install conditionnaly an executable

2011-09-19 Thread Eric Noulard
Please do not drop the ML address. 2011/9/19 ycollette.nos...@free.fr: How can I read with cmake the registry key dynamically in the installer and use this version number to install conditionnaly some applications ? You need to have a look at your specific installer language (seems to be

Re: [CMake] SOLVED: Generated successfully NMake Makefile using CMake for Cross Compiling, but compiling with nmake fails

2011-09-20 Thread Eric Noulard
2011/9/20 Martin Kupke martin.ku...@novero.com Hi, short info for those of you who run into the same pitfall. I downloaded the free (free of charge) nmake tool version 1.50 from the Microsoft website. The problem is this nmake tool which produces the problems with blanks / spaces in

Re: [CMake] Post Packaging Script?

2011-09-22 Thread Eric Noulard
2011/9/22 Michael Jackson mike.jack...@bluequartz.net: Is there some way to run a shell script/command/cmake script AFTER all the packaging is completed? None that I am aware of. May be you can craft you own package_end_cleanup custom_command which would call 1) make package 2) cmake -E

Re: [CMake] dmg CPack Options

2011-09-22 Thread Eric Noulard
2011/9/22 Michael Jackson mike.jack...@bluequartz.net: I just found that and have been playing with it but if I set it to 1 then I get the following error: CPack: Create package using DragNDrop CPack: Install projects CPack: - Run preinstall target for: DREAM3D CPack: - Install project:

Re: [CMake] The output of cpack is an empty file

2011-09-27 Thread Eric Noulard
Second message for the list 2011/9/27 pellegrini pellegr...@ill.fr: Hello everybody, I would like to use cpack in order to gather a set of executables (built statically) into a single archive that could be extracted everywhere the user wants. My project architecture is the following:

Re: [CMake] Does find_library check that a found library does in fact link?

2011-09-28 Thread Eric Noulard
2011/9/28 Michael Wild them...@gmail.com: On 09/28/2011 07:47 AM, Clifford Yapp wrote: On Wed, Sep 28, 2011 at 12:13 AM, Michael Wild them...@gmail.com mailto:them...@gmail.com wrote:     On 09/28/2011 02:44 AM, Clifford Yapp wrote:     I've run into a situation where find_library is

Re: [CMake] Cannot find appropriate C++ compiler on this system ...

2011-09-29 Thread Eric Noulard
2011/9/29 Albretch Mueller lbrt...@gmail.com:  I am using knoppix and I am trying to build cmake's sources into a local directory, but this is what I get: ~ $ ./bootstrap; make; make install - CMake 2.8.5, Copyright 2000-2009 Kitware, Inc. C

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal chetal.gau...@gmail.com: Hello everyone.. I have two library files in two different directories and my project involves linking one library with the another..So i used Target_link_libraries..but i am unable to execute the executable and it is giving the error as In

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal chetal.gau...@gmail.com: Hi, Please do not drop he mailing list address. My CMake version is 2.8..Its on linux yes!!!..But still if i dnt want to go into the complexity (because m nt understanding the concept of RPath dat easily) then what can i do so that my program

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal chetal.gau...@gmail.com: Respected sir!!!.. Actually i have made the static libraries..But the problems which m gettin is that the program of the CMakeLists.txt is first of all nt able to pick up the libraries (with TARGET_LINK_LIBRARY) and second thing those libraries

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-30 Thread Eric Noulard
2011/9/30 Alexander Neundorf a.neundorf-w...@gmx.net: Summary:          build    dry    rebuild ninja   1m15.8   0m0.1    0m07.3 make    1m19.4   0m1.4    0m07.9 auto    3m19.9   0m2.1    0m13.0 So only the dry run shows a huge speedup (10-20 times faster) Not to question your numbers,

Re: [CMake] STREQUAL not functioning?

2011-10-06 Thread Eric Noulard
2011/10/6 Robert Dailey rcdai...@gmail.com: According to the CMake documentation, the `STREQUAL` comparison is allowed to take either a VARIABLE or a STRING as either parameter. So, in this example below, the message does NOT print, which is broken:     set( FUBARTEST OK )     if( FUBARTEST

Re: [CMake] Contribute two new find package implementation.

2011-10-07 Thread Eric Noulard
2011/10/7 Mathias Fröhlich m.froehl...@science-computing.de: Hi, I have done and would like to contribute two new find package implementations. These are both IEEE standardized successors rti1516 and rti1516e of the RTI libraries  where cmake already has the predecessor library find package

Re: [CMake] Contribute two new find package implementation.

2011-10-07 Thread Eric Noulard
2011/10/7 Mathias Fröhlich m.froehl...@science-computing.de: Hi, On Friday 07 October 2011, Eric Noulard wrote: Nice to ear from you on CMake ML. Module contribution process is described here: http://www.cmake.org/Wiki/CMake:Module_Maintainers Puh, ok. My problem is that I cannot take

Re: [CMake] Contribute two new find package implementation.

2011-10-09 Thread Eric Noulard
2011/10/9 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 07 October 2011, Mathias Fröhlich wrote: Hi, I have done and would like to contribute two new find package implementations. These are both IEEE standardized successors rti1516 and rti1516e of the RTI libraries  where cmake

[CMake] Contribute two new find package implementation.

2011-10-09 Thread Eric Noulard
Argh... forgot the list -- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2011/10/9 Subject: Re: [CMake] Contribute two new find package implementation. To: Michael Hertling mhertl...@online.de 2011/10/9 Michael Hertling mhertl...@online.de: On 10/07/2011

Re: [CMake] run tests on 5 machines

2011-10-10 Thread Eric Noulard
2011/10/10 Mihai Sandu voyage...@gmail.com: How can I run tests on 5 machines in same time? This is how I run the tests on a machine: execute_process (COMMAND ssh user@host ctest -VV -O file.txt -S Test.cmake) and I want to run this command in the same time on 5 machines. May be you can

Re: [CMake] CTest outside of CMake

2011-10-17 Thread Eric Noulard
2011/10/17 Tim Gallagher tim.gallag...@gatech.edu: Hi, We have our project set up to run a series of test cases, but we are treating it as if we are not using CMake. I found a tutorial online on how to set it up, and we have it running just fine when we want to run all of the tests. But,

Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Eric Noulard
2011/10/18 Michael Jackson mike.jack...@bluequartz.net: Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally going to update update the plugin to have the latest information for CMake 2.8.6. The process that I have used in the past to populate the command completion is

Re: [CMake] Empty ./CMakeFiles/Makefile2 - how to proceed?

2011-10-20 Thread Eric Noulard
2011/10/20 Alastair McKinstry mckins...@debian.org: I'm building a debian package, CDAT. The latest version 6.0.alpha uses CMAKE to build, rather than configure. The trouble is that CMake doesn't build. It doesn't even fail. $ mkdir build $ cd build $ cmake .. ()-- Configuring done --

Re: [CMake] getting all the function names

2011-10-20 Thread Eric Noulard
2011/10/20 Rolf Eike Beer e...@sf-mail.de: I'm starting to use cmake and I will have to rely on it pretty much in the future. I'm a bit overwhelmed by the quantity of variables / functions, is there a way to get an automatic list of all of them? It would be nice to improve the

Re: [CMake] CMake still broken post-2.8.1

2011-10-25 Thread Eric Noulard
2011/10/25 Phil Smith p...@voltage.com: Ah, ok. With 2.8.1: C:/Program Files/Regina/regina.exe cc.rex dcc.exe   CMakeCCompilerId.c With 2.8.6: C:/Program Files/Regina/regina.exe cc.rex;dcc.exe   CMakeCCompilerId.c Note the semicolon; where'd it come from? This is clearly a change of

Re: [CMake] CMake still broken post-2.8.1

2011-10-25 Thread Eric Noulard
Sorry for previous unfinished e-mail. 2011/10/25 Phil Smith p...@voltage.com: Ah, ok. With 2.8.1: C:/Program Files/Regina/regina.exe cc.rex dcc.exe   CMakeCCompilerId.c With 2.8.6: C:/Program Files/Regina/regina.exe cc.rex;dcc.exe   CMakeCCompilerId.c Note the semicolon; where'd it come

Re: [CMake] Checking for empty string

2011-10-25 Thread Eric Noulard
2011/10/25 Daniel Dekkers d.dekk...@cthrough.nl: hi there, how do I test if a string is empty () or not ? IF( ${test} STREQUAL ) gives the wrong number of arguments if ${test} is Did you try IF( ${test} STREQUAL ) ? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre

Re: [CMake] CMake still broken post-2.8.1

2011-10-25 Thread Eric Noulard
2011/10/25 Phil Smith p...@voltage.com: OK, but it should then reject the extra parameters, since it used to work. Difficult to warn about a usage you did not even dream of ? Now that we know I agree there should be a warning (if not a clean failure with explanation). In any case, I've

Re: [CMake] cpack problem

2011-10-27 Thread Eric Noulard
2011/10/27 ycollette.nos...@free.fr: Hello, I've built an installer using cmake / cpack / nsis. I work under windpws XP 64 bits. I first built a monolithic installer and everything is fine. My installer have several components. Now, I build a network installation. So, I added:  

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Eric Noulard
2011/10/27 Dan Kegel d...@kegel.com: On Wed, Oct 26, 2011 at 4:09 PM, Robert Dailey rcdai...@gmail.com wrote: When you make any changes to any CMakeLists.txt, the Makefiles are setup to check this and invoke cmake to reconfigure and regenerate those makefile scripts. I only use Visual Studio

Re: [CMake] CMake still broken post-2.8.1

2011-10-27 Thread Eric Noulard
2011/10/27 Phil Smith p...@voltage.com: Hmm. My zosport.cmake is now (comments/blank lines removed): SET(CMAKE_SYSTEM_NAME IBM_ZOS) SET(CMAKE_C_COMPILER_ID_RUN 1) SET(CMAKE_C_PLATFORM_ID MyPlatform) SET(CMAKE_C_COMPILER_ID MyCompiler) SET(CMAKE_C_COMPILER   regina) SET(CMAKE_C_FLAGS cc.rex

Re: [CMake] Registering imported library,

2011-10-27 Thread Eric Noulard
2011/10/27 Łukasz Tasz luk...@tasz.eu: Problem solved. It would have been nice to know how :-] -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMake still broken post-2.8.1

2011-10-27 Thread Eric Noulard
Narrowing down the cc list, everybody should be subscribed to the list.. 2011/10/27 Phil Smith p...@voltage.com: Toolchain. You lack some var definitions in your toolchain: see http://www.cmake.org/Wiki/CMake_Cross_Compiling#The_toolchain_file # where is the target environment

Re: [CMake] CMake still broken post-2.8.1

2011-10-27 Thread Eric Noulard
2011/10/27 Phil Smith p...@voltage.com: Yeah, I know everyone thinks out-of-source builds are better, but we have peculiar requirements related to packaging up the object decks and the like that really make out-of-source builds unappealing. We've been doing this for almost 4 years, so we're

Re: [CMake] Suggestions on documenting my CMake modules

2011-10-29 Thread Eric Noulard
2011/10/29 Robert Dailey rcdai...@gmail.com: I have several complex functions which require a ton of documentation. I wanted to type this documentation directly in the cmake file right above the function() itself, but it is turning out to be a formatting nightmare. What kind of formatting do

Re: [CMake] bash-script-like project

2011-10-30 Thread Eric Noulard
2011/10/30 Andrea Crotti andrea.crott...@gmail.com: I rephrase a bit the question which was probably too long :) So suppose that I just need to do the following things (but in a portable way with CMake). cd org-mode make cd tramp autoreconf -fi ./configure make cd doxymacs autoreconf

[CMake] CMake still broken post-2.8.1

2011-10-31 Thread Eric Noulard
2011/10/27 Phil Smith p...@voltage.com: Ok, tried the CMakeLists change, no change. The Dignus-related files are attached. Thanks, nothing strange in there. Sorry for the delay, but I'm entering a not so much spare time loop moreover I should admit I do not have any more debugging idea for

Re: [CMake] Visual Studio generator and visible projects

2011-11-01 Thread Eric Noulard
2011/11/1 Anton Sibilev anton.sibi...@gmail.com: Hello! Can you help me, please? I'm generating VS 2010 solution/projects and finally when I open main solution file I can SEE only ALL_BUILD project. All builds fine, all projects exists. But I can't see them and work with sources from them

Re: [CMake] [cmake-developers] To warn or to error out ? - wording and compatiblity

2011-11-01 Thread Eric Noulard
2011/11/1 Alexander Neundorf neund...@kde.org: Hi, when using out-of-source builds and the Eclipse CDT project generator, a linked resource is created in the Eclipse project file, which points to CMAKE_SOURCE_DIR, so the user can browse the source directory. Now, when CMAKE_BINARY_DIR is a

Re: [CMake] CPACK_PACKAGE_DESCRIPTION_FILE for debian

2011-11-01 Thread Eric Noulard
2011/11/1 Erik Hofman e...@ehofman.com: Hi, I'm new to this list and just recently started to use CMake and CPack. So far I'm very pleased but there's one thing that I think could use some improvement; As far as I van see (from Wiki) the RPM generating backend of CPack use You can get up

Re: [CMake] [cmake-developers] To warn or to error out ? - wording and compatiblity

2011-11-01 Thread Eric Noulard
2011/11/1 Alexander Neundorf neund...@kde.org: On Tuesday 01 November 2011, Eric Noulard wrote: [...] So before making the build dir as a source subdir case FATAL, are you sure we really don't want to authorize the generatiion of .project .cproject in the source dir in this very particular

Re: [CMake] CPACK not generating binary install

2011-11-01 Thread Eric Noulard
2011/11/1 David Cole david.c...@kitware.com: INSTALL rule DESTINATION arguments are intended to be non-full path directory names, that get placed underneath CMAKE_INSTALL_PREFIX. When CPack runs, it tries to build the install target after setting a value into CMAKE_INSTALL_PREFIX. Since

Re: [CMake] CPACK_PACKAGE_DESCRIPTION_FILE for debian

2011-11-02 Thread Eric Noulard
2011/11/2 Erik Hofman e...@ehofman.com: On Tue, 2011-11-01 at 11:47 +0100, Eric Noulard wrote: I'll review it and probably merge it soon, since this looks reasonable. Note however that with CPackRPM you have both CPACK_RPM_PACKAGE_SUMMARY and CPACK_RPM_PACKAGE_DESCRIPTION whereas for DEB

[CMake] mingw32 toolchain leads to CMAKE_RC_COMPILER-NOTFOUND

2011-11-04 Thread Eric Noulard
I'm trying to use a mingw32 toolchain on Linux (with cmake 2.8.6) and I get: -- The C compiler identification is GNU CMake Error: your RC compiler: CMAKE_RC_COMPILER-NOTFOUND was not found. Please set CMAKE_RC_COMPILER to a valid compiler path or name. -- Check for working C compiler:

Re: [CMake] Component Package Name

2011-11-08 Thread Eric Noulard
2011/11/9 Gantry York gantry.y...@digitascio.com: I'm trying to set up component based packaging (with RPM).  I have it working, I just can't control the name. You currently don't have full control over the package name. - for a non-component packaging you can chose the package name by

Re: [CMake] Problem with cmake cross-compiling - make complains of missing header.

2011-11-09 Thread Eric Noulard
2011/11/9 Thomas Walwyn thomas.wal...@uec.co.za: Hi All, I’m brand-new to cmake, and have run into a problem cross compiling for an Intel embedded platform: Make complains about missing file 'curl/curl.h' when compiling against an Intel SDK for linux. 'curl/curl.h' resides in the

Re: [CMake] CPack Generator jar support

2011-11-09 Thread Eric Noulard
2011/11/9 David Cole david.c...@kitware.com: Adding a generator will require C++ modifications to the CPack code... but knowing that a jar file is a zip file subclassing cmCPackArchiveGenerator.[h|cxx] to cmCPackJARGenerator.[h|cxx] in the same way cmCPackZIPGenerator does should be fairly

Re: [CMake] CPack Generator jar support

2011-11-09 Thread Eric Noulard
2011/11/9 Alexander Broekhuis a.broekh...@gmail.com: Hi Eric, By the way did you try the ZIP generator with set(CPACK_INSTALLED_DIRECTORIES /path/to/META-INF;/META-INF) if some local (to the build) directory /path/to/META-INF contains the appropriate MANIFEST.MF and INDEX.LIST your jar

Re: [CMake] Adding a new language

2011-11-09 Thread Eric Noulard
2011/11/9 Stefan Monnier monn...@iro.umontreal.ca: I'm trying to use cmake for a project using OCaml, so I'm trying to add support for a new language. Just in case you weren't aware of that. There has been [several] discussions on the ML in the past concerning CMake OCaml support at least this

Re: [CMake] Issue with check_include_file() and GL/glxproto.h

2011-11-10 Thread Eric Noulard
2011/11/10 GOUJON Alexandre ale.gou...@gmail.com: Hi, It all started when I tried compiling Piglit [1] : cmake checked all the dependencies, didn't complain and generated Makefiles but doing 'make' caused an error because a header was missing. So I proposed myself to write a patch and add

Re: [CMake] CPack Generator jar support

2011-11-10 Thread Eric Noulard
2011/11/10 Alexander Broekhuis a.broekh...@gmail.com: By the way did you suppress the INSTALL rule concerning the MANIFEST you may have had before? Yes, this is what I tried. CMake seems to make an intermediate directory which is zipped. So the order of the

Re: [CMake] CMake single-configuration makefiles

2011-11-13 Thread Eric Noulard
2011/11/13 Robert Dailey rcdai...@gmail.com: I understand that currently Makefiles generated by CMake are single-configuration by-design. In other words, you can't issue a debug or release command to make, you have to regenerate for a different configuration. For this purpose you can use 2

Re: [CMake] CMake deleting SVN directories

2011-11-16 Thread Eric Noulard
2011/11/16 Mauricio Klein mauricio.klein@gmail.com: Hello guys! I have researched a lot about it but can't find a solution. I have a project under SVN control and using CMake to compile the whole code. But, when i run make clean, the CMake clean its temporary directories and the .svn

Re: [CMake] [CPACK] Patch with componentwise extra install commands for NSIS-generator

2011-11-26 Thread Eric Noulard
2011/11/26 Marcel minusdreidb+cm...@gmail.com: Hi, I extended cpack's NSIS-generator and want to contribute the attached patch. It adds the CPACK_COMPONENT_name_EXTRA_INSTALL_COMMANDS option to cpack that allows to add NSIS commands exclusivly to the install section generated for the

Re: [CMake] Platform Finding modules

2011-11-29 Thread Eric Noulard
2011/11/29 Alexander Neundorf a.neundorf-w...@gmx.net: On Tuesday 29 November 2011, Laszlo Papp wrote: Hi, Are there any modules to realize the fact what platform I build on top of ? I could imagine something like Find{Harmattan,Fremantle,Maemo,MeeGo,Tizen,AnyPlatform}.cmake in wider usage.

Re: [CMake] Platform Finding modules

2011-11-29 Thread Eric Noulard
2011/11/29 Laszlo Papp lp...@kde.org: [...] The file is meant to be included in a CMakeLists.txt for which the project command has already been called. I do not see any files attached. classical missing attachment mistake of mine... here it comes. -- Erk Membre de l'April - « promouvoir

Re: [CMake] CPACK RPM directories in %files section

2011-11-29 Thread Eric Noulard
2011/11/29 Steven Green ste...@greenius.ltd.uk: Hello, This is my first post to this mailing list.  I have a problem relating to creating an RPM. Previously I was using CMake version 2.8.4, and when adding a file such as /etc/init.d/myfile it would only add that one file to the RPM. I

Re: [CMake] DEB and RPM Generation?

2011-12-01 Thread Eric Noulard
2011/12/1 David Cristian auled...@gmail.com: Hello devs! I've searh the net with no result, i have a project builds various apps and libs, i managed to use cmake/cpack to build and create packages for win32 and debian and i have two questions. 1 First, it's posibible to build a deb package

Re: [CMake] DEB and RPM Generation?

2011-12-01 Thread Eric Noulard
2011/12/2 David Cristian auled...@gmail.com: Thanks for your quick response! I'll have all this things in consideration, specially wrong dependencies and libs version. I'll plan to test packages on vbox for others distros, my project isn't big or complex (just a few dependencies), and I'll

Re: [CMake] make install files

2011-12-06 Thread Eric Noulard
2011/12/6 H Xu xusu...@gmail.com: Hello, In cmake, install command is used to indicate the files that need to be installed, and install(DIRECTORY ...) could be used to install directories. However, I can't find a way to install files in a directory EXCEPT a few files that I do not want to

Re: [CMake] Cpack Installing extra files depending on generator type

2011-12-09 Thread Eric Noulard
2011/12/9 vivek goel goelvivek2...@gmail.com: I want to generate two package type . So I am using following syntax in my CMakeLists.txt  SET(CPACK_GENERATOR TGZ;RPM) Now problem is that I want to install some extra files in Generator RPM. And I want to set different Install RPM prefix. How

Re: [CMake] Eclipse and CMake...

2011-12-09 Thread Eric Noulard
2011/12/9 Clifford Yapp cliffy...@gmail.com: I decided to take a stab at using the Eclipse Unix Makefile generator with my project - on import, I get the following error: Error processing changed links in project description file. No file system is defined for scheme: virtual I'm not

Re: [CMake] print content of linking script ?

2011-12-11 Thread Eric Noulard
2011/12/11 Ilias Miroslav miroslav.il...@umb.sk: Dear all, is there an easy way of printing out content of the linking file  CMakeFiles/TARGET.dir/link.txt as a simple command in the CMakeLists.txt file ? Usually we do cat .../link.txt after the cmake-configuration but we would prefer

Re: [CMake] print content of linking script ?

2011-12-12 Thread Eric Noulard
2011/12/12 Ilias Miroslav miroslav.il...@umb.sk: Dear Eric, I tried the file(READ... cmake command, but it does not work during CMake buildup -  the link.txt file is ready for reading only after ending the buildup what is not my case. Why I need it ? Some time ago I reported problem

Re: [CMake] Top level target depending on a file

2011-12-12 Thread Eric Noulard
2011/12/12 Alexander Broekhuis a.broekh...@gmail.com: Hi, Can anyone help me with this? I haven't found a proper solution myself yet.. The fact is there is no builtin support for what you ask see: http://public.kitware.com/Bug/view.php?id=8438 But the thing is. Why don't you create a top

Re: [CMake] Changing Package Top level directory name

2011-12-12 Thread Eric Noulard
2011/12/12 vivek goel goelvivek2...@gmail.com: hi, how can I change the name of top level directory of cpack. Without changing CPACK_PACKAGE_FILE_NAME ? I want package name to be in format of cmake-2.5.0-Linux-i686 only. But I want to change the root (top directory ) name inside package.

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Eric Noulard
2011/12/14 Alexander Broekhuis a.broekh...@gmail.com: Hi, CMake takes great care regarding dependencies on files which are needed to build targets, i.e. usually, it's not necessary to specify any extra dependencies of a target on a file. In my exemplary project, the README file is actually

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Eric Noulard
2011/12/14 Alexander Broekhuis a.broekh...@gmail.com: Hi, Thanks for you replies, Yes but CMake's jobs is to build libraries and executables not bundle which is more the CPack's job, however I understand your point. An extra target may be a small price to pay, no? Well I'd rather have

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

Re: [CMake] CPack problem with nsis on linux

2011-12-16 Thread Eric Noulard
2011/12/16 Hendrik Kunert kun...@users.sourceforge.net: Hi, i get the following error message from CPack with NSIS for a crosscompiled application: Run CPack packaging tool... How are you calling CPack? This does not look like a standard CPack message... terminate called after throwing an

Re: [CMake] How to add modifiers to functions

2011-12-16 Thread Eric Noulard
2011/12/17 Renato Utsch renatout...@gmail.com: I am trying to make a function that will check if the build is in-source or out-of-source. This is not really possible to do [yet] see http://public.kitware.com/Bug/view.php?id=6672 But I wanted to add a REQUIRED 'modifier' to the function, that

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

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

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.

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