Re: [CMake] ADD_CUSTOM_COMMAND and Dependencies

2011-08-01 Thread Micha Renner
Am Montag, den 25.07.2011, 15:49 +0200 schrieb Michael Wild: On 07/25/2011 03:24 PM, Micha Renner wrote: There is following sequence: ADD_EXECUTEABLE(generator gen.c) ADD_CUSTOM_COMMAND(OUTPUT tlib.h COMMAND generator tlib.h) ADD_LIBRARY(tlib tlib.c tlib.h) The

Re: [CMake] ADD_CUSTOM_COMMAND and Dependencies

2011-08-01 Thread Michael Wild
On 08/01/2011 09:32 AM, Micha Renner wrote: Am Montag, den 25.07.2011, 15:49 +0200 schrieb Michael Wild: On 07/25/2011 03:24 PM, Micha Renner wrote: There is following sequence: ADD_EXECUTEABLE(generator gen.c) ADD_CUSTOM_COMMAND(OUTPUT tlib.h COMMAND generator tlib.h)

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-08-01 Thread Florian Reinhard
2011/7/29 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 29 July 2011, Florian Reinhard wrote: 2011/7/22 Alexander Neundorf a.neundorf-w...@gmx.net: Can you build cmake from this branch I just created ? http://cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/TI_DSP_

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-08-01 Thread Domagoj Saric
http://public.kitware.com/Bug/view.php?id=12375 http://public.kitware.com/Bug/view.php?id=12376 thanks ;) -- What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
Hi all, Anyone know anything about this? I'm seeing the same issue with MSVC 2008 + cmake 2.8(.?) add_library(foo .. EXCLUDE_FROM_ALL ..) -Johan On Tue, May 3, 2011 at 4:59 PM, Andrea Galeazzi galea...@korg.it wrote: I've a project made up of multiple executable target:

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
and I just found The EXCLUDE_FROM_DEFAULT_BUILD property is used by the visual studio generators. If it is set to 1 the target will not be part of the default build when you select Build Solution. Anyone know why it is different from EXLUDE_FROM_ALL ? -Johan On Mon, Aug 1, 2011 at 5:05 PM,

[CMake] Setting environment variable to execute_process

2011-08-01 Thread Łukasz Tasz
Hi, I would like to execute process, during cmake phase, but I need to tune LD_LIBRARY_PATH a little, I would like to get something like: execute_proccess(COMMAND LD_LIBRARY_PATH=my_path my_proccess ERROR_VARIABLE _error) Unfornately command above is not working... I'm using cmake 2.6 thanks

Re: [CMake] Setting environment variable to execute_process

2011-08-01 Thread Bill Hoffman
On 8/1/2011 12:08 PM, Łukasz Tasz wrote: Hi, I would like to execute process, during cmake phase, but I need to tune LD_LIBRARY_PATH a little, I would like to get something like: execute_proccess(COMMAND LD_LIBRARY_PATH=my_path my_proccess ERROR_VARIABLE _error) Unfornately command above is

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
And another update while at it. The following cmake file illustrates the issue: FILE(WRITE foo.c ) add_library(foo EXCLUDE_FROM_ALL foo.c) set_target_properties(foo PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1) FILE(WRITE foobar.c ) add_executable(foobar foobar.c) target_link_libraries(foobar foo)

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-08-01 Thread Johan Björk
http://www.cmake.org/Bug/view.php?id=12379 (EXCLUDE_FROM_DEFAULT_BUILD broken) http://www.cmake.org/Bug/view.php?id=12377 (-g0 enables debug in XCode) http://www.cmake.org/Bug/view.php?id=12358 (ENABLE_LANGUAGE(.. OPTIONAL) breaks configure step http://www.cmake.org/Bug/view.php?id=11690 (XCode

[CMake] Regenerating project files based on external file.

2011-08-01 Thread The Novice Coder
The short version of what I'm trying to do: Add some kind of definition to the cmake file that specifies a file, that if modified, will cause the project to be regenerated. Longer (more specific) version. We (our small program team) want's to use cmake to generate a file svn_version.h,

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-08-01 Thread Alexander Neundorf
On Saturday 30 July 2011, Alan W. Irwin wrote: Please do a fundamental fix for http://public.kitware.com/Bug/view.php?id=9220. Since I implemented this, I feel responsible for it. But most probably I will not be able to do this for 2.8.6. At least I'll try to make it work again for ASM. Alex

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-08-01 Thread Alexander Neundorf
On Monday 01 August 2011, Florian Reinhard wrote: 2011/7/29 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 29 July 2011, Florian Reinhard wrote: 2011/7/22 Alexander Neundorf a.neundorf-w...@gmx.net: Can you build cmake from this branch I just created ?

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-01 Thread Sascha Zelzer
Hi, On 07/29/2011 12:30 PM, David Cole wrote: Is your VS 2010 in German by any chance? (Or the path name to the installation of VS 2010?) My Visual Studio is in English, but it is installed on a German Windows 7 (under C:\Programme (x86)\...) - Sascha We do not typically test on

Re: [CMake] VS2010 and superbuild - Fwd: [Ctk-developers] VS2010 support

2011-08-01 Thread Sascha Zelzer
Hi, I played around with the ExternalProject unit tests and was able to reproduce my problem with the current HEAD ExternalProjects.cmake file. It boils down to *not* adding the UPDATE_COMMAND line: 1.) In CMake/Tests/ExternalProject/CMakeLists.txt:487 remove (or comment in) the

[CMake] How to create a 64-bit Windows build of cmake?

2011-08-01 Thread John R. Cary
I believe I have followed what I have found on the web for building a Win64 version of CMake. I have downloaded the win32 version and used it to configure the cmake source. I used the Visual Studio 9 2008 Win64 generator. However, when I then use that cmake to configure vtk (an old version,

Re: [CMake] How to create a 64-bit Windows build of cmake?

2011-08-01 Thread John Drescher
On Mon, Aug 1, 2011 at 8:34 PM, John R. Cary c...@txcorp.com wrote: I believe I have followed what I have found on the web for building a Win64 version of CMake.  I have downloaded the win32 version and used it to configure the cmake source. I used the Visual Studio 9 2008 Win64 generator.

[CMake] Gathering up required shared libraries

2011-08-01 Thread Gregory Crosswhite
Hey everyone, I am using CMake to build a package which has the normal unix layout, i.e. programs are in bin/, libraries are in lib/, etc., and I would like to simply copy all of the required shared non-system libraries into lib/ and make sure that the executable is updated to look for them there

Re: [CMake] How to create a 64-bit Windows build of cmake?

2011-08-01 Thread John R. Cary
On 8/1/11 7:04 PM, John Drescher wrote: On Mon, Aug 1, 2011 at 8:34 PM, John R. Caryc...@txcorp.com wrote: I believe I have followed what I have found on the web for building a Win64 version of CMake. I have downloaded the win32 version and used it to configure the cmake source. I used the

Re: [CMake] How to create a 64-bit Windows build of cmake?

2011-08-01 Thread John Drescher
On Mon, Aug 1, 2011 at 10:02 PM, John R. Cary c...@txcorp.com wrote: On 8/1/11 7:04 PM, John Drescher wrote: On Mon, Aug 1, 2011 at 8:34 PM, John R. Caryc...@txcorp.com  wrote: I believe I have followed what I have found on the web for building a Win64 version of CMake.  I have downloaded

Re: [cmake-developers] [CMake 0012374]: DESTDIR is not documented

2011-08-01 Thread Alan W. Irwin
On 2011-08-01 00:57-0400 Mantis Bug Tracker wrote: == Summary:DESTDIR is not documented http://www.cmake.org/Wiki/CMake_FAQ does document this so would advise immediate closure with that reference to help

[cmake-developers] [CMake 0012376]: Add symlink support

2011-08-01 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12376 == Reported By:Domagoj Saric Assigned To:

[Cmake-commits] CMake branch, next, updated. v2.8.5-1361-g622a9fb

2011-08-01 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 622a9fbe6532f5bb4aa101bebacdbad66218c9e0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1366-g318d4fa

2011-08-01 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 318d4fa36b5d56b6965784a4ab3c65e7475d40ef (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1373-g84756ad

2011-08-01 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 84756adde02c976232fda7d42e27f824f0c070c2 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1375-ge91a92c

2011-08-01 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e91a92c36e6ce62590434e6dfc9df050c2e85122 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1377-ga0adda0

2011-08-01 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via a0adda06f86bab879f8fa4affc731cd5fd8d5ee7 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1382-gc91bef7

2011-08-01 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via c91bef714acbad0aca679cfeba2039d1e233c519 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-79-gd8c1b44

2011-08-01 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via d8c1b44790ee2d6fce56c327e639407456f6c61c (commit) from