Re: [CMake] linker error while executing with clang and llvm binaries for mingw32

2012-03-27 Thread Eric Noulard
2012/3/27 akshay ratnaparkhi ackk...@gmail.com: Hi all,    I am new for clang and llvm and this mailing forum. I am trying build cland on my windows xp 32 bit system using cland binaries for mingw32 version 2.9 and llvm binaries for mingw32 version 2.9. I follow following This mailing list

[Cmake-commits] CMake branch, next, updated. v2.8.7-3354-gaa05637

2012-03-27 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aa056370541417f070a6516d0888a70d24e1a3b7 commit aa056370541417f070a6516d0888a70d24e1a3b7 Merge: e262721 3a0c60d Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue Mar 27 15:47:55 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] make install uses outdated libstdc++.so.6

2012-03-26 Thread Eric Noulard
2012/3/26 Mirko Vukovic mirko.vuko...@gmail.com: Hello, I am building cmake on RHEL6.  I need a version higher than the one that comes with RHEL6. After doing bootstrap and make, Did you try to build cmake with cmake instead? I get an error with make install:

Re: [CMake] make install uses outdated libstdc++.so.6

2012-03-26 Thread Eric Noulard
2012/3/26 Mirko Vukovic mirko.vuko...@gmail.com: On Mon, Mar 26, 2012 at 2:30 PM, Eric Noulard eric.noul...@gmail.com wrote: 2012/3/26 Mirko Vukovic mirko.vuko...@gmail.com: Hello, I am building cmake on RHEL6.  I need a version higher than the one that comes with RHEL6. After doing

Re: [CMake] make install uses outdated libstdc++.so.6

2012-03-26 Thread Eric Noulard
2012/3/26 Mirko Vukovic mirko.vuko...@gmail.com: I can certainly try again (remove /usr/local from PATH variables). But as I am not familiar with cmake, can you please spell out for me how to use it?  I am much more used to make configure. I tried with cmake -i, but I not sure if I did

Re: [CMake] WIN32 vs CMAKE_HOST_WIN32

2012-03-26 Thread Eric Noulard
2012/3/26 Eric Noulard eric.noul...@gmail.com: 2012/3/26 Robert Dailey rcdailey.li...@gmail.com: Ever since I started using CMake, I always assumed that the WIN32 variable represented what system CMake is currently running on. Looking more carefully at the documentation, however, it seems

[Cmake-commits] CMake branch, next, updated. v2.8.7-3352-ge262721

2012-03-26 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e26272157599349803ca853abab89bc7c4bc8544 commit e26272157599349803ca853abab89bc7c4bc8544 Merge: cee132f 8fe0da5 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue Mar 27 01:58:59 2012 -0400 Commit: CMake Topic Stage

Re: [CMake] [CPACK] symlink problem and man cpack issue

2012-03-25 Thread Eric Noulard
2012/3/25 kassim orra kassimo...@gmail.com: Hi David, First, thanks for the help. I didn't use any argument, I posted all my cpack script. I really don't know why, there is somewhere I could change the /lib path inside the cpack script ? May be the problem is not with CPack but with your

Re: [CMake] Different targets for different configurations

2012-03-23 Thread Eric Noulard
2012/3/23 Mike Krus m...@mve.com: Hi I would like run a script with different options for debug and release builds. I can do this easily for Makefiles but am struggling to get it to work for Visual Studio. I basically: - add a custom command the output of which depends on the configuration

[Cmake-commits] CMake branch, next, updated. v2.8.7-3322-g31accb3

2012-03-20 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=31accb307a7a6c76184468859062b6376b67323f commit 31accb307a7a6c76184468859062b6376b67323f Merge: 407d2b7 87d5f1f Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Tue Mar 20 17:44:00 2012 -0400 Commit: CMake Topic Stage

Re: [cmake-developers] New OBJECT library feature

2012-03-19 Thread Eric Noulard
2012/3/19 Brad King brad.k...@kitware.com: Hi Folks, I've just pushed a new 'object-library' topic and merged to 'next' for testing.  David Cole and I have been working on it for a couple of weeks.  The following documentation added to the add_library command explains:

Re: [cmake-developers] New OBJECT library feature

2012-03-19 Thread Eric Noulard
2012/3/19 Brad King brad.k...@kitware.com: On 3/19/2012 1:56 PM, Eric Noulard wrote: That's a great feature. Thanks. Is there a feature that could guarantee the order of appearance of those objects / object library on the link line generated for add_executable ? Currently no order

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Eric Noulard
2012/3/19 Ajay Panyala a...@csc.lsu.edu: Please notice the linebreak after Foo, this causes the linker to fail, saying it can not find C:/Projects/Foo. I guess this is a cmake bug, but I need to find a workaround for this one. I am using cmake 2.8.2 on Windows 7. I have the exact same

Re: [CMake] cmake generates broken project file when path includes whitespace (in this case at least)

2012-03-19 Thread Eric Noulard
2012/3/19 Ajay Panyala a...@csc.lsu.edu: Did you try playing around with: file(TO_CMAKE_PATH path result) file(TO_NATIVE_PATH path result) I did try file(TO_NATIVE_PATH path result) at the time, but it was not useful in my case. The result is still a unix style path (maybe because I am

Re: [CMake] specifying complex test behavior

2012-03-18 Thread Eric Noulard
2012/3/18 Ajay Panyala a...@csc.lsu.edu: Hello, Is it possible to specify complex behavior for determining if a test was successful. For example, if we have add_test(Differ executable args) I want to specify that the test named Differ is successful if the output obtained by running the

[Cmake-commits] CMake branch, next, updated. v2.8.7-3199-ga36e092

2012-03-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a36e092d605afc283eb12a22abb7605577540b6e commit a36e092d605afc283eb12a22abb7605577540b6e Merge: f524357 4576f40 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun Mar 18 12:55:55 2012 -0400 Commit: CMake

[Cmake-commits] CMake branch, next, updated. v2.8.7-3201-g4f0ba8e

2012-03-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f0ba8e30a59d1e1bb2ca463e46a59e77aa202a3 commit 4f0ba8e30a59d1e1bb2ca463e46a59e77aa202a3 Merge: a36e092 805c1b2 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sun Mar 18 16:15:50 2012 -0400 Commit: CMake Topic Stage

[CMake] Fwd: CPack : RPM : architecture in the name

2012-03-16 Thread Eric Noulard
Retransmiyt without attached file which is blocked because it's too big -- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2012/3/16 Subject: Re: [CMake] CPack : RPM : architecture in the name To: a.neundorf-w...@gmx.net Cc : cmake@cmake.org, Barth

[cmake-developers] Fwd: Preferred variable retrieval within Cpack generator.

2012-03-12 Thread Eric Noulard
Forgot to cc the list. -- Forwarded message -- From: Eric Noulard eric.noul...@gmail.com Date: 2012/3/10 Subject: Re: [cmake-developers] Preferred variable retrieval within Cpack generator. To: Schwartz, Philip Marc (RIS-BCT) philip.schwa...@lexisnexis.com 2012/3/10 Schwartz

Re: [cmake-developers] Preferred variable retrieval within Cpack generator.

2012-03-12 Thread Eric Noulard
2012/3/12 Schwartz, Philip Marc (RIS-BCT) philip.schwa...@lexisnexis.com: Usually using GetOption means that we want to give user some control so that this CPACK_xxx value may be set in CMakeLists.txt, CPack project config file or CPack command line arg. GetOption is not used to pass value

Re: [CMake] Automatically add a revision number to the CPack installer name

2012-03-09 Thread Eric Noulard
2012/3/9 Glenn Ramsey g...@componic.co.nz: Thanks Eric, this lead me to a solution that works for me, where the revision number is updated at build time. For future reference here is what I did: [...] This is a nice and relatively easy solution. Thank you for sharing the final solution. --

[cmake-developers] CPack more flexible package name feature

2012-03-08 Thread Eric Noulard
Hi all, People interested in discussing a new flexible way to create package file name with CPack may follow/throw ideas on the concerned feature request on the tracker: http://www.cmake.org/Bug/view.php?id=12997 Philip has volunteered to work on this, I'll be reviewing/helping as much as I can.

[CMake] CPack more flexible package name feature

2012-03-08 Thread Eric Noulard
Hi all, People interested in discussing a new flexible way to create package file name with CPack may follow/throw ideas on the concerned feature request on the tracker: http://www.cmake.org/Bug/view.php?id=12997 Philip has volunteered to work on this, I'll be reviewing/helping as much as I can.

[CMake] Reviewing work on CPack documentation

2012-03-08 Thread Eric Noulard
Hi All, I have been working on enhancing CPack documentation. http://public.kitware.com/Bug/view.php?id=10067 Some fair amount of work has now reached 'master'. The two main features are: cpack --help-variable-* cpack --help-command-* command line options. As you will see: $ cpack

Re: [CMake] Automatically add a revision number to the CPack installer name

2012-03-08 Thread Eric Noulard
2012/3/8 Glenn Ramsey g...@componic.co.nz: Yes, you can use add_custom_command(...) to run a script to get the revision number, but I don't think you can use that to alter CPACK_PACKAGE_FILE_NAME, which has been set at cmake time. This true but how wouldn't a revision update trigger a CMake

Re: [cmake-developers] CPack: GetPrerequisites: cross-compiling from Linux to Windows

2012-03-06 Thread Eric Noulard
2012/3/6 Dominik Schmidt do...@tomahawk-player.org: Hey Eric, thanks for the quick reply! You are welcome. This is the reason my code in the patch is not in the WIN32 block above and I couldn't guess the gp_tool correctly. In order to be sure that nothing else is breaking you can try

Re: [CMake] [cmake-developers] CPack: GetPrerequisites: cross-compiling from Linux to Windows

2012-03-06 Thread Eric Noulard
2012/3/6 Dominik Schmidt do...@tomahawk-player.org: On Tue, Mar 6, 2012 at 4:05 PM, Eric Noulard eric.noul...@gmail.com wrote: So the next step would be to configure e.g. CPACK_CROSSPACKAGING and CPACK_WIN32 in my project config file  and try to make GetPrerequisites work with them

Re: [CMake] [cmake-developers] CPack: GetPrerequisites: cross-compiling from Linux to Windows

2012-03-06 Thread Eric Noulard
2012/3/6 David Cole david.c...@kitware.com: Just an FYI from the original author of GetPrerequisites here: cross-packaging was not even considered as we developed it. If it works at all, it's by happy accident. I always envisioned packaging as occurring on a host == target platform. Thus my

Re: [CMake] Impossible to link SDLmain and LibXml2

2012-03-06 Thread Eric Noulard
2012/3/6 julien@redaction-developpez.com: Hi, I have a problem with cmake not to compile but to link my .exe. I use SDL, OpenGL, FMOD, LibXml2 and a personal library. But when I try to compile my program LibXml2 and SDLmain are not include into the command line to link my .exe.

Re: [cmake-developers] Making GUI applications by default

2012-03-05 Thread Eric Noulard
2012/3/5 Stephen Kelly steve...@gmail.com: Clinton Stimpson wrote: I happened to read a little bit about CPack recently http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#Overview The recommendation is to not use MACOSX_BUNDLE when using cpack, I don't see that as a general

Re: [cmake-developers] Introducing: message(DEBUG)

2012-03-05 Thread Eric Noulard
2012/3/5 Rolf Eike Beer e...@sf-mail.de: On 3/3/2012 5:25 AM, Rolf Eike Beer wrote: +  else if (*i == DEBUG) +    { ... +    status = true; Rather than being a conditional version of STATUS I think full stack information is useful for debugging.  Add to the cmake::MessageType enumeration

Re: [cmake-developers] Introducing: message(DEBUG)

2012-03-05 Thread Eric Noulard
2012/3/5 Brad King brad.k...@kitware.com: On 3/5/2012 10:22 AM, Rolf Eike Beer wrote: Rather than being a conditional version of STATUS I think full stack information is useful for debugging.  Add to the cmake::MessageType enumeration a DEBUG value and teach cmake::IssueMessage to handle it.

Re: [cmake-developers] Build faild on Darwin? Don't know why?

2012-03-05 Thread Eric Noulard
2012/2/20 David Cole david.c...@kitware.com: The lesson here is: - ignore dashboard failures for the BundleGenerator test on Mac machines unless it is happening consistently build after build after build - also ignore any test failures that contain references to a failed run of hdiutil

Re: [CMake] MSVC_VERSION for VC11?

2012-03-05 Thread Eric Noulard
2012/3/5 Robert Dailey rcdai...@gmail.com: The docs aren't updated to reflect this so I just wanted to make sure. Patch for documentation may be accepted as well :-] I didn't have time to run through the source code (you Linux people and your fancy 'git grep' commands :P ) You Windows people

Re: [CMake] recognizing shell in use

2012-03-05 Thread Eric Noulard
2012/3/6 Ajay Panyala a...@csc.lsu.edu: Hello, Is there anyway that cmake could figure out the shell (bash,csh,..) that is being use when cmake is invoked on the command line ? May be you can check $ENV{SHELL} ? Why would you like to do that? Usually when using CMake one tries to avoid

[cmake-developers] No next-master merge this week?

2012-03-01 Thread Eric Noulard
Hi guys, There was no next-master merge this week? Is there any issue? -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [cmake-developers] Two pull requests

2012-03-01 Thread Eric Noulard
2012/3/1 Brad King brad.k...@kitware.com: On 3/1/2012 10:47 AM, Eric Noulard wrote: Last time I tried to enable KWStyle hooks following this: http://www.cmake.org/Wiki/Git/Hooks#Setup That page is generic for many of Kitware's projects and is not specific to CMake.  The same hooks are also

[CMake] New platform which did not deserve upstream: how to avoid warning?

2012-03-01 Thread Eric Noulard
Hi, I'm working on a research platform for which I wrote a toolchain file. Let's say this platform is called Blah how do I avoid the System is unknown to cmake, create: Platform/Blah to use this system, please send your config file to cm...@www.cmake.org so it can be added to cmake Besides

Re: [CMake] New platform which did not deserve upstream: how to avoid warning?

2012-03-01 Thread Eric Noulard
2012/3/1 Alexander Neundorf a.neundorf-w...@gmx.net: On Thursday 01 March 2012, Eric Noulard wrote: Hi, I'm working on a research platform for which  I wrote a toolchain file. Let's say this platform is called Blah how do I avoid the System is unknown to cmake, create: Platform/Blah

Re: [CMake] cmake snippets

2012-02-29 Thread Eric Noulard
2012/2/29 Andrea Crotti andrea.crott...@gmail.com: If anyone is interested, I'm collecting cmake-mode yasnippet snippets for Emacs: https://github.com/AndreaCrotti/yasnippet-snippets/tree/master/cmake-mode Is anyone else using it and has some nice snippets to share? I'm not using it

Re: [CMake] find_package(Subversion) fails when run by an automated Jenkins build

2012-02-29 Thread Eric Noulard
2012/2/29 Massaro Alessio alessio.mass...@mediobanca.co.uk: Hi there, Awkward behaviour: My CMakeLists.txt do a find_package(Subversion) Now, I have a Jenkins build server running under domain user XYZ The Jenkins CMake plugin tells me it’s trying to do the following:

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Eric Noulard
2012/2/28 Bill Hoffman bill.hoff...@kitware.com: The nightly binary for CMake is not building because of a test failure: http://open.cdash.org/testDetails.php?test=136868750build=2046004 CMake Error at CMakeLists.txt:52 (message):  Subversion_VERSION_SVN has unexpected content Call Stack

Re: [CMake] smarter shortcuts with NSIS

2012-02-28 Thread Eric Noulard
2012/2/28 Andrea Crotti andrea.crott...@gmail.com: Alright moving the include after did the trick, I get my code in the final nsi file, as below: set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS    PageEx directory      DirVar PythonDir    PageExEnd    CreateShortCut

Re: [CMake] smarter shortcuts with NSIS

2012-02-27 Thread Eric Noulard
2012/2/27 John Drescher dresche...@gmail.com: Ah yes you're right, last time I checked I didn't see them.. Anyway my extra_commands don't appear anywhere in the nsi file, is that normal? No i'ts not. Did you set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS ...) BEFORE include(CPack) ? The process is

Re: [CMake] Cpack Nsis not installing libraries

2012-02-27 Thread Eric Noulard
2012/2/27 Mauricio Klein mauricio.klein@gmail.com: Hello everybody! I'm creating a NSIS package using CPack to install my software. The code is compilled using Visual Studio 9, and the compilation + packing is working well. But, once i install the software using the generated NSIS

[Cmake-commits] CMake branch, next, updated. v2.8.7-2875-g4f279c6

2012-02-25 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4f279c603a4a1dca275d393286506f3054feadd2 commit 4f279c603a4a1dca275d393286506f3054feadd2 Merge: 6cda641 b3851f5 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 25 13:21:33 2012 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.7-2882-g733a122

2012-02-25 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=733a1221b1915df101eeb1a6f6d8dc0694f0b753 commit 733a1221b1915df101eeb1a6f6d8dc0694f0b753 Merge: da1e147 98d1583 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 25 17:29:12 2012 -0500 Commit: CMake Topic Stage

Re: [CMake] simplest possible NSIS package

2012-02-24 Thread Eric Noulard
2012/2/23 Andrea Crotti andrea.crott...@gmail.com: On 02/23/2012 04:48 PM, John Drescher wrote: Just to make you laugh I found the source of the problem. Apparently if you try to run an installer from a directory which is on a shared directory (with the virtualbox sharing) it just won't run

Re: [CMake] cpack issues

2012-02-21 Thread Eric Noulard
2012/2/21 Andrea Crotti andrea.crott...@gmail.com: I'm trying to finally create an installer for my project, with CPack and NSIS. The project is really really simple, I just need to copy over a directory somewhere. And I did something like: get_filename_component(userprofile

Re: [CMake] Building and executing tests when building updated libraries

2012-02-21 Thread Eric Noulard
2012/2/21 Robert Dailey rcdai...@gmail.com: I apologize if I sounded like your suggestion wasn't meaningful or useful. I would much rather prefer to do it how you suggest (running all tests), but this leaves me with some concerns: If the developer is running all unit tests on their local

Re: [CMake] more targets to run in parallel

2012-02-20 Thread Eric Noulard
2012/2/20 Andrea Crotti andrea.crott...@gmail.com: On 02/17/2012 03:35 PM, Andrea Crotti wrote: .. I can make the question much simpler, is it possible to generate targets dynamically with CMake? As far as I know you can generate targets at CMake-time but not at build-time. So from my point

Re: [CMake] more targets to run in parallel

2012-02-20 Thread Eric Noulard
2012/2/20 Andrea Crotti andrea.crott...@gmail.com: On 02/20/2012 03:15 PM, David Cole wrote: Use:   COMMAND ls -l Not:   COMMAND ls -l Yes thanks, I started using the because I noticed that sometimes they are needed. So suppose I want to split the options and the command, this:

Re: [cmake-developers] How to cleanly get rid of CMake specific properties?

2012-02-19 Thread Eric Noulard
2012/2/18 Eric Noulard eric.noul...@gmail.com: 2012/2/18 Alexander Neundorf neund...@kde.org: On Saturday 18 February 2012, Eric Noulard wrote: Hi all, I'm pursuing my quest for a better CPack doc. First set of modifications are in master:  cpack --help-command-xxx  cpack --help-variable

Re: [cmake-developers] ninja spaces in the path do not work on linux

2012-02-19 Thread Eric Noulard
Le 19 février 2012 15:19, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Thanks for this Peter.  I have just tried the new stage/ninja-generator branch with spaces in both the source and the binary directory and I got this result for the test suite:  The following tests FAILED: 83 -

Re: [cmake-developers] CPackComponents fails with spaces in paths

2012-02-19 Thread Eric Noulard
Le 19 février 2012 16:07, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Hi, The CPackComponents test fails on master where there is a space in the source tree. Here I think the trace: $ ctest -V -R 'CPackComponents$' ==

Re: [cmake-developers] CPackComponents fails with spaces in paths

2012-02-19 Thread Eric Noulard
Le 19 février 2012 17:20, Nicolas Desprès nicolas.desp...@gmail.com a écrit : 2012/2/19 Eric Noulard eric.noul...@gmail.com Le 19 février 2012 16:07, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Hi, The CPackComponents test fails on master where there is a space in the source

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-18 Thread Eric Noulard
2012/2/17 Eric Noulard eric.noul...@gmail.com: 2012/2/17 Alexander Neundorf neund...@kde.org: On Friday 17 February 2012, Eric Noulard wrote: 2012/2/17 Alexander Neundorf neund...@kde.org: On Thursday 16 February 2012, Brad King wrote: On 2/16/2012 1:24 PM, Alexander Neundorf wrote

[cmake-developers] How to cleanly get rid of CMake specific properties?

2012-02-18 Thread Eric Noulard
Hi all, I'm pursuing my quest for a better CPack doc. First set of modifications are in master: cpack --help-command-xxx cpack --help-variable-xxx works. However variables are somehow problematic because I get all the properties defined for CMake in the doc because variables are a special kind

[cmake-developers] Build faild on Darwin? Don't know why?

2012-02-18 Thread Eric Noulard
My recent commit on CPack-dynamicDocSection http://cmake.org/gitweb?p=cmake.git;a=shortlog;h=e175af3e74006e6f3a4fdaead20522b29034c45b may have broken this build http://open.cdash.org/testDetails.php?test=135708291build=2018382 the trouble is I cannot imagine why, since most of the modification

[Cmake-commits] CMake branch, next, updated. v2.8.7-2712-g48382d5

2012-02-18 Thread Eric Noulard
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=48382d577d3bda377183c781096b595dc3f260ad commit 48382d577d3bda377183c781096b595dc3f260ad Merge: 7339cab b8a274c Author: Eric Noulard eric.noul...@gmail.com AuthorDate

[Cmake-commits] CMake branch, next, updated. v2.8.7-2717-g629cca4

2012-02-18 Thread Eric Noulard
629cca4518cec1781bc9bbb3bd20ec0d74a62429 Merge: 48382d5 dee0a38 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 18 16:35:34 2012 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Feb 18 16:35:34 2012 -0500 Merge topic 'CPack-dynamicDocSection

[Cmake-commits] CMake branch, next, updated. v2.8.7-2719-ge175af3

2012-02-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e175af3e74006e6f3a4fdaead20522b29034c45b commit e175af3e74006e6f3a4fdaead20522b29034c45b Merge: 629cca4 cfac874 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 18 17:12:41 2012 -0500 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.7-2723-g263d9bd

2012-02-18 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=263d9bdd64621370b1da991d7e3f0a3334643099 commit 263d9bdd64621370b1da991d7e3f0a3334643099 Merge: b6012df 9a8103e Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 18 18:04:07 2012 -0500 Commit: CMake Topic Stage

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-17 Thread Eric Noulard
2012/2/17 Alexander Neundorf neund...@kde.org: On Thursday 16 February 2012, Brad King wrote: On 2/16/2012 1:24 PM, Alexander Neundorf wrote: Actually I expected I would prefer this over the fixed names, but now that I've done it and look at what Config.cmake.in file I have to write, I

Re: [cmake-developers] Making GUI applications by default

2012-02-17 Thread Eric Noulard
2012/2/17 Stephen Kelly steve...@gmail.com: Hi there, Also in this thread one of the discussion topics was making CMake default to creating Gui-ready executables. That is, setting the WIN32_EXECUTABLE or MACOSX_BUNDLE property on the executable target.

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-17 Thread Eric Noulard
2012/2/17 Alexander Neundorf neund...@kde.org: On Friday 17 February 2012, Eric Noulard wrote: 2012/2/17 Alexander Neundorf neund...@kde.org: On Thursday 16 February 2012, Brad King wrote: On 2/16/2012 1:24 PM, Alexander Neundorf wrote: Actually I expected I would prefer this over

Re: [cmake-developers] Modifying RPATH feature to run tests uninstalled

2012-02-17 Thread Eric Noulard
2012/2/17 Stephen Kelly steve...@gmail.com: Marcel Loose wrote: Hi Stephen, On Fri, 2012-02-17 at 12:06 +0100, Stephen Kelly wrote: -- 8 8 8 8 8 8 8 8 8 -- diff --git a/templates/tests/CMakeLists.txt b/templates/tests/CMakeLists.txt index

Re: [CMake] message could not create named generator CodeBlocks -MinGW Makefiles

2012-02-17 Thread Eric Noulard
2012/2/16 paspa...@noos.fr: Hello, I am trying to use CMake with codeblocks on windows, I created a simple project in the folder pCMake when I use the CMake interface I got the message: You mean graphical interface where you select the generator from a list? CMake Error: CMake was unable

Re: [CMake] message could not create named generator CodeBlocks -MinGW Makefiles

2012-02-17 Thread Eric Noulard
2012/2/17 paspa...@noos.fr: Hello Eric, thank you for your suggestions and support I am going to try to detail more what I did: - Install CMake on Program Files/CMake 2.8/bin - Install CodeBlocks with its windows installer at the same time he asks if we want the gcc compiler I said ok

Re: [CMake] Problem when globbing files and using that OUTPUT variable between ADD_CUSTOM_COMMAND commands

2012-02-17 Thread Eric Noulard
2012/2/17 NoRulez noru...@me.com: Hi, i have several ADD_CUSTOM_COMMAND commands with a specified target (let's say TARGET1). Between those commands I need to collect files and want to use those collected files in the next ADD_CUSTOM_COMMAND. How can i do that, because the following doesn't

Re: [CMake] Problem when globbing files and using that OUTPUT variable between ADD_CUSTOM_COMMAND commands

2012-02-17 Thread Eric Noulard
2012/2/17 noru...@me.com Is there no way to depend on an other custom command without using extra files? I don't think there is beside the fact that you can specify dependency to a target (including custom target) or files using OUTPUT and DEPENDS options. It would be nice if i can pass

Re: [CMake] Generating CMake scripts from Visual Studio solutions projects?

2012-02-17 Thread Eric Noulard
2012/2/17 Robert Dailey rcdai...@gmail.com: Is there a tool to do this? All I'm looking for is something to generate a first, basic pass of the script. Doesn't have to be pretty, I just want the majority of the work to be automated. Preprocessor defines, compiler flags, include directories,

Re: [CMake] message could not create named generator CodeBlocks -MinGW Makefiles

2012-02-17 Thread Eric Noulard
2012/2/17 paspa...@noos.fr: thank you  Eric, I try to do what you explained,I don't if I got it correctly I got the same message, may I miss something OK I see, this is not the way it works. 1) You write a CMakeLists.txt and associated C/C++ files in a folder 2) You create another

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-16 Thread Eric Noulard
2012/2/16 Brad King brad.k...@kitware.com: On 2/16/2012 3:29 PM, Eric Noulard wrote: What are you targeting? install-time i.e. make install usage? package install time prodduced with cpack usage? package install time NOT produced with cpack usage? a subset of this? The goal

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-16 Thread Eric Noulard
2012/2/16 Brad King brad.k...@kitware.com: On 2/16/2012 4:13 PM, David Cole wrote: On Thu, Feb 16, 2012 at 3:52 PM, Eric Noulard eric.noul...@gmail.com mailto:eric.noul...@gmail.com wrote:    I'm not convinced, yet I'll have to try with the example provided by Alex    by adding proper CPack

Re: [cmake-developers] Finding versioned libraries

2012-02-15 Thread Eric Noulard
2012/2/15 Rolf Eike Beer e...@sf-mail.de: Hi, as I found out today this construct doesn't work: find_library(MYLIB libfoo.so.2) This is because find_library will only try to access the whole path if the given name matches PREFIX.*SUFFIX, which is obviously not the case here. My simple

Re: [cmake-developers] Finding versioned libraries

2012-02-15 Thread Eric Noulard
2012/2/15 Brad King brad.k...@kitware.com: On 2/15/2012 9:18 AM, Eric Noulard wrote: If the user does not trust find_library for checking proper extension then:    1) He could modify/append CMAKE_FIND_LIBRARY_SUFFIXES        in this case:           list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES

Re: [CMake] External project source

2012-02-13 Thread Eric Noulard
2012/2/13 Nicholas Yue yue.nicho...@gmail.com: On 13/02/12 6:47 PM, Eric Noulard wrote: 2012/2/13 Nicholas Yueyue.nicho...@gmail.com: Hi,    There is an existing project I have access to that already have CMake configuration file but the way it is written requires alot of preprocessing

Re: [CMake] CPack ZIP generator: is there a way to avoid a root directory named ${CPACK_PACKAGE_FILE_NAME} in the zip?

2012-02-13 Thread Eric Noulard
2012/2/13 Massaro Alessio alessio.mass...@mediobanca.co.uk: Hi there The CPack ZIP generator seems to always put all “installed” files in a directory called ${CPACK_PACKAGE_FILE_NAME} So, if ${CPACK_PACKAGE_FILE_NAME}==”xyz”, the zip file will have one single “xyz” directory at the root,

Re: [CMake] External project source

2012-02-12 Thread Eric Noulard
2012/2/13 Nicholas Yue yue.nicho...@gmail.com: Hi,    There is an existing project I have access to that already have CMake configuration file but the way it is written requires alot of preprocessing steps (python, shell etc) before it is usable.    I wanted to investigate a cleaner (truer

Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux

2012-02-10 Thread Eric Noulard
2012/2/10 Stefan Fendt ste...@sfendt.de: Hi, I'm (still) quite unsure if this isn't an FAQ (or if not maybe should be one), but I have read through everything I could google-up regarding this topic and found nothing usable... I'm writing an x-platform-project which will be compiled using

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-10 Thread Eric Noulard
2012/2/10 aaron.mead...@thomsonreuters.com: I went through the slides; pretty good introduction-intermediate presentation. Thank you, and yes that was pretty much the target. We did dive into some more advanced feature on-demand during the presentation.  I'm forwarding it to all the teams I

Re: [CMake] CMake presentation/tutorial in Toulouse/France (8thFebruary)

2012-02-10 Thread Eric Noulard
2012/2/10 Yuri Timenkov y...@timenkov.ru: I did the same. And besides being a good CMake tutorial this is also awesome example how to make presentations with Latex :) Thanks for that too. Non mentionning that I did not have enough time to add the extra eye-candy animation using an impressive

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

2012-02-09 Thread Eric Noulard
2012/1/29 Eric Noulard eric.noul...@gmail.com: Hi All, Just a small advertisement. I will be giving a CMake presentation tutorial in Toulouse/France on February 8th, 2012: http://www.toulibre.org/evenements_a_venir À 20h00 Éric Noulard présentera CMake, outil de compilation et de test

Re: [cmake-developers] Topic branches in limbo on the stage?

2012-02-08 Thread Eric Noulard
David Cole david.c...@kitware.com: My unmerged commit: commit 6a74eb1d36b079fe6b566244a636ac1e43303aa6 Author: Eric NOULARD eric.noul...@gmail.com Date: Sun Feb 5 13:13:48 2012 +0100 3 days!! Just kidding but... Thanks -- that will make our weekly merge sessions easier to do when we don't

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: Hello Friends, How do I specify the default generator that CMAKE should use when invoked without the “-G” option? I am on Windows. I saw an old thread on this. But I am not sure if any support was added later on. Is there a REGISTRY

Re: [CMake] How to submit patches?

2012-02-07 Thread Eric Noulard
2012/2/7 Rolf Eike Beer e...@sf-mail.de: Am Montag, 6. Februar 2012, 19:12:27 schrieb Michael Pechner: Is this the correct forum? cmake-develop...@cmake.org would be the right place. Or open a bug report at http://cmake.org/Bug and attach it there. May be browse/search the bug tracker before

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: Hello Eric, We have a case where 2 teams are working on a common source tree. One team is using Visual Studio 9 2008 and the other Visual Studio 10 Our platform is Windows7 64-bit. We have a tool in our project that gets added as an

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: http://stackoverflow.com/questions/6430251/what-is-the-default-generator-for-cmake-in-windows In the stack overflow list, one guy mentions about [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\ Is this the same thing as the

Re: [CMake] Default Generator to use

2012-02-07 Thread Eric Noulard
2012/2/7 Sarnath K - ERS, HCLTech k_sarn...@hcl.com: I just looked at ActualConfigure() function. This is the same as the one mentioned in Stackoverflow URL. I think I will just create the correct entries in the registry and allow CMAKE to take the decision. I won't pass any -G at all.

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-07 Thread Eric Noulard
2012/2/8 Ralf Lange ralf.la...@longsoft.de: I test it and it works. CMake 2.8.7 fix the problem. Great. Ok fine, thanks. -- 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-developers] Improving CPack Documentation (and may be others as well)

2012-02-06 Thread Eric Noulard
2012/2/6 David Cole david.c...@kitware.com: On Sun, Feb 5, 2012 at 6:50 PM, Eric Noulard eric.noul...@gmail.com wrote: 2012/2/1 David Cole david.c...@kitware.com: There's no rush here. We won't be reviewing your changes again until next Tuesday at this point... Hi all, I did push the work

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Eric Noulard
2012/2/6 Ralf Lange ralf.la...@longsoft.de: Hi, I use CPACK to generate RPM and DEB packages for my software. The RPM package wirks fine but the DEB package can not create the neccessary directories in the usr/lib directory. When I create the direcories by hand, it works. Who can help to fix

Re: [CMake] CPACK generated DEB package can not create directories

2012-02-06 Thread Eric Noulard
2012/2/6 Ralf Lange ralf.la...@longsoft.de: The CMake version is 2.8.2. The system is Debian 6.0.4 (squeez). The kernel is 2.6.32-5-amd64. The Desktop is Gnome 2.30.2. Could you try, cmake 2.8.7 (may be this fix http://www.cmake.org/Bug/view.php?id=10325 could solve your problem) and/or run

[Cmake-commits] CMake branch, next, updated. v2.8.7-2478-g8236bb9

2012-02-06 Thread Eric Noulard
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8236bb990d1b08cd7933fd13d2e3c08519750742 commit 8236bb990d1b08cd7933fd13d2e3c08519750742 Merge: 1036a1f 5a948cd Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Mon Feb 6 11:23:10 2012 -0500 Commit: CMake Topic Stage

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

2012-02-05 Thread Eric Noulard
2012/2/1 David Cole david.c...@kitware.com: There's no rush here. We won't be reviewing your changes again until next Tuesday at this point... Hi all, I did push the work and the branch a little further yesterday. I didn't get any big red on the dashboard this time and I think it was worth

Re: [CMake] static cmake, ctest executables

2012-02-05 Thread Eric Noulard
2012/2/5 Ilias Miroslav miroslav.il...@umb.sk: Dear Eric, yes, I would like to have static cmake execs for usage in (sometimes unequipped) grid environment; I tried your buildup prescription, but got dynamic execs, ilias@194.160.135.47:~/bin/cmake_static/.cmake -DBUILD_SHARED_LIBS=OFF

Re: [CMake] static cmake, ctest executables

2012-02-04 Thread Eric Noulard
2012/2/4 Ilias Miroslav miroslav.il...@umb.sk: Greetings, Sirs, I would like to have cmake and ctest executables static (for usage in grid enviroment). I tried to compile the newest cmake-2.8.7.tar.gz version with ./configure --prefix=/home/ilias/bin/cmake_static LDFLAGS=--static

[Cmake-commits] CMake branch, next, updated. v2.8.7-2464-gc277957

2012-02-04 Thread Eric Noulard
c277957813c26ec1ee300b2d39062d39f4a7ecd8 Merge: 0f6f497 dce3f99 Author: Eric Noulard eric.noul...@gmail.com AuthorDate: Sat Feb 4 06:19:21 2012 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Sat Feb 4 06:19:21 2012 -0500 Merge topic 'ImproveCPackDoc-reloaded' into next

Re: [CMake] CPack / Debian install location

2012-02-03 Thread Eric Noulard
2012/2/3 Oliver kfsone Smith osm...@playnet.com: osmith@luciddev:~/pn/WW2/src$ cmake --version cmake version 2.8.2 I can't see to get make package to generate Debian packages that install any place but /usr/bin. (I actually want them in /playnet/ra/bin, /playnet/ra/lib and so on)

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