Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Michael Hertling
On 01/04/2012 10:11 PM, Bill Hoffman wrote: > On 1/4/2012 4:03 PM, Michael Jackson wrote: >> I robbed this from the HDF5 project which does something very similar to >> what I am doing: >> >> SET (CMD ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5detect${EXE_EXT}) >> >> That "seems" to at least p

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Michael Wild
On 01/04/2012 09:28 PM, Michael Jackson wrote: > I am having trouble getting add_custom_Command and CMAKE_CFG_INTDIR to work > correctly together. This is what I have so far. > > # -- Setup output Directories - > SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY > ${PROJECT_BI

Re: [CMake] RC compiler on Linux - new problem

2012-01-04 Thread Michael Hertling
On 01/04/2012 02:08 PM, pellegrini wrote: > Hi Michael > > first of all best wishes for 2012 ! Thanks, the same to you! > Let's start 2012 with a new question for CMake community ! It is related > with prior discussions we had about rc > compiler on Linux. Sorry but I had many things to do in t

Re: [CMake] Adding a reference to a .NET dll in my C++/CLI project

2012-01-04 Thread Aaron Ten Clay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/04/12 14:32, brian wrote: > I've been able to generate VS 2010 solution's via CMake for my C++/CLI project (.NET project). We've added the log4net.dll to the project by hand. This is the .NET version of the log4j project. What I'd like to do is

Re: [CMake] XCode generator hangs when writing build config.

2012-01-04 Thread David Cole
On Wed, Jan 4, 2012 at 1:14 PM, David Cole wrote: > On Wed, Jan 4, 2012 at 12:36 PM, Axel Roebel wrote: >> On 4/1/12 5:05 PM, David Cole wrote: >>> What project are you running through CMake? Is it available for us to >>> try to reproduce here? >> >> It is the SDIF/EASDIF_SDIF project that is on

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread David Cole
On Wed, Jan 4, 2012 at 7:14 PM, Bill Hoffman wrote: > On 1/4/2012 4:27 PM, Michael Jackson wrote: >> >> Thanks! The definitely fixed the issue for ALL the platforms. I guess >> I just have not been keeping up with all the additions to CMake. At >> what version was this syntax introduced? > > > Loo

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Bill Hoffman
On 1/4/2012 4:27 PM, Michael Jackson wrote: Thanks! The definitely fixed the issue for ALL the platforms. I guess I just have not been keeping up with all the additions to CMake. At what version was this syntax introduced? Looks like about a year ago: http://cmake.org/gitweb?p=cmake.git;a=commi

Re: [CMake] Adding a reference to a .NET dll in my C++/CLI project

2012-01-04 Thread Hendrik Sattler
Am Mittwoch, 4. Januar 2012, 23:32:21 schrieb brian: > I've been able to generate VS 2010 solution's via CMake for my C++/CLI > project (.NET project). We've added the log4net.dll to the project by > hand. This is the .NET version of the log4j project. What I'd like to do > is add a reference to

Re: [CMake] Visual Studio Generator: Unable to show property page for custom build tool

2012-01-04 Thread Niels Dekker - address until 2014
Michael Guerrero wrote: Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool” per cpp file to perform some specialized operations. However, the property page is not visible (not editable) when I generate a project with cmake. To see what this looks like, see here: http://soci

[CMake] Adding a reference to a .NET dll in my C++/CLI project

2012-01-04 Thread brian
I've been able to generate VS 2010 solution's via CMake for my C++/CLI project (.NET project). We've added the log4net.dll to the project by hand. This is the .NET version of the log4j project. What I'd like to do is add a reference to this DLL to the solution via cmake using a Findlog4net.cmake

Re: [CMake] Visual Studio Generator: Unable to show property page for custom build tool

2012-01-04 Thread John Drescher
On Wed, Jan 4, 2012 at 4:30 PM, Michael Guerrero wrote: > Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool” > per cpp file to perform some specialized operations.  However, the property > page is not visible (not editable) when I generate a project with cmake.  To > see wh

Re: [CMake] Visual Studio Generator: Unable to show property page for custom build tool

2012-01-04 Thread James Bigler
On Wed, Jan 4, 2012 at 2:30 PM, Michael Guerrero wrote: > Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool” > per cpp file to perform some specialized operations. However, the property > page is not visible (not editable) when I generate a project with cmake. > To see w

[CMake] Visual Studio Generator: Unable to show property page for custom build tool

2012-01-04 Thread Michael Guerrero
Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool” per cpp file to perform some specialized operations.  However, the property page is not visible (not editable) when I generate a project with cmake.  To see what this looks like, see here: http://social.msdn.microsoft.co

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Michael Jackson
Thanks! The definitely fixed the issue for ALL the platforms. I guess I just have not been keeping up with all the additions to CMake. At what version was this syntax introduced? -- Mike Jackson On Jan 4, 2012, at 4:11 PM, Bill Hoffman wrote: > On 1/4/2012 4:03 PM, Michael Jackson wrote: >> I

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Bill Hoffman
On 1/4/2012 4:03 PM, Michael Jackson wrote: I robbed this from the HDF5 project which does something very similar to what I am doing: SET (CMD ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5detect${EXE_EXT}) That "seems" to at least point to the proper location. Now to get Visual Studio to ac

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Michael Jackson
I robbed this from the HDF5 project which does something very similar to what I am doing: SET (CMD ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${CFG_INIT}/H5detect${EXE_EXT}) That "seems" to at least point to the proper location. Now to get Visual Studio to actually execute the executable. -- Mike Jackson

Re: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread clin...@elemtech.com
Have you tried excluding the ".exe" thing? I thought cmake did the right thing for targets used in custom commands. Clint - Reply message - From: "Michael Jackson" Date: Wed, Jan 4, 2012 1:28 pm Subject: [CMake] Add Custom COmmand and CMAKE_CFG_INTDIR To: "cmake@cmake.org List" I am

[CMake] Add Custom COmmand and CMAKE_CFG_INTDIR

2012-01-04 Thread Michael Jackson
I am having trouble getting add_custom_Command and CMAKE_CFG_INTDIR to work correctly together. This is what I have so far. # -- Setup output Directories - SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin CACHE PATH "Single Directory for all Libr

Re: [CMake] XCode generator hangs when writing build config.

2012-01-04 Thread David Cole
On Wed, Jan 4, 2012 at 12:36 PM, Axel Roebel wrote: > On 4/1/12 5:05 PM, David Cole wrote: >> What project are you running through CMake? Is it available for us to >> try to reproduce here? > > It is the SDIF/EASDIF_SDIF project that is on sourceforge. > http://sourceforge.net/projects/sdif/files/

Re: [CMake] XCode generator hangs when writing build config.

2012-01-04 Thread Axel Roebel
On 4/1/12 5:05 PM, David Cole wrote: > What project are you running through CMake? Is it available for us to > try to reproduce here? It is the SDIF/EASDIF_SDIF project that is on sourceforge. http://sourceforge.net/projects/sdif/files/Easdif/ > I've not heard of anything like this... Thanks for

Re: [CMake] XCode generator hangs when writing build config.

2012-01-04 Thread David Cole
What project are you running through CMake? Is it available for us to try to reproduce here? I've not heard of anything like this... Can you use Activity Monitor to inspect the process and grab a sample showing a call stack of what's happening when it's "hung"? Does CMake have any child processe

[CMake] XCode generator hangs when writing build config.

2012-01-04 Thread Axel Roebel
Hello I just upgraded from 2.8.1 to 2.8.6 to be able to use the recently added generator expressions in add_custom_command. Unfortunately, whenever I try to generate a project for Xcode (Mac OSX 10.6.8, Xcode 3.2.6) the project generator (command line as well as gui) hangs in the last phase when i

Re: [CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Eric Noulard
2012/1/4 Hertout Julien : > > Is it possible to know why you need that? > > Of course. > We develop software to help to develop applications for mobile phones. From > a source code written in Java with our APIs we generate projects for JavaME, > Android, Blackberry, WP7 and (almost) for iPhone. For

Re: [CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Hertout Julien
Le 04/01/12 12:54, Eric Noulard a écrit : 2012/1/4 Hertout Julien: We need to generate Xcode projects but from a Windows environment. Is it possible to know why you need that? CMake generated project files are not meant to be relocatable and they depend on CMake as well So generating a pro

Re: [CMake] How to force CMake install / CPack to create an empty directory.

2012-01-04 Thread Eric Noulard
2012/1/4 Vladimir Jaksic : > Hello, > > For the purposes of my project i need to create multiple empty > directories where my exectuable is located, and I would like to > include these directories in the .zip file. I have tried the > following: > > -- > ... > INSTALL(TARGETS myproje

[CMake] How to force CMake install / CPack to create an empty directory.

2012-01-04 Thread Vladimir Jaksic
Hello, For the purposes of my project i need to create multiple empty directories where my exectuable is located, and I would like to include these directories in the .zip file. I have tried the following: -- ... INSTALL(TARGETS myproject DESTINATION .) INSTALL(DIRECTORY DESTINAT

Re: [CMake] RC compiler on Linux - new problem

2012-01-04 Thread pellegrini
Hi Michael first of all best wishes for 2012 ! Let's start 2012 with a new question for CMake community ! It is related with prior discussions we had about rc compiler on Linux. Sorry but I had many things to do in the meantime and I could only come back to it recently. As a reminder, my pro

Re: [CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Eric Noulard
2012/1/4 Hertout Julien : > We need to generate Xcode projects but from a Windows environment. Is it possible to know why you need that? CMake generated project files are not meant to be relocatable and they depend on CMake as well So generating a project file on a host that is not the one yo

[CMake] Generate Xcode projects on a Windows environment

2012-01-04 Thread Hertout Julien
We need to generate Xcode projects but from a Windows environment. CMake does the job well on a MAC OS environment. However, it can't do it on a Windows environment. I wonder if there are some technical reasons to it or if it is just a choice made by the CMake development team since this use ca

[CMake] DeployQt4 example

2012-01-04 Thread norulez
Does anyone have a working example for the new DeployQt4 module? Thanks in advance -- 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/CM