Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Bill Hoffman
Martin Apel wrote: Hi Brad, this is kind of difficult under Windows, as far as I know. I have MSys installed on my machine, but the pwd command is not really a command (i.e. .exe) under MSys, but a shell script, which invokes the shell command pwd. Windows sees the file with the pwd command

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Martin Apel
Bill Hoffman wrote: Martin Apel wrote: Hi Brad, this is kind of difficult under Windows, as far as I know. I have MSys installed on my machine, but the pwd command is not really a command (i.e. .exe) under MSys, but a shell script, which invokes the shell command pwd. Windows sees the file

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Bill Hoffman
Martin Apel wrote: Bill Hoffman wrote: Martin Apel wrote: Hi Brad, this is kind of difficult under Windows, as far as I know. I have MSys installed on my machine, but the pwd command is not really a command (i.e. .exe) under MSys, but a shell script, which invokes the shell command pwd.

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread David Cole
Try just cd -- cd . does not give any output at all, it's just a no-op... cd without any arguments prints the current working directory just like pwd... On Fri, Jun 27, 2008 at 9:20 AM, Bill Hoffman [EMAIL PROTECTED] wrote: Martin Apel wrote: Bill Hoffman wrote: Martin Apel wrote: Hi

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Martin Apel
Bill Hoffman wrote: Martin Apel wrote: Bill Hoffman wrote: Martin Apel wrote: Hi Brad, this is kind of difficult under Windows, as far as I know. I have MSys installed on my machine, but the pwd command is not really a command (i.e. .exe) under MSys, but a shell script, which invokes the

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Martin Apel
This is it! It seems to work correctly, when using cd instead of cd .. It seems I misinterpreted a command line parameter of a linker call as the directory output. Sorry for the confusion. I'm not exactly in love with Windows ;-) Martin David Cole wrote: Try just cd -- cd . does not give any

Re: [CMake] Installing Debug/Release Libraries under VS2005

2008-06-27 Thread Clinton Stimpson
Mike Jackson wrote: I have started debugging my cmakelists.txt file under windows VS2005 lately and I am trying to make sure all my support libraries are getting installed correctly. I know this has been on the list before but a search of the archives is coming up empty for me. Basically I

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Bill Hoffman
Martin Apel wrote: This is it! It seems to work correctly, when using cd instead of cd .. It seems I misinterpreted a command line parameter of a linker call as the directory output. Sorry for the confusion. I'm not exactly in love with Windows ;-) OK, but it is not using the working

Re: [CMake] Installing Debug/Release Libraries under VS2005

2008-06-27 Thread Mike Jackson
On Jun 27, 2008, at 9:46 AM, Clinton Stimpson wrote: Mike Jackson wrote: I have started debugging my cmakelists.txt file under windows VS2005 lately and I am trying to make sure all my support libraries are getting installed correctly. I know this has been on the list before but a

[CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alexander.Camek
Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use gnatmake anymore and says that gnatmake is broken. It seems that the test for the Ada language goes wrong. When I

[CMake] Creating multiple (deb) packages from one source tree using CPack

2008-06-27 Thread Jorrit Schaap
Hi, We have quite a large source tree with many libraries and many executables. We use CMake to build everything which works great. To deploy the executables we create deb packages by hand, gathering some executables and libs for one package, and gathering some other executables and libs

[CMake] Best Practice to determine what type of libraries I am linking to

2008-06-27 Thread Mike Jackson
What are the recommended ways to determine what type of libraries my application is linking against. An example should explain what I mean. I use the HDF5 library as part of my project. It can be built either as a static or dynamic. If it is built as a static library then I don't need to

[CMake] Remove me from the mail list

2008-06-27 Thread Sakyi, Ben
Folks- I am removed myself from the mail list but I still keep on receiving emails. Please remove my email address, [EMAIL PROTECTED], from the list. Thank you very much for your attention to my request. Ben Sakyi Credit Suisse Securities (USA) LLC Equities Research, Systems Development 1

Re: [CMake] Creating multiple (deb) packages from one source tree using CPack

2008-06-27 Thread Timenkov Yuri
On Friday 27 June 2008 18:14:05 Jorrit Schaap wrote: Hi, We have quite a large source tree with many libraries and many executables. We use CMake to build everything which works great. To deploy the executables we create deb packages by hand, gathering some executables and libs for one

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on Visual Studio?

2008-06-27 Thread Pau Garcia i Quiles
Quoting Martin Apel [EMAIL PROTECTED]: I got the impression, that the CMake generator for Visual Studio 7 ignores the working directory set in ADD_CUSTOM_COMMAND. Is this a bug or is this a documented feature somehow? Or am I simply doing something wrong? Incidentally, I'm suffering this same

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use gnatmake anymore and says that gnatmake is broken. I

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Bill Hoffman
Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use gnatmake anymore and says that gnatmake

Re: [CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

2008-06-27 Thread Martin Apel
Bill Hoffman wrote: Martin Apel wrote: This is it! It seems to work correctly, when using cd instead of cd .. It seems I misinterpreted a command line parameter of a linker call as the directory output. Sorry for the confusion. I'm not exactly in love with Windows ;-) OK, but it is not

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Brad King
Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use gnatmake anymore and says that gnatmake

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-27 Thread Mike Jackson
I thought I had some code that did that so I dug around a bit and came up with this: Basically what this does is loop through a list of libraries that is delimited by the optimized and debug words. As it loops through it will add the library to the OSX_BUNDLE_LIBRARIES variable.

Re: [CMake] Creating multiple (deb) packages from one source tree using CPack

2008-06-27 Thread Doug Gregor
On Fri, Jun 27, 2008 at 10:43 AM, Timenkov Yuri [EMAIL PROTECTED] wrote: Also, you can look at the bugs: http://public.kitware.com/Bug/view.php?id=6835 and http://public.kitware.com/Bug/view.php?id=6847 The latter one implements similar request for NSIS installer. Support for component-based

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 11:09-0400 Bill Hoffman wrote: Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to

Re: [CMake] Unwanted quoting of $

2008-06-27 Thread Wojciech Migda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, | | I’ve run into a problem trying to pass command line parameters to Visual C++, that contain the $ character. I’m building a C++/CLI module, and need to reference some .NET assemblies, with the /FU compiler option. Since Visual Studio

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 11:25-0400 Brad King wrote: Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Brad King
Alan W. Irwin wrote: The issue is that for 2.4.8, rpath is set appropriately for the Ada executable to find the Ada shared library that was built, but for 2.6.0, rpath is not set at all. Note, I do nothing special with rpath for this simple test project so it just has the default rpath

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 16:11-0400 Brad King wrote: Alan W. Irwin wrote: The issue is that for 2.4.8, rpath is set appropriately for the Ada executable to find the Ada shared library that was built, but for 2.6.0, rpath is not set at all. Note, I do nothing special with rpath for this simple test

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-27 Thread Ravi Tej Kavalipati
hi, This was the messages i got when i have implemented your suggestion still couldnt understand the variation. On Wed, Jun 25, 2008 at 4:04 PM, Mike Jackson [EMAIL PROTECTED] wrote: He really needs to see what files FindBoost is trying to locate. The best way is to hack into the

[CMake] Component specific installation

2008-06-27 Thread Daniel Stonier
The documentation talks about component specific installations (from the docs...) The COMPONENT argument specifies an installation component name with which the install rule is associated, such as runtime or development. During component-specific installation only install rules associated with