Re: [cmake-developers] generator expression in install RENAME

2019-10-31 Thread Nicolas Desprès
Done: https://gitlab.kitware.com/cmake/cmake/issues/19903 On Tue, Oct 29, 2019 at 4:30 PM Kyle Edwards wrote: > Please open an issue at https://gitlab.kitware.com/cmake/cmake/issues > to request support for this. > > Kyle > > On Tue, Oct 29, 2019 at 9:58 AM Nicolas Desprès &g

[cmake-developers] generator expression in install RENAME

2019-10-29 Thread Nicolas Desprès
Hi there, Generator expressions are allowed in the FILES/PROGRAMS and DESTINATION part of an install command. Would that be possible to enable generator expression in the RENAME part as well? The use-case is for the TARGET_FILE_BASE_NAME expression. Cheers, -- Nicolas Desprès -- Powered

Re: [cmake-developers] Toward a more deterministic ninja generator

2016-06-17 Thread Nicolas Desprès
On Thu, Jun 16, 2016 at 7:14 PM, Brad King <brad.k...@kitware.com> wrote: > On 06/14/2016 11:18 AM, Nicolas Desprès wrote: > > It makes the ninja generator more deterministic by sorting the > > build edge's inputs/outputs. It does not introduce any > >

[cmake-developers] Toward a more deterministic ninja generator

2016-06-14 Thread Nicolas Desprès
. This could help to fix issue #15968. Regards, -- Nicolas Desprès -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-05-17 Thread Nicolas Desprès
On Tue, May 17, 2016 at 4:23 PM, Brad King <brad.k...@kitware.com> wrote: > On 05/13/2016 07:19 PM, Nicolas Desprès wrote: > > Ok. See the new implementation > > Thanks. I've rebased your topic on 'master' after the style transition > commit and updated the style ac

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-05-13 Thread Nicolas Desprès
On Thu, May 12, 2016 at 10:07 PM, Brad King <brad.k...@kitware.com> wrote: > On 05/12/2016 02:16 PM, Nicolas Desprès wrote: > > All done. Thank you for taking a look. > > https://github.com/nicolasdespres/CMake/commits/ninja-output-path-prefix > > The RunCMake.Ninja

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-05-12 Thread Nicolas Desprès
On Thu, May 12, 2016 at 3:16 PM, Brad King <brad.k...@kitware.com> wrote: > On 05/12/2016 06:16 AM, Nicolas Desprès wrote: > > Brad has just sent a notification email about an upcoming feature freeze. > > Do you think we could have this feature merged before? > > I'll

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-05-12 Thread Nicolas Desprès
Hi Ben, Brad has just sent a notification email about an upcoming feature freeze. Do you think we could have this feature merged before? Regards, Nicolas On Sun, Mar 20, 2016 at 1:47 PM, Nicolas Desprès <nicolas.desp...@gmail.com> wrote: > > > On Wed, Mar 9, 2016 at 9:41

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-03-20 Thread Nicolas Desprès
On Wed, Mar 9, 2016 at 9:41 PM, Ben Boeckel <ben.boec...@kitware.com> wrote: > On Tue, Mar 08, 2016 at 12:36:31 +0100, Nicolas Desprès wrote: > > Did you have a chance to review my patches? > > So I looked at it today, and it looks good overall. A few niggles: >

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-03-08 Thread Nicolas Desprès
Ben, Did you have a chance to review my patches? Cheers, Nicolas On Sunday, February 14, 2016, Nicolas Desprès <nicolas.desp...@gmail.com> wrote: > Ben, > > I have pushed a complete version of the patch here: > https://github.com/nicolasdespres/CMake/commits/ninja-output-pat

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-02-14 Thread Nicolas Desprès
e: > On Fri, Jan 22, 2016 at 17:34:03 +0100, Nicolas Desprès wrote: > > I have pushed a first draft of the patch here: > > > > > https://github.com/nicolasdespres/CMake/commit/67a4faad47378c07c97a29dd229d6f9fa500763b > > > > I have tested with a small project and it

Re: [cmake-developers] ninja command line options not propagated to ninja invocation for superbuild projects

2016-01-28 Thread Nicolas Desprès
t; equivalent it may not be possible. > > Unfortunately, Ninja won't offer it: https://github.com/ninja-build/ninja/pull/1079 -- Nicolas Desprès -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers vario

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-01-22 Thread Nicolas Desprès
hould be called from _build instead of _build/sub. It would be great if you could point me some existing tests that could serve as a base to do the above. Cheers, Nicolas On Wed, Jan 6, 2016 at 7:46 PM, Nicolas Desprès <nicolas.desp...@gmail.com> wrote: > > > On Wed, Jan 6, 201

[cmake-developers] Using CMake generated ninja file as a subninja file

2016-01-06 Thread Nicolas Desprès
rules which was introduced by ninja 1.6. [3] I am willing to write the patch if you think there is a chance that it will be accepted. Best regards, [1] https://github.com/ninja-build/ninja/pull/1079 [2] https://github.com/ninja-build/ninja/pull/1078 [3] https://ninja-build.org/manual.html#ref_s

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-01-06 Thread Nicolas Desprès
On Wed, Jan 6, 2016 at 6:25 PM, Ben Boeckel <ben.boec...@kitware.com> wrote: > On Wed, Jan 06, 2016 at 11:14:32 +0100, Nicolas Desprès wrote: > > To enable this type of generation, the "top/" directory must be passed to > > CMake somehow. An environment vari

Re: [cmake-developers] Using CMake generated ninja file as a subninja file

2016-01-06 Thread Nicolas Desprès
On Wed, Jan 6, 2016 at 7:35 PM, Ben Boeckel <ben.boec...@kitware.com> wrote: > On Wed, Jan 06, 2016 at 19:26:11 +0100, Nicolas Desprès wrote: > > Is that variable already available or a name suggestion? I cannot find > any > > reference to it neither in the source

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-23 Thread Nicolas Desprès
? -- Nicolas Desprès -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-23 Thread Nicolas Desprès
suggestion will work too. I will think more about it and get back to you if I have another idea. Thanks for your time, -- Nicolas Desprès -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-21 Thread Nicolas Desprès
On Wed, May 21, 2014 at 8:06 PM, Matthew Woehlke mw_tr...@users.sourceforge.net wrote: On 2014-05-15 08:36, Ben Boeckel wrote: On Thu, May 15, 2014 at 12:45:27 +0200, Nicolas Desprès wrote: Nope. These variables are the cmake equivalent to the __LINE__ and __FILE__ C-pre-processor macro

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-21 Thread Nicolas Desprès
On Wed, May 21, 2014 at 9:31 PM, Matthew Woehlke mw_tr...@users.sourceforge.net wrote: On 2014-05-21 15:24, Nicolas Desprès wrote: On Wed, May 21, 2014 at 8:06 PM, Matthew Woehlke wrote: On 2014-05-15 08:36, Ben Boeckel wrote: This will also likely need a policy since there's no guarantee

[cmake-developers] What about #line like feature in cmake language?

2014-05-15 Thread Nicolas Desprès
and mention it here. I think that it is not a big change to CMake and that it should not overload the maintenance process. I hope it is not too late for such a proposal since the 5th candidate has just been released. Best regards, -- Nicolas Desprès -- Powered by www.kitware.com Please keep

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-15 Thread Nicolas Desprès
On Thu, May 15, 2014 at 10:15 AM, Eric Noulard eric.noul...@gmail.comwrote: 2014-05-15 10:08 GMT+02:00 Nicolas Desprès nicolas.desp...@gmail.com: Hi, I am planning to develop a python generator of CMakeLists.txt file for easier integration in an already existing tool. This approach

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-15 Thread Nicolas Desprès
in the main state and not inside a quoted or bracket argument. Thanks for the hints. I will be hard for me to work on it during the next weeks. It is just a plan I have. Do you think such a patch would be accepted after version 3 has been released? -- Nicolas Desprès -- Powered by www.kitware.com

Re: [cmake-developers] What about #line like feature in cmake language?

2014-05-15 Thread Nicolas Desprès
mentioned #line just because every programmer know it but I don't have any requirement on its name. -- Nicolas Desprès -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

Re: [cmake-developers] CMake 2.8.12-rc4 ready for testing!

2013-10-02 Thread Nicolas Desprès
this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Nicolas Desprès test.log Description: Binary data -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-06 Thread Nicolas Desprès
. They are for running CMake without building. -Brad -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-06 Thread Nicolas Desprès
On Tue, Aug 6, 2013 at 4:31 PM, Brad King brad.k...@kitware.com wrote: On 08/06/2013 09:40 AM, Nicolas Desprès wrote: I have force-pushed all the fixes you've asked for: Great, thanks! * I taught cmMakefile copy-ctor Good. * I re-write the test so that it is part of CMakeOnly sub

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-06 Thread Nicolas Desprès
On Tue, Aug 6, 2013 at 10:19 PM, Brad King brad.k...@kitware.com wrote: On 08/06/2013 01:30 PM, Brad King wrote: IMO it is not worth the effort to establish this test. I've applied a patch based on yours to implement the optimization and merged to 'next' for testing tonight:

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-05 Thread Nicolas Desprès
use cmake for my project otherwise. I can work full time on this patch until the end of this week if there is something to change. Cheers, -Nico On Mon, Jul 29, 2013 at 2:40 PM, Nicolas Desprès nicolas.desp...@gmail.comwrote: On Mon, Jul 29, 2013 at 2:25 PM, Stephen Kelly steve...@gmail.com

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-05 Thread Nicolas Desprès
On Mon, Aug 5, 2013 at 6:06 PM, Brad King brad.k...@kitware.com wrote: On 08/05/2013 11:28 AM, Nicolas Desprès wrote: I have just rebased my branch on top of the master and the test suite still pass. [snip] I really want to have this patch in the next release I can't promise to accept

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-08-05 Thread Nicolas Desprès
in France. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-29 Thread Nicolas Desprès
On Mon, Jul 29, 2013 at 12:57 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: It was fastest because it was not doing the right thing. I tried to patch it properly and the benchmark are the same whether we use the default comparison functor or mine. So I think you

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-29 Thread Nicolas Desprès
On Mon, Jul 29, 2013 at 2:09 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: On Mon, Jul 29, 2013 at 12:57 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: It was fastest because it was not doing the right thing. I tried to patch it properly

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-29 Thread Nicolas Desprès
On Mon, Jul 29, 2013 at 2:25 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: Also, I don't see why the custom comparison functor is needed at all. I removed it and sped up the test significantly. Can you explain? I had some failing tests because the previous

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-26 Thread Nicolas Desprès
On Wed, Jul 24, 2013 at 7:56 PM, Nicolas Desprès nicolas.desp...@gmail.comwrote: On Wed, Jul 24, 2013 at 12:18 PM, Stephen Kelly steve...@gmail.comwrote: Nicolas Desprès wrote: That's said we can optimize further as I mentioned in my comment ( https://github.com/nicolasdespres

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-26 Thread Nicolas Desprès
On Wed, Jul 24, 2013 at 10:48 AM, Nicolas Desprès nicolas.desp...@gmail.com wrote: On Tue, Jul 23, 2013 at 5:59 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: Hi Stephen, Did you have any chance to look at the code? I would love to see it integrated in the next

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-24 Thread Nicolas Desprès
On Tue, Jul 23, 2013 at 5:59 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: Hi Stephen, Did you have any chance to look at the code? I would love to see it integrated in the next release. That being said, there is no pressure. I'll have a look now. Thanks

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-24 Thread Nicolas Desprès
On Wed, Jul 24, 2013 at 11:29 AM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: +UpdateOutputToSourceMap(outputs, file); is missing a 'this-', as per the style. There's a couple of repeats of that. Done You seem to have missed this one. There are also other

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-24 Thread Nicolas Desprès
On Wed, Jul 24, 2013 at 12:18 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: That's said we can optimize further as I mentioned in my comment ( https://github.com/nicolasdespres/CMake/commit/59c871da8b00554812e93ba9c6e47d864424efb0#L0R2023 ). Do you have

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-23 Thread Nicolas Desprès
Hi Stephen, Did you have any chance to look at the code? I would love to see it integrated in the next release. That being said, there is no pressure. Thanks, -Nico On Tue, Jul 16, 2013 at 1:40 PM, Nicolas Desprès nicolas.desp...@gmail.comwrote: Hi Stephen, I have pushed more commits

Re: [cmake-developers] How to set environment variable for custom command.

2013-07-20 Thread Nicolas Desprès
On Fri, Jul 19, 2013 at 8:29 PM, Alan W. Irwin ir...@beluga.phys.uvic.cawrote: On 2013-07-19 12:35-0400 Matthew Woehlke wrote: On 2013-07-19 10:36, Nicolas Desprès wrote: In Unix shell we can do that: $ VAR=foo cmd in out This way the environment variable is only set in the environment

Re: [cmake-developers] How to set environment variable for custom command.

2013-07-19 Thread Nicolas Desprès
Sorry wrong ML :(. On Fri, Jul 19, 2013 at 4:36 PM, Nicolas Desprès nicolas.desp...@gmail.comwrote: Hi, In Unix shell we can do that: $ VAR=foo cmd in out This way the environment variable is only set in the environment of the process of the command and not the in current shell like when

[cmake-developers] How to set environment variable for custom command.

2013-07-19 Thread Nicolas Desprès
was looking for something like that: add_custom_command( OUTPUT out COMMAND cmd in out DEPENDS in ENVIRONMENT VAR foo ) Any idea? Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-16 Thread Nicolas Desprès
/cmMakefile.cxx#L2023-L2036 What do you think? Have a good day, Nico On Mon, Jul 15, 2013 at 5:33 PM, Nicolas Desprès nicolas.desp...@gmail.comwrote: On Mon, Jul 15, 2013 at 1:51 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: Yes that one or cmMakefile

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-15 Thread Nicolas Desprès
On Sat, Jul 13, 2013 at 10:21 AM, Nicolas Desprès nicolas.desp...@gmail.com wrote: On Fri, Jul 12, 2013 at 11:35 PM, Stephen Kelly steve...@gmail.comwrote: Nicolas Desprès wrote: I have pushed my work so far on my github clone of CMake. https://github.com/nicolasdespres/CMake/tree

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-15 Thread Nicolas Desprès
On Mon, Jul 15, 2013 at 11:53 AM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: I have pushed my work so far on my github clone of CMake. https://github.com/nicolasdespres/CMake/tree/topic/large-deps-perf Thanks. The bottleneck seems

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-15 Thread Nicolas Desprès
On Mon, Jul 15, 2013 at 12:45 PM, Nicolas Desprès nicolas.desp...@gmail.com wrote: On Mon, Jul 15, 2013 at 11:53 AM, Stephen Kelly steve...@gmail.comwrote: Nicolas Desprès wrote: I have pushed my work so far on my github clone of CMake. https://github.com/nicolasdespres/CMake/tree

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-15 Thread Nicolas Desprès
On Mon, Jul 15, 2013 at 1:51 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: Yes that one or cmMakefile::GetSourceFileWithOutput(char const*). I can send you a gzipped of my callgrind data off-list if you want (it weights 534K). If we had a map associating each

Re: [cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-13 Thread Nicolas Desprès
On Fri, Jul 12, 2013 at 11:35 PM, Stephen Kelly steve...@gmail.com wrote: Nicolas Desprès wrote: I have pushed my work so far on my github clone of CMake. https://github.com/nicolasdespres/CMake/tree/topic/large-deps-perf Something must have gone wrong with the push :) Oups, sorry

[cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

2013-07-12 Thread Nicolas Desprès
${CMake_BINARY_DIR}/Tests/${_test_name}) unset(_test_name) I have pushed my work so far on my github clone of CMake. https://github.com/nicolasdespres/CMake/tree/topic/large-deps-perf I am willing to do the work on this topic but I wanted to have your insight first. Thanks, -- Nicolas

Re: [cmake-developers] [CMake] please review: fix UseJava.cmake to support dependent jars

2013-03-17 Thread Nicolas Desprès
On Sun, Mar 17, 2013 at 10:49 AM, Nicolas Desprès nicolas.desp...@gmail.com wrote: On Thu, Mar 14, 2013 at 3:57 PM, Brad King brad.k...@kitware.com wrote: On 03/14/2013 10:47 AM, Matthew Woehlke wrote: This is now pushed to stage/fix-java-jar-depends. If someone knowledgeable could have

Re: [cmake-developers] CTEST_USE_LAUNCHERS and Ninja

2012-10-14 Thread Nicolas Desprès
to compare the output of the Makefile generator test related to this feature and the Ninja generator one. If there is no test maybe a good start would be to add one. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [cmake-developers] Mantis limitation

2012-08-27 Thread Nicolas Desprès
/cmake-developers -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe

Re: [cmake-developers] [CMake] Ninja: files per second

2012-07-28 Thread Nicolas Desprès
On Sat, Jul 28, 2012 at 11:43 AM, Shlomi Fish shlo...@shlomifish.orgwrote: [...] I was now able to get the Freecell Solver test suite to pass with ninja test, but there is one problem: when I run ninja -vv test, then ninja displays the line [1/1] cd

Re: [cmake-developers] Memory leak introduced with recent Mac+Ninja changes

2012-07-21 Thread Nicolas Desprès
...@kitware.com wrote: cmMakefileTargetGenerator leaks its OSXBundleGenerator -- please delete it in the destructor... Search for are definitely lost on this page: http://open.cdash.org/viewDynamicAnalysisFile.php?id=2784730 Thanks, David -- Nicolas Desprès -- Powered by www.kitware.com Visit

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-18 Thread Nicolas Desprès
On Tue, Jul 17, 2012 at 11:39 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 7/17/2012 1:43 PM, Peter Kümmel wrote: On 17.07.2012 19:32, Bill Hoffman wrote: On 7/17/2012 1:21 PM, Peter Kümmel wrote: OK, maybe it is simpler to add a the functions to cmNinjaTargetGenerator which

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-18 Thread Nicolas Desprès
On Wed, Jul 18, 2012 at 12:10 PM, Peter Kümmel syntheti...@gmx.net wrote: On 18.07.2012 11:58, Nicolas Desprès wrote: On Tue, Jul 17, 2012 at 11:39 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: On 7/17/2012 1:43 PM, Peter Kümmel wrote: On 17.07.2012 19:32, Bill Hoffman wrote: On 7/17

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-17 Thread Nicolas Desprès
On Tue, Jul 17, 2012 at 7:01 PM, Peter Kümmel syntheti...@gmx.net wrote: On 17.07.2012 15:39, Nicolas Desprès wrote: On Tue, Jul 17, 2012 at 3:29 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: On 7/17/2012 8:10 AM, Peter Kümmel wrote: On 17.07.2012 13:45, David Cole wrote: Peter, can

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-17 Thread Nicolas Desprès
On Tue, Jul 17, 2012 at 7:21 PM, Peter Kümmel syntheti...@gmx.net wrote: On 17.07.2012 19:11, Nicolas Desprès wrote: I don't like the friend keyword either but I try to follow the current architecture of CMake. Yes, I know. In cmLocalUnixMakefileGenerator you can see that: friend

Re: [cmake-developers] Why not disable the Unix Makefiles generator for Darwin?

2012-07-14 Thread Nicolas Desprès
/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-07 Thread Nicolas Desprès
On Fri, Jul 6, 2012 at 9:56 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 7/6/2012 12:45 PM, Nicolas Desprčs wrote: Both work. Generally I use helper class with language not supporting multiple inheritance but if you prefer not to use it that's not a problem. I'll do the patch. Thanks

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-07 Thread Nicolas Desprès
On Sat, Jul 7, 2012 at 9:02 PM, Claus Klein claus.kl...@arcormail.de wrote: On 07.07.2012, at 20:54, Nicolas Desprès wrote: I have pushed the re-factor patch. Let me know what do you think. I have tested on Linux and MacOSX with the Makefile and Ninja generator and both work fine. Which OS

Re: [cmake-developers] cmake selftest use different compiler and binutils as configured on Darwin

2012-07-07 Thread Nicolas Desprès
://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Nicolas Desprès -- Powered

[cmake-developers] Ninja passes all tests on OS X

2012-07-06 Thread Nicolas Desprès
Hi, I finally found the time to fix the Ninja generator on OS X. Mainly I have fixed ExportImport and Qt4Deploy. I based my work on jkp's work (https://github.com/jkp/CMake/commits/jkp/ninja-generator). Although there are other patches in this branch, I just included commits fixing tests. We

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-06 Thread Nicolas Desprès
I forgot to say that most of the code is duplicated from the Makefile generator. I have left some todo but this code will need to be factored sooner or later. On Fri, Jul 6, 2012 at 12:54 PM, Nicolas Desprès nicolas.desp...@gmail.com wrote: Hi, I finally found the time to fix the Ninja

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-06 Thread Nicolas Desprès
-factor it sooner (not later). This is great, thank you very much! But we should definitely re-factor it before merging it to 'master' Thx, David On Fri, Jul 6, 2012 at 7:05 AM, Nicolas Desprès nicolas.desp...@gmail.com wrote: I forgot to say that most of the code is duplicated from

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-06 Thread Nicolas Desprès
On Fri, Jul 6, 2012 at 1:29 PM, Peter Kümmel syntheti...@gmx.net wrote: On 06.07.2012 12:54, Nicolas Desprès wrote: Hi, I finally found the time to fix the Ninja generator on OS X. Mainly I have fixed ExportImport and Qt4Deploy. I based my work on jkp's work (https://github.com/jkp/CMake

Re: [cmake-developers] Ninja passes all tests on OS X

2012-07-06 Thread Nicolas Desprès
On Fri, Jul 6, 2012 at 3:52 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 7/6/2012 7:33 AM, Nicolas Desprès wrote: I agree. Any idea how you would like to re-factor it? I am thinking about using multiple inheritance by introducing a cmOSXBundleGenerator class with CreateFramework

Re: [cmake-developers] Github pull request for UseJava

2012-05-25 Thread Nicolas Desprès
, Please take a look at this request:  https://github.com/Kitware/CMake/pull/9 You can fetch the branch like this:  $ git fetch git://github.com/viandfraich/CMake.git add_executable_jar-in-UseJava  $ git checkout -b add_executable_jar-in-UseJava 717f1586 Thanks, -Brad -- Nicolas

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-05-04 Thread Nicolas Desprès
On Thu, Apr 19, 2012 at 5:11 PM, Nicolas Desprès nicolas.desp...@gmail.com wrote: 2012/4/5 Nicolas Desprès nicolas.desp...@gmail.com: On Thu, Apr 5, 2012 at 9:44 PM, David Cole david.c...@kitware.com wrote: [...] It would be very simple to add a clean target that simply executes ninja -t

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

2012-05-01 Thread Nicolas Desprès
has a better solution? Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

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

2012-05-01 Thread Nicolas Desprès
the it is not transfered to the test project. Is there a robust way to tell cmake where is installed PackageMaker if it is not installed in one of the searched paths? Thanks, Nico 2012/5/1 Nicolas Desprès nicolas.desp...@gmail.com: Hi, On MacOXS I used to have the SimpleInstall test failing

Re: [cmake-developers] ninja bug

2012-04-23 Thread Nicolas Desprès
to implement this quickly. Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

Re: [cmake-developers] ninja bug

2012-04-19 Thread Nicolas Desprès
the work-around required for all compilers versions. Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-04-19 Thread Nicolas Desprès
2012/4/5 Nicolas Desprès nicolas.desp...@gmail.com: On Thu, Apr 5, 2012 at 9:44 PM, David Cole david.c...@kitware.com wrote: [...] It would be very simple to add a clean target that simply executes ninja -t clean as a custom command, if the ninja generator guys think that's a reasonable idea

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-04-05 Thread Nicolas Desprès
2012/4/4 Alexander Neundorf neund...@kde.org: On Wednesday 04 April 2012, Nicolas Desprès wrote: On Tue, Apr 3, 2012 at 10:03 PM, Alexander Neundorf neund...@kde.org wrote: On Tuesday 03 April 2012, Alexander Neundorf wrote: On Tuesday 03 April 2012, Alexander Neundorf wrote: Hi

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-04-05 Thread Nicolas Desprès
2012/4/5 Alexander Neundorf neund...@kde.org: On Thursday 05 April 2012, Nicolas Desprès wrote: 2012/4/4 Alexander Neundorf neund...@kde.org: On Wednesday 04 April 2012, Nicolas Desprès wrote: On Tue, Apr 3, 2012 at 10:03 PM, Alexander Neundorf neund...@kde.org wrote: On Tuesday 03

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-04-05 Thread Nicolas Desprès
On Thu, Apr 5, 2012 at 9:44 PM, David Cole david.c...@kitware.com wrote: 2012/4/5 Alexander Neundorf neund...@kde.org: On Thursday 05 April 2012, Nicolas Desprès wrote: 2012/4/4 Alexander Neundorf neund...@kde.org: On Wednesday 04 April 2012, Nicolas Desprès wrote: On Tue, Apr 3, 2012 at 10

Re: [cmake-developers] Supported targets with the ninja generator ?

2012-04-03 Thread Nicolas Desprès
On Tue, Apr 3, 2012 at 10:03 PM, Alexander Neundorf neund...@kde.org wrote: On Tuesday 03 April 2012, Alexander Neundorf wrote: On Tuesday 03 April 2012, Alexander Neundorf wrote: Hi, which additional targets are supported with the ninja generator ? The help target does not seem to be

Re: [cmake-developers] ninja status

2012-04-03 Thread Nicolas Desprès
On Tue, Apr 3, 2012 at 6:48 PM, Bill Hoffman bill.hoff...@kitware.com wrote: Hi,  I just wanted to get an update on the ninja generator status. Right now all linux tests are passing, and that platform seems to be done. Hi Bill, Thanks for the status. Windows:  - No file level depend

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-26 Thread Nicolas Desprès
, Kitware, Inc. -- Mathematicians are tools for turning coffee grounds into formulas., Paul Erdos 2012/3/14 Nicolas Desprès nicolas.desp...@gmail.com Try with this branch: https://github.com/polrop/ninja/tree/depfile-parser-accept-tilde I think that should fix your problem. On Wed, Mar 14, 2012

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Nicolas Desprès
as an output using the RERUN_CMAKE rule. I rather think it is a bug in ninja of the restat implementation. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

Re: [cmake-developers] new ninja rebuild too much issue

2012-03-14 Thread Nicolas Desprès
to do. $ ../_build/bin/cmake -DCMAKE_ENABLE_NINJA=OFF . $ ninja [...compile 200 outputs...] I just check the .ninja_log and Peter is right. Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [cmake-developers] Ninja Issues with dependencies

2012-03-14 Thread Nicolas Desprès
://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [cmake-developers] Ninja windows

2012-03-09 Thread Nicolas Desprès
, while keeping the ability to test (on the dashboard and otherwise). I have no idea what the timeframe for the Windows and Mac people is, but I really would like the Ninja generator to be available on non-Windows/Mac platforms in 2.8.8. Sounds fair enough. -- Nicolas Desprès -- Powered

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

2012-02-19 Thread Nicolas Desprès
2012/2/19 Eric Noulard eric.noul...@gmail.com 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

[cmake-developers] CPackComponents fails with spaces in paths

2012-02-19 Thread Nicolas Desprès
passed, 1 tests failed out of 1 Total Test time (real) = 4.31 sec The following tests FAILED: 89 - CPackComponents (Failed) Errors while running CTest == So I think the culprit is RPM. Cheers, -- Nicolas Desprès -- Powered

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

2012-02-19 Thread Nicolas Desprès
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 tree. Here I think the trace: $ ctest -V -R 'CPackComponents

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

2012-02-19 Thread Nicolas Desprès
2012/2/19 Eric Noulard eric.noul...@gmail.com 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

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

2012-02-17 Thread Nicolas Desprès
in the generator which do not escape the space properly using the $ character as supported by Ninja. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

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

2012-02-17 Thread Nicolas Desprès
2012/2/17 Bill Hoffman bill.hoff...@kitware.com On 2/17/2012 12:26 PM, Nicolas Desprès wrote: I think it is a bug in the generator which do not escape the space properly using the $ character as supported by Ninja. -- Nicolas Desprès Will you be able to fix that? I think yes

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

2012-02-17 Thread Nicolas Desprès
2012/2/17 Nicolas Desprès nicolas.desp...@gmail.com 2012/2/17 Bill Hoffman bill.hoff...@kitware.com On 2/17/2012 3:16 PM, Nicolas Desprčs wrote: I think yes. It is just a matter of time. My weekend is already overloaded. I'll try to do it. If Peter or someone else in the community comes

Re: [cmake-developers] Ninja help

2012-02-15 Thread Nicolas Desprès
2012/2/15 Bill Hoffman bill.hoff...@kitware.com On 2/15/2012 11:20 AM, Nicolas Desprès wrote: For compiling and testing you can find all the information in the HACKING file. Well, this is ugly: --HACKING Windows development on Windows: - install mingw, msys, and python

Re: [cmake-developers] Ninja help

2012-02-15 Thread Nicolas Desprès
On 2/15/2012 11:20 AM, Nicolas Desprès wrote: For compiling and testing you can find all the information in the HACKING file. Well, this is ugly: --HACKING Windows development on Windows: - install mingw, msys, and python - in the mingw shell, put Python in your

Re: [cmake-developers] Ninja help

2012-02-15 Thread Nicolas Desprès
as it is on the dashboard. Few bugs are remaining on MacOSX and Ninja is building on Windows. I don't known how many bugs in cmake's test suite fails on Windows yet. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [cmake-developers] Is KWStyle still maintained?

2012-02-06 Thread Nicolas Desprès
2012/2/5 David Cole david.c...@kitware.com: 2012/2/5 Nicolas Desprès nicolas.desp...@gmail.com: Hi, I have just try to enable KWStyle check in CMake on Mac OS X 10.7.3 but it crashes. With the version from the website: http://public.kitware.com/KWStyle/download/KWStyle-snapshot-070515.zip

Re: [cmake-developers] Is KWStyle still maintained?

2012-02-06 Thread Nicolas Desprès
2012/2/6 David Cole david.c...@kitware.com: 2012/2/6 Nicolas Desprès nicolas.desp...@gmail.com: 2012/2/5 David Cole david.c...@kitware.com: 2012/2/5 Nicolas Desprès nicolas.desp...@gmail.com: Hi, I have just try to enable KWStyle check in CMake on Mac OS X 10.7.3 but it crashes

Re: [cmake-developers] Some minor look and feel fixes in ccmake.

2012-02-06 Thread Nicolas Desprès
2012/2/6 Brad King brad.k...@kitware.com: On 2/5/2012 11:01 AM, Nicolas Desprès wrote: I have pushed some minor look'n feel fixes for ccmake in a branch on my github fork: https://github.com/polrop/CMake/commits/fix-ccmake-clear Please consider to merge it. Applied, thanks.  I tweaked

Re: [cmake-developers] Ninja generator on Windows

2012-02-02 Thread Nicolas Desprès
or file like link.txt you lose the power of the special $in and $out variables or variable in general that are expanded in the rule. -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [cmake-developers] Ninja generator on Windows

2012-02-02 Thread Nicolas Desprès
attach only one rule (e.g. one command) and not several like in make. They have been several discussion thread for adding basic shell features like in Ninja: - redirection - environment variable - working directory - chainning There is no patch proposal yet AFAIK. Cheers, -- Nicolas Desprès

  1   2   >