Re: [CMake] win32 and x64 in the same generator?

2009-06-02 Thread Sergey Rudchenko
Philip Lowman wrote: On Mon, Jun 1, 2009 at 6:29 PM, Tyler Roscoe > wrote: What are the pitfalls or difficulties in supporting this sort of "cross-compiling" in Visual Studio? Two things come to mind: 1. find_library() (i.e. dependencies).. How would you pick

Re: [CMake] Basic Tutorial Help

2009-05-28 Thread Sergey Rudchenko
*Hi Adam,* ** *Here is the basic rewrite of that tutorial in the imperative. I'll consider writing a tutorial in a step-by-step manner, but here is just a quick adaptation for now.* ** --** **Wbr, Sergey ** *The following example *demonstrates some key ideas of CMake. Make sure that you have C

Re: [CMake] Generated file dependency

2009-04-23 Thread Sergey Rudchenko
On Thu, 2009-04-23 at 13:37 +0300, Nikolay Mitev wrote: > Hi > > I have the following situation: > > files: test.cpp test.h > > I want to process the file test.cpp with a custom pre-processor which > will generate, say, test.ii.cpp which will get compiled into > libtest.a. test.cpp just includes

Re: [CMake] Imported libraries lookup

2009-04-22 Thread Sergey Rudchenko
On Wed, 2009-04-22 at 11:01 -0400, Brad King wrote: > Don't use GetLinkLibraries. It's the "old-style" link computation results > which had some bugs. If you're computing a set of libraries to specify > for linking in a project file, use cmComputeLinkInformation: > >cmComputeLinkInformation*

Re: [CMake] Imported libraries lookup

2009-04-22 Thread Sergey Rudchenko
On Wed, 2009-04-22 at 10:41 -0400, Brad King wrote: > In general the generators should never have to see any imported > targets. > If you have a "cmTarget*" you can always ask its IsImported() method. Thanks, Brad. Now it's clean for we how things should be implemented. So there is one straight p

Re: [CMake] Imported libraries lookup

2009-04-22 Thread Sergey Rudchenko
On Wed, 2009-04-15 at 13:23 -0400, Brad King wrote: > Sergey Rudchenko wrote: > > Hi all, > > > > My global generator adds some imported libraries in EnableLanguage > > method, but the TARGET_LINK_LIBRARIES command doesn't obey that fact the > > librar

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Sergey Rudchenko
В Чтв, 16/04/2009 в 13:58 +0200, Andreas Pakulat пишет: > On 16.04.09 07:31:54, Michael Jackson wrote: > > Basically what this boils down to is there may need to be a new generator > > for QtCreator. This would require cooperation between the QtCreator team > > and the developers creating that gene

[CMake] Imported libraries lookup

2009-04-15 Thread Sergey Rudchenko
the 2.6.2 source tree. Please, help me to understand where am I wrong. -- Best regards, Sergey Rudchenko ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Hi Beginner to Cmake and ITK

2009-02-13 Thread Sergey Rudchenko
You should start with the CMake manual, I think. Here you can find everything you need to start developing with CMake: http://www.cmake.org/Wiki/CMake -- Best regards, Sergey Rudchenko On Fri, 2009-02-13 at 09:38 -0800, neel vinoth wrote: > Hi All, > >I am jumping

Re: [CMake] Setting macro while compiling through cmake

2009-02-12 Thread Sergey Rudchenko
ankit jain wrote: Hi all, If i want to compile through g++ as: g++ -Dname=value The same if i want to do with cmake how to do it. Whether i need to make some entry in CMakeCache.txt or somewhere else? Ankit See ADD_DEFINITIONS in the CMake manual. -- Best regards, Sergey Rudchenko