Re: [CMake] Get configuration-dependant LOCATION property

2010-10-05 Thread Mateusz Loskot
On 05/10/10 08:10, Michael Wild wrote: > > On 5. Oct, 2010, at 3:52 , Michael Hertling wrote: > >> On 10/04/2010 11:15 PM, Mateusz Loskot wrote: >>> On 04/10/10 14:24, Michael Hertling wrote: On 10/04/2010 10:53 AM, Mateusz Loskot wrote: > On 04/10/10 07:33, J Decker wrote: >> CMAKE_

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-05 Thread Mateusz Loskot
On 05/10/10 02:52, Michael Hertling wrote: > On 10/04/2010 11:15 PM, Mateusz Loskot wrote: >> On 04/10/10 14:24, Michael Hertling wrote: >>> On 10/04/2010 10:53 AM, Mateusz Loskot wrote: On 04/10/10 07:33, J Decker wrote: > CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag li

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-05 Thread Michael Wild
On 5. Oct, 2010, at 3:52 , Michael Hertling wrote: > On 10/04/2010 11:15 PM, Mateusz Loskot wrote: >> On 04/10/10 14:24, Michael Hertling wrote: >>> On 10/04/2010 10:53 AM, Mateusz Loskot wrote: On 04/10/10 07:33, J Decker wrote: > CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simp

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Michael Hertling
On 10/04/2010 11:15 PM, Mateusz Loskot wrote: > On 04/10/10 14:24, Michael Hertling wrote: >> On 10/04/2010 10:53 AM, Mateusz Loskot wrote: >>> On 04/10/10 07:33, J Decker wrote: CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like 'project supports multiple targets' so I

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Mateusz Loskot
On 03/10/10 18:28, Mateusz Loskot wrote: > Hi, > > I understand what the manual [1] says about LOCATION property that it is > more or less deprecated. Is that right? > > I'm building software (shared libraries and executables) on both, Linux > and Windows (using VS 2005, 2008, 2010) and I'm tryin

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread John Drescher
On Mon, Oct 4, 2010 at 5:15 PM, Mateusz Loskot wrote: > On 04/10/10 14:24, Michael Hertling wrote: >> On 10/04/2010 10:53 AM, Mateusz Loskot wrote: >>> On 04/10/10 07:33, J Decker wrote: CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like 'project supports multiple targe

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Mateusz Loskot
On 04/10/10 14:24, Michael Hertling wrote: > On 10/04/2010 10:53 AM, Mateusz Loskot wrote: >> On 04/10/10 07:33, J Decker wrote: >>> CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like >>> 'project supports multiple targets' so I have an if(MSVC) set( >>> MULTI_TARGET) endif() ...

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Mateusz Loskot
On 04/10/10 12:01, Michael Wild wrote: > > On 4. Oct, 2010, at 10:51 , Mateusz Loskot wrote: > >> On 04/10/10 05:40, Michael Wild wrote: >>> >>> On 3. Oct, 2010, at 23:53 , Mateusz Loskot wrote: >>> On 03/10/10 22:27, J Decker wrote: > On Sun, Oct 3, 2010 at 10:28 AM, Mateusz > Lo

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Michael Wild
On 4. Oct, 2010, at 10:51 , Mateusz Loskot wrote: > On 04/10/10 05:40, Michael Wild wrote: >> >> On 3. Oct, 2010, at 23:53 , Mateusz Loskot wrote: >> >>> On 03/10/10 22:27, J Decker wrote: On Sun, Oct 3, 2010 at 10:28 AM, Mateusz Loskot wrote: > Hi, > > I understand what

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Michael Hertling
On 10/04/2010 10:53 AM, Mateusz Loskot wrote: > On 04/10/10 07:33, J Decker wrote: >> CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like >> 'project supports multiple targets' so I have an if(MSVC) set( >> MULTI_TARGET) endif() if( MULTI_TARGET ) Install( targets ... >> ${CM

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread J Decker
CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like 'project supports multiple targets' so I have an if(MSVC) set( MULTI_TARGET) endif() if( MULTI_TARGET ) Install( targets ... ${CMAKE_INSTALL_CONFIG_NAME ) else() isntall( ... ${CMAKE_BUILD_TYPE} _) On Sun, Oct 3, 2010 at 2

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Mateusz Loskot
On 04/10/10 07:33, J Decker wrote: CMAKE_INSTALL_CONFIG_NAME I don't know if there's a simple flag like 'project supports multiple targets' so I have an if(MSVC) set( MULTI_TARGET) endif() if( MULTI_TARGET ) Install( targets ... ${CMAKE_INSTALL_CONFIG_NAME ) else() isntall( ... ${CMAKE_BUIL

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-04 Thread Mateusz Loskot
On 04/10/10 05:40, Michael Wild wrote: On 3. Oct, 2010, at 23:53 , Mateusz Loskot wrote: On 03/10/10 22:27, J Decker wrote: On Sun, Oct 3, 2010 at 10:28 AM, Mateusz Loskot wrote: Hi, I understand what the manual [1] says about LOCATION property that it is more or less deprecated. Is that r

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-03 Thread Michael Wild
On 3. Oct, 2010, at 23:53 , Mateusz Loskot wrote: > On 03/10/10 22:27, J Decker wrote: >> On Sun, Oct 3, 2010 at 10:28 AM, Mateusz Loskot wrote: >>> Hi, >>> >>> I understand what the manual [1] says about LOCATION property that it is >>> more or less deprecated. Is that right? >>> >>> I'm buil

Re: [CMake] Get configuration-dependant LOCATION property

2010-10-03 Thread Mateusz Loskot
On 03/10/10 22:27, J Decker wrote: > On Sun, Oct 3, 2010 at 10:28 AM, Mateusz Loskot wrote: >> Hi, >> >> I understand what the manual [1] says about LOCATION property that it is >> more or less deprecated. Is that right? >> >> I'm building software (shared libraries and executables) on both, Linux

[CMake] Get configuration-dependant LOCATION property

2010-10-03 Thread Mateusz Loskot
Hi, I understand what the manual [1] says about LOCATION property that it is more or less deprecated. Is that right? I'm building software (shared libraries and executables) on both, Linux and Windows (using VS 2005, 2008, 2010) and I'm trying to find out what would be portable way to get target