Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-18 Thread Nicolas Desprès
ort in CMake. I had a quick look at the source code in cmake and found those files: Source/cmDependsJava.cxx Source/cmDependsJava.h Source/cmDependsJavaLexer.cxx Source/cmDependsJavaLexer.h Source/cmDependsJavaLexer.in.l Source/cmDependsJavaParser.cxx Source/cmDependsJavaParser.y Source/cmDependsJav

[CMake] Ninja: a small build system closest in spirit to Make

2011-02-10 Thread Nicolas Desprès
ready using CMake, such as boost or KDE. Regards, -- 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:

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-10 Thread Nicolas Desprès
e a new generator? > I've never written one. I have just contributing very few patches to the CMake project so I don't know its internal architecture very well. I also have to learn Ninja syntax. I would say 15 days of work maybe. I don't really know. Cheers, Nico > 2011

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-13 Thread Nicolas Desprès
2011/2/12 Matt Williams : > 2011/2/10 Nicolas Desprès : >> Hi everyone, >> >> Probably some of you are already aware of this new open-source project >> coming from a Chrome developer at Google. >> >> Its goal was to improve the build system performance of t

[CMake] Gyp VS CMake

2011-02-17 Thread Nicolas Desprès
ojects started instead of contributing. Regards, -- 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:

Re: [CMake] Gyp VS CMake

2011-02-17 Thread Nicolas Desprès
On Thu, Feb 17, 2011 at 12:56 PM, Eric Noulard wrote: > 2011/2/17 Felipe Ferreri Tonello : >> On Thursday 17 February 2011 06:15:34 Nicolas Desprès wrote: >>> >>> That being said, I feel sad to see other CMake's like projects started >>> instead of cont

Re: [CMake] Gyp VS CMake

2011-02-17 Thread Nicolas Desprès
rojects > that do not require CMake to build. Yes. As mentioned in point 5. -- 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-t

Re: [CMake] Gyp VS CMake

2011-02-17 Thread Nicolas Desprès
On Thu, Feb 17, 2011 at 4:23 PM, Bill Hoffman wrote: > On 2/17/2011 8:29 AM, Nicolas Desprès wrote: >> >> 2011/2/17 John Drescher: >>>> >>>> But we are going off topic. The main point in my post was to trigger >>>> discussion about how we could

Re: [CMake] Gyp VS CMake

2011-02-22 Thread Nicolas Desprès
round #if 0 bug in cmake dependency scanner http://www.vtk.org/Wiki/CMake_FAQ#CMake_dependency_scanner 2/ Some project generate code and may have a higher level point of view regarding files dependencies and could generate dependency files faster. This may also helps to add support for build-

[CMake] Unmet dependency when builddir is a symlink out of srcdir

2011-02-24 Thread Nicolas Desprès
d I have the same result. I thought CMake was generating absolute path whenever possible. Maybe it should resolve symlinks as well. I don't know. Shall I create a bug report? Regards, -- Nicolas Desprès ___ Powered by www.kitware.com Vi

Re: [CMake] Unmet dependency when builddir is a symlink out of srcdir

2011-02-24 Thread Nicolas Desprès
executable helloworld [100%] Built target helloworld Cheers, -Nico 2011/2/24 Nicolas Desprès : > Hi there, > > I am having a problem with cmake-2.8.4 for Linux with the Makefile > generator. I have my srcdir in an encrypted partition and my builddir > in a normal partition. For convenienc

[CMake] How to know if symlink is supported

2011-03-04 Thread Nicolas Desprès
Hi everyone, Is there a better way to check whether the platform support symlink than this one: if(WIN32) if(CYGWIN) set(HAVE_SYMLINK TRUE) else(CYGWIN) set(HAVE_SYMLINK FALSE) endif(CYGWIN) else(WIN32) set(HAVE_SYMLINK TRUE) endif(WIN32) Regards, -- Nicolas Desprès

Re: [CMake] Unmet dependency when builddir is a symlink out of srcdir

2011-03-08 Thread Nicolas Desprès
I have created an issue in the bug tracker: http://public.kitware.com/Bug/view.php?id=11940 -Nico 2011/2/24 Nicolas Desprès : > I have checked by calling cmake from the "real" builddir (not the > symlink) and it works fine: > > $ pwd > /home/despre_n/build/test/hellowor

[CMake] Compiling clang with cmake

2011-03-16 Thread Nicolas Desprès
issues. My version of clang: clang version 2.8 (branches/release_28) Target: i386-pc-linux-gnu Thread model: posix Installed with apt-get on an Ubuntu 10.10. Cheers, -- Nicolas Desprès ___ Powered by www.kitware.com Visit other Kitware open-source proj

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-03-23 Thread Nicolas Desprès
be/unsubscribe: >>     >> http://www.cmake.org/mailman/listinfo/cmake >>     > >>     > >>     > >>     > -- >>     > Direct: 1-518-836-2174 >>     > Ext: 304 >>     > >>     > __

Re: [CMake] CMake make test feature?

2011-03-31 Thread Nicolas Desprès
've resorted to > invoking ctest with -j8 which works fine.  Any way to normalize the behavior > so that builds and tests behave the same with respect to the -j option? AFAIK, you can't. But I read on this ML that you can do: make test ARGS=

Re: [CMake] Addition to FindGit

2011-06-05 Thread Nicolas Desprès
anVCFjwOrPUfLXERRN9ELFDJjo7NTnOWQ3VFyr8rnY9TaAqnw+2mMftUhUexSFU= > =n2I9 > -END PGP SIGNATURE- > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.

Re: [CMake] ccmake options organization

2011-06-10 Thread Nicolas Desprès
keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Nicolas Desprès ___ Powered by www.kitware.com V

Re: [CMake] ccmake options organization

2011-06-16 Thread Nicolas Desprès
On Mon, Jun 13, 2011 at 6:23 PM, Bill Hoffman wrote: > On 6/13/2011 11:02 AM, Szilárd Páll wrote: >> >> I would also very much like to see some form of grouping to be >> possible in ccmake. Right now, the only way to avoid clutter is to >> mark the large majority of the variables as advanced and k

Re: [CMake] how to specify gcc options in CMake?

2011-07-11 Thread Nicolas Desprès
Make_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Nicolas Desprès ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensou

Re: [CMake] CTestScript for all available git branches/tags

2011-11-29 Thread 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/

Re: [CMake] How to "install" then "test"?

2011-12-30 Thread Nicolas Desprès
and then run various tests? Maybe someone has ideas... > Are you asking for "distcheck" feature like with the autotools? Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] CMake + Ninja

2012-01-22 Thread Nicolas Desprès
a starting point, something could be done with some hours I can > devote to that task. I mailed Peter Collingbourne some weeks ago but > received no response. Mainly remove all shell related constructs like && and redirection. Those topics has been discussed both on cmake/cmake-dev ML and nin

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread 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

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread Nicolas Desprès
2012/1/30 Eric Noulard : > Le 30 janvier 2012 19:18, Nicolas Desprès a écrit > : >> On Sat, Jan 28, 2012 at 5:36 PM, g...@novadsp.com wrote: >>> Is it possible to get CMake to process/search for an alternative default >>> filename to CMakeLists.txt? >> &

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Nicolas Desprès
On Tue, Jan 31, 2012 at 2:23 PM, Brad King wrote: > On 1/28/2012 11:36 AM, g...@novadsp.com wrote: >> >> Is it possible to get CMake to process/search for an alternative > >> default filename to CMakeLists.txt? > > Not currently.  We're not fundamentally opposed to the idea, but it may > be tricky

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Nicolas Desprès
On Tue, Jan 31, 2012 at 5:04 PM, Bill Hoffman wrote: > On 1/31/2012 10:55 AM, Nicolas Desprès wrote: > >> >> Brad, >> >> All these considerations are important but maybe we could just do >> first the easy path which is: add a -f option which change the defa

Re: [CMake] Making a variable a dependency...

2012-02-07 Thread Nicolas Desprès
n.h" header. I know I did not really answer your question but this solution is good enough and does not require any tricks. Also I don't think it worth running cmake each time make is called. Regards, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source pro

Re: [CMake] [Java] - Adding manifest information to a jar file

2012-02-07 Thread Nicolas Desprès
; provide an optional manifest file. If provided, the later syntax should >> be used for calling the 'jar' tool. >> >> Will there be progress towards supporting manifest information anytime >> soon within cmake? > > Open a feature request in the bugtracker. >

Re: [CMake] [Java] - Adding manifest information to a jar file

2012-02-07 Thread Nicolas Desprès
2012/2/7 David Cole : [...] > > The proposed commits (3 of them, right?) at > https://github.com/polrop/CMake/commits/java-executable-jar look > reasonable to me. Yes the three of them. [...] -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source proje

Re: [CMake] Ninja + CMake on a dashboard?

2012-02-15 Thread Nicolas Desprès
n Ubuntu box and maybe a OS X 10.7 machine, depending on what is required. What do I have to setup? Is the machine required to be up and running all the time? Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/openso

Re: [CMake] Ninja + CMake on a dashboard?

2012-02-15 Thread Nicolas Desprès
On Wed, Feb 15, 2012 at 4:45 PM, Bill Hoffman wrote: > On 2/15/2012 10:27 AM, Nicolas Desprès wrote: > = > >> I may have an Ubuntu box and maybe a OS X 10.7 machine, depending on >> what is required. >> >> What do I have to setup? >> Is the machine req

Re: [CMake] Ninja + CMake on a dashboard?

2012-02-15 Thread Nicolas Desprès
On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman wrote: > On 2/15/2012 11:04 AM, Peter Collingbourne wrote: > >> On Wed, Feb 15, 2012 at 10:45:04AM -0500, Bill Hoffman wrote: >> > > I note that Kitware has machines set up to run dashboards for the >> Makefile generator. Is there any reason why some

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-06 Thread Nicolas Desprès
2012/3/6 David Cole : > 2012/2/15 David Cole : >> 2012/2/15 Nicolas Desprès >>> >>> >>> >>> On Wed, Feb 15, 2012 at 6:09 PM, Bill Hoffman >>> wrote: >>>> >>>> On 2/15/2012 11:04 AM, Peter Collingbourne w

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-06 Thread Nicolas Desprès
the beginning of this thread. It seems that merging it master will generate more bug report than patches to fix the issue. If it is the case, I prefer to disable it. I will try to fix them ASAP anyway. Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source p

Re: [CMake] Ninja generator bug

2012-03-14 Thread Nicolas Desprès
itware.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://www.c

Re: [CMake] CMake 2.8.8-rc1, Ninja generator, and clean target

2012-04-02 Thread Nicolas Desprès
jects 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://www.cmake.org/mailman/listinfo/cmake -- Nicol

Re: [CMake] CMake + Ninja

2012-04-11 Thread Nicolas Desprès
s makes any warranties as to > the completeness or accuracy of any of the information contained herein or > that this message or any of its attachments is free of viruses. > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.ki

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

2012-04-20 Thread Nicolas Desprès
t;see cmake --help-options for available build options". Comments? -- 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.cmak

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

2012-04-20 Thread Nicolas Desprès
forget about > CMAKE_DEPENDENT_OPTION ;) Sorry but I don't get it. Are you speaking about options that enable other options like in: option(FOO "Foo doc" OFF) if(FOO) option(BAR "Bar doc" OFF) endif(FOO) ? Cheers, -- Nicolas Desprès -- Powered by www.kitware.

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

2012-04-20 Thread Nicolas Desprès
2012/4/20 Eric Noulard : > Le 20 avril 2012 10:44, Nicolas Desprès a écrit : >> Hi, >> >> I would like to have your opinion before to start to implement it. >> >> I would like to add the following options to the cmake command line >> interface: >>

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

2012-04-20 Thread Nicolas Desprès
2012/4/20 Eric Noulard : > Le 20 avril 2012 13:40, Nicolas Desprès a écrit : >> 2012/4/20 Eric Noulard : >>> Le 20 avril 2012 10:44, Nicolas Desprès a écrit >>> : >>>> Hi, >>>> >>>> I would like to have your opinion before to sta

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

2012-04-20 Thread Nicolas Desprès
2012/4/20 David Cole : > 2012/4/20 Nicolas Desprès : >> 2012/4/20 Eric Noulard : >>> Le 20 avril 2012 13:40, Nicolas Desprès a écrit >>> : >>>> 2012/4/20 Eric Noulard : >>>>> Le 20 avril 2012 10:44, Nicolas Desprès a >>>>&g

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

2012-04-21 Thread Nicolas Desprès
2012/4/20 David Cole : > 2012/4/20 Nicolas Desprès : >> 2012/4/20 David Cole : >>> 2012/4/20 Nicolas Desprès : >>>> 2012/4/20 Eric Noulard : >>>>> Le 20 avril 2012 13:40, Nicolas Desprès a >>>>> écrit : >>>>>&g

Re: [CMake] Autotools sub project, static lib in a shared lib

2012-04-23 Thread Nicolas Desprès
> > 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://www.cmake.org/mailman/listinfo/cmake -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source pr

Re: [CMake] How to handle a submodule existing twice in a project?

2012-05-18 Thread Nicolas Desprès
On Fri, May 18, 2012 at 1:15 AM, David Doria wrote: >> Yeah. Well, in that case I'd simply check for the TestB target thats >> defined in TestB/CMakeLists.txt as condition for the top-levels >> add_subdirectory: >> >> if(NOT TARGET TestB) >>   add_subdirectory(TestB) >> endif() >> >> That should w

Re: [CMake] CMake 2.8.8-rc1, Ninja generator, and clean target

2012-05-18 Thread Nicolas Desprès
On Wed, May 16, 2012 at 11:54 PM, Peter Collingbourne wrote: > On Mon, Apr 02, 2012 at 02:21:10PM +0200, Nicolas Desprès wrote: >> Hi, >> >> It looks like an issue in the generator. The symlink is created as a >> side effect of a rule and not mentioned in the output f

[CMake] How to get the list of available test with ctest?

2012-07-18 Thread Nicolas Desprès
Hello, I'm looking for a way to list all available tests with ctest, but cannot find any. Basically a --list option for ctest, or something like that. I need it because I would like to compare the list of available tests for make and for ninja. Thanks in advance, -- Nicolas Desprès -- Po

Re: [CMake] How to get the list of available test with ctest?

2012-07-18 Thread Nicolas Desprès
Thanks. On Wed, Jul 18, 2012 at 1:12 PM, David Cole wrote: > ctest -N > > On Wed, Jul 18, 2012 at 6:16 AM, Nicolas Desprès > wrote: >> Hello, >> >> I'm looking for a way to list all available tests with ctest, but >> cannot find any. Basically a --li

Re: [CMake] How to get started with the CMake Ninja backend on Linux and Windows?

2012-07-19 Thread Nicolas Desprès
the HACKING file there git:// github.com/martine/ninja.git There are also CMake based build-system in some of the fork of this project. Here is one of them: git://github.com/syntheticpp/ninja.git Cheers, -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects a

Re: [CMake] How to get started with the CMake Ninja backend on Linux and Windows?

2012-07-19 Thread Nicolas Desprès
On Thu, Jul 19, 2012 at 10:27 AM, Alan W. Irwin wrote: > On 2012-07-19 09:04+0200 Nicolas Desprès wrote: > > On Thu, Jul 19, 2012 at 7:33 AM, Alan W. Irwin > >**wrote: >> >> There has been a lot of traffic here concerning the CMake Ninja >>> backend for mo

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

2012-07-28 Thread Nicolas Desprès
On Sat, Jul 28, 2012 at 11:43 AM, Shlomi Fish wrote: [...] > 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 /home/shlomif/progs/freecell/git/fc-solve/fc-solve/so

[CMake] Texinfo file configuration.

2008-03-28 Thread Nicolas Desprès
# Restore variables and destroy backup. foreach(i ${varlist}) set(${i} ${__configure_textinfo_copy__${i}}) set(__configure_textinfo_copy__${i}) endforeach(i) message(STATUS "Configure '${input}' to '${output}'")

[CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
there any work around except writting my own CPack.cmake? Best regards, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
On Fri, Mar 28, 2008 at 4:02 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > Nicolas Desprès wrote: > > Hi, > > > > In my project, I generate the readme file that I use as package > > description file in cpack. In my top CMakeLists.txt I have: > &g

Re: [CMake] [CPack] Generated package description file.

2008-03-28 Thread Nicolas Desprès
process instead of add_custom_command. -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CMake 2.6.0 Beta ready for testing!

2008-04-02 Thread Nicolas Desprès
installed Firefox recently and the license popup when the dmg is opened. Then, you only have to drag and drop the icon in the finder to your Applications directory. I would love that DMG cpack generator could do that. -- Nicolas Desprès ___ CMake mailing li

[CMake] find_library first searches for static libraries

2008-07-01 Thread Nicolas Desprès
uot;.a;.so") find_library(OPENSSL_LIBRARY ssl) If someone has a better solution, please fill free to tell me. Thx in advance, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] find_library first searches for static libraries

2008-07-02 Thread Nicolas Desprès
On Wed, Jul 2, 2008 at 4:25 AM, Philip Lowman <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 2:37 PM, Nicolas Desprès <[EMAIL PROTECTED]> > wrote: >> >> Hi list, >> >> I'm looking for a way to say to find_library (cmake 2.6.0) that I >> pre

[CMake] -DNDEBUG passed to Qt moc compiler

2008-09-03 Thread Nicolas Desprès
suggest that FindQt4 module could handle such issue automatically. Cheers, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] FILE(INSTALL does not follow symbolic links

2008-10-02 Thread Nicolas Desprès
he copy by hand using cmake -E copy but I would like to have a consistent output with the -- Installing: printed by cmake and the -- Up-to-date stuff. As a workaround, how can I write a cmake script that retrieve the name of the file pointed by a symbolic link?

Re: [CMake] Configuring .bat file with native path under windows

2008-10-14 Thread Nicolas Desprès
a wrapper >> around configure_file to do the tricks but it is very cumbersome. >> >> Does any one know a better way to deal with this issue? >> Is there any chance to have an option to configure_file that do the >> tricks? >> >> Best regards, >> >> --

[CMake] Configuring .bat file with native path under windows

2008-10-14 Thread Nicolas Desprès
ative path before to configure the file. Currently, I'm using a wrapper around configure_file to do the tricks but it is very cumbersome. Does any one know a better way to deal with this issue? Is there any chance to have an option to configure_file that do the tricks? Best regards, --

Re: [CMake] Configuring .bat file with native path under windows

2008-10-15 Thread Nicolas Desprès
essage("several='${several_paths_result}'") On Tue, Oct 14, 2008 at 6:16 PM, Eric Noulard <[EMAIL PROTECTED]> wrote: > 2008/10/14 Nicolas Desprès <[EMAIL PROTECTED]>: >> On Tue, Oct 14, 2008 at 4:48 PM, Andy Lego <[EMAIL PROTECTED]> wrote: >>&g

[CMake] [CPACK][NSIS] vendor name used in the install directory

2008-10-23 Thread Nicolas Desprès
thing like "Vendor\ProgName x.y" leads to an error on Vista since it claims that my program has not been installed properly (something similar to http://www.cmake.org/pipermail/cmake/2008-August/023459.html) I attach a patch that what I want. Best regards, -- Nicolas Desprès vendor-d

[CMake] [CPACK][NSIS] How to set default start menu directory

2008-10-23 Thread Nicolas Desprès
NSIS.template.in in the CVS but I've found nothing. Any help? Best regards, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How is GetPreRequisites used?

2008-10-29 Thread Nicolas Desprès
can't see how this can be used as it >> needs >> to be called at installation time and I'm not aware that modules can be? >> >> Does anyone have a working example of how to install its outputted >> libraries? >> -- >> Cheers, >> Mike Arthur >

[CMake] Get parse error with cmake -C

2008-10-30 Thread Nicolas Desprès
Maybe I'm not using the -C option properly... Cheers, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Nicolas Desprès
ll(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/install-script.cmake) where install-script.cmake.in contains: include(GetPrerequisites) Hope this helps, Cheers, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to find GetPrerequisites.cmake ?

2008-11-03 Thread Nicolas Desprès
On Mon, Nov 3, 2008 at 9:11 PM, Stephen Collyer <[EMAIL PROTECTED]> wrote: > Nicolas Desprès wrote: >> On Mon, Nov 3, 2008 at 8:47 PM, Stephen Collyer >> <[EMAIL PROTECTED]> wrote: >>> I'm trying to call this script at install time with &

[CMake] [CPACK][NSIS] Installing files in My Documents folder

2008-11-05 Thread Nicolas Desprès
Best regards, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [CPACK][NSIS] Installing files in My Documents folder

2008-11-05 Thread Nicolas Desprès
E_MODULES_PATH to point to yours first. > If you could generalize it so that it is based on some CPACK_* variables > rather than hardcoding into the NSIS.template.in file, feel free to attach a > patch to a feature request. > Let us know how you make out! > Thanks, > David > &g

[CMake] Symlink problem under linux for runtime search path generation

2008-12-24 Thread Nicolas Desprès
t a direct problem from cmake but rather from my build environment. But in this kind of case, cmake could figure out that these two directories are actually the same ? Thanks for sharing opinion. Cheers, -- Nicolas Desprès ___ CMake mailing list CMake@cmak

Re: [CMake] Symlink problem under linux for runtime search path generation

2008-12-26 Thread Nicolas Desprès
o On Wed, Dec 24, 2008 at 10:39 PM, Brad King wrote: > Nicolas Desprès wrote: >> >> But in this kind of case, cmake could figure out that these two >> directories are actually the same ? > > There is code to figure that out but it doesn't seem to be working >

Re: [CMake] Custom NSIS script

2008-12-26 Thread Nicolas Desprès
E_MODULE_PATH and then patch it to do the same job of your custom nsis script. [...] Cheers, -- Nicolas Desprès ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] File modification detection based on content (not timestamp)

2009-01-07 Thread Nicolas Desprès
I use ccache to solve this problem. When building after switching branch if you did not change anything ccache hits the cache. I know ccache works well with gcc or mingw but for other compiler I don't know. Maybe it is possible to use it only with the Makefile generator of cma

[CMake] Wrong LOCATION_ property value with MACOSX_BUNDLE option set

2009-01-19 Thread Nicolas Desprès
-G "Unix Makefiles" .. is: = [...] binary_loc=/Users/polrop/src/helloworld/_build/helloworld [...] = I'm using this cmake: http://www.cmake.org/files/v2.6/cmake-2.6.3-RC-8-Darwin-universal.dmg Cheers, -- Nicolas Desprès ___

Re: [CMake] Wrong LOCATION_ property value with MACOSX_BUNDLE option set

2009-01-19 Thread Nicolas Desprès
I forgot to mention that setting CMAKE_BUILD_TYPE by either Debug or Release does not change the problem. I except the value to be: /Users/polrop/src/helloworld/_build/helloworld.app/Contents/MacOS/helloworld Cheers, On Tue, Jan 20, 2009 at 12:44 AM, Nicolas Desprès wrote: > Hi th

Re: [CMake] Wrong LOCATION_ property value with MACOSX_BUNDLE option set

2009-01-20 Thread Nicolas Desprès
I have reported an issue on the bug tracker and submitted a patch: http://public.kitware.com/Bug/view.php?id=8406 Cheers, On Tue, Jan 20, 2009 at 1:02 AM, Nicolas Desprès wrote: > I forgot to mention that setting CMAKE_BUILD_TYPE by either Debug or > Release does not change the problem.

[CMake] QT_INCLUDE_DIR not in the cache when using framework

2009-02-03 Thread Nicolas Desprès
NCLUDE_DIR ${QT_HEADERS_DIR}) ELSE (QT_USE_FRAMEWORKS) STRING( REGEX REPLACE "/QtCore$" "" qt4_include_dir ${QT_QTCORE_INCLUDE_DIR}) SET( QT_INCLUDE_DIR ${qt4_include_dir} CACHE PATH "") ENDIF (QT_USE_FRAMEWORKS) ENDIF( QT_QTCORE_INCLUDE_DIR AND

Re: [CMake] QT_INCLUDE_DIR not in the cache when using framework

2009-02-03 Thread Nicolas Desprès
but I would like to understand why QT_INCLUDE_DIR is not stored in the cache in this special case. NOTE: When not using framework it is stored in the cache. Nico > Nicolas Desprès wrote: >> >> In other word, I would like to know if someone is against requesting >> QT_INCLUD

Re: [CMake] QT_INCLUDE_DIR not in the cache when using framework

2009-02-03 Thread Nicolas Desprès
In other word, I would like to know if someone is against requesting QT_INCLUDE_DIR in the cache when framework are used? If no one, I'll add a feature request. Cheers, Nico On Tue, Feb 3, 2009 at 1:12 PM, Nicolas Desprès wrote: > Hi, > > I'm using cmake 2.6.2 on macosx and

Re: [CMake] setting environment variable through cmake

2009-02-16 Thread Nicolas Desprès
> 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://www.cmake.org/mailman/listinfo/cmake > -- Nicolas Desprès ___ Powered

Re: [CMake] How to adjust LD_LIBRARY_PATH for an exectubale?

2009-03-24 Thread Nicolas Desprès
LIBRARIES_DIR@" LD_LIBRARY_PATH="$paths" export LD_LIBRARY_PATH DYLD_LIBRARY_PATH="$paths" export DYLD_LIBRARY_PATH exec "$dirname/$appname" $* -- Nicolas Desprès ___ Powered by www.kitware.com Visit other Kitware open-

Re: [CMake] How to adjust LD_LIBRARY_PATH for an exectubale?

2009-03-25 Thread Nicolas Desprès
On Wed, Mar 25, 2009 at 2:47 AM, Denis Scherbakov wrote: > > Unfortunatelly, the idea with a shell script is not portable. > Sorry, I forgot to mention that I've been using this script on Linux and MacOsX only. [...] -- Nicolas Desprès _

[CMake] macro/function and ARGN weird behavior

2009-05-15 Thread Nicolas Desprès
rpreted in the context of the `print_var' function. 2) I don't understand why the behavior is not similar to #1 3) I don't understand why `a1' and `a2' are "eaten" 4) This one is very weird. I though the only difference between macro and function was that var

Re: [CMake] macro/function and ARGN weird behavior

2009-05-15 Thread Nicolas Desprès
lly local > variables. > > It's equivalent to the difference between these in C++: > // there are not actually variables named x and y here: > #define min(x, y) .. > // but there are variables here: > int min(int x, int y) > { >  ... > } > > HTH, >

Re: [CMake] doing simple math in cmake or useless foreach( RANGE )

2009-05-19 Thread Nicolas Desprès
ced this problem and I don't like this behavior. I'm more use to the traditional for (i = 0; i < n; ++i) instead of <= -- Nicolas Desprès ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwar

[CMake] add_definitions affects rc.exe call

2009-08-31 Thread Nicolas Desprès
4290") I'm not sure if it is the right way to do it but it works. Does add_definitions supposed to affects the list of argument passed to rc.exe ? Cheers, -- Nicolas Desprès ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] add_definitions affects rc.exe call

2009-08-31 Thread Nicolas Desprès
2009/8/31 Michael Wild : > > On 31. Aug, 2009, at 11:42, Nicolas Desprès wrote: > >> Hi all, >> >> I'm using cmake-2.6.4 to build a project using Visual C++ 2005 and the >> Unix Makefile generator. At the beginning of my main CMakeLists.txt I >> hav

Re: [CMake] CMake IR

2015-07-29 Thread Nicolas Desprès
ing Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Nicolas De

Re: [CMake] CMake IR

2015-07-29 Thread Nicolas Desprès
s stable or not. The CMake script language is stable and a lot of effort is spent to keep backward compatibility via policies. [...] -- 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 offer

Re: [CMake] CMake IR

2015-07-30 Thread Nicolas Desprès
imes to generate Visual Studio project and XCode project and my first impression was quite good. But I have not a lot of experiences in this area. I agree with you that the users will need multi architecture support more in the future. -- Nicolas Desprès -- Powered by www.kitware.com Please keep mes

Re: [CMake] Display all possible options in a CMakeLists file, like what we do with configure --help

2012-10-15 Thread Nicolas Desprès
schijnmo > -- > > 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

Re: [CMake] So Long

2013-01-31 Thread Nicolas Desprès
eep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Nicolas Desprès -- Powered by www.kitware.com Visit other Kitware open-source projects

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

2013-03-17 Thread Nicolas Desprès
g on so I have asked him to give it a try. 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 Fo

Re: [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 wrote: > On Thu, Mar 14, 2013 at 3:57 PM, Brad King 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 a look,

[CMake] How to set environment variable for custom command

2013-07-19 Thread Nicolas Desprès
e. Ideally I 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 Please keep messages on-topic and check the CMake FAQ at: http://www.cmak

Re: [CMake] How to set environment variable for custom command

2013-07-20 Thread Nicolas Desprès
;COMMAND "set FOO=${bar}" & my_cmd.bat" >DEPENDS in >) > > (although I haven't tried it, so in both cases you might need to > coax cmake into using a shell by prefixing the command with sh -c > or cmd /c or something.) > -- Nicolas Desp

Re: [CMake] CPack using Inno Setup compilation scripts ?

2013-08-12 Thread Nicolas Desprès
be I missed an article or a paragraph in the docs. Any pointers ? > > Otherwise my fallback position will be to script everything with some > higher level batch file (argh!). > > Thanks in advance for your advices. > > Cheers; > Nit. > > -- Nicolas Desprès -- Powered by

  1   2   >