Re: [CMake] find_package with ###Config.cmake

2010-12-02 Thread Andreas Pakulat
On 03.12.10 07:11:23, Micha Renner wrote: > There is a small library "TLib" which is installed like this > > Install the project... > -- Install configuration: "Debug" > -- Installing: /usr/local/lib/libTLibd.so > -- Installing: /usr/local/lib/TLib/TLibExport.cmake > -- Installing: /usr/local/lib/

[CMake] find_package with ###Config.cmake

2010-12-02 Thread Micha Renner
There is a small library "TLib" which is installed like this Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/lib/libTLibd.so -- Installing: /usr/local/lib/TLib/TLibExport.cmake -- Installing: /usr/local/lib/TLib/TLibExport-debug.cmake -- Installing: /usr/local/in

[CMake] Configure common headers for Visual Studio 2010 Express

2010-12-02 Thread Tron Thomas
I'm developing a cross platform application written in C++, and I'm using CMake to configure the build settings for each platform. The project has common include files that need to be applied to all the targets built in the project. To that end, the beginning of my main CMakeList.txt script loo

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread Bill Hoffman
On 12/2/2010 7:10 AM, salwa wrote: thanks. it look's like i'm the only one :( there is this blog: http://sites.google.com/site/michaelsafyan/coding/articles/iphone/cross-compiling-for-the-iphone-using-cmake -Bill ___ Powered by www.kitware.com Vis

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Raymond Wan
Hi Rolf, On Thu, Dec 2, 2010 at 23:36, Rolf Eike Beer wrote: > Let's say you have > > dirA, dirB, dirC > > dirA builds a lib > dirB builds a lib that needs libA > dirC builds a target that needs libA and libB > > Then you can't do > > > libB/CMakeLists.txt >  ADD_SUBDIRECTORY(../dirA dira) > > l

[CMake] Пикап

2010-12-02 Thread Vovan
Пикап блог один из лучший информативных сайтов о в Украине, который помогает мужчинам в разы улучшить их личную и сексуальную жизнь дает ответы на вопрос как поÐ

[CMake] Женская логика

2010-12-02 Thread Vovan
Хотите понимать женщин? Знать реальные их мысли, когда они пытаются спрятать их за совершенно отвлеченными речами? На практических тренингах Академии Знакомств

Re: [CMake] test property COST not working in cmake 2.8.3?

2010-12-02 Thread Tyler Roscoe
I've taken the liberty of adding this bug to the tracker: http://www.cmake.org/Bug/view.php?id=11561 Can someone give me an idea of how involved this fix is? If it cannot be fixed in short order, I'll be forced to hack around the change in COST's behavior in my own scripts. Fixing the problem at

[CMake] Need some directions for non-trivial setup

2010-12-02 Thread Klaim
Hi! I'm currently trying to understand how to use CMake for a non-trivial setup of multiple-projects-framework. I'm a beginner at CMake (as developer I mean, not as library user). I've read the docs and I tried to read the Ogre project CMake organization but it's a bit overkill for my project I th

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Rolf Eike Beer
> Hi Michael, > > > On Thu, Dec 2, 2010 at 19:40, Michael Hertling > wrote: >> On 12/01/2010 06:03 PM, Raymond Wan wrote: >>> Ah! Â I see. Â Then is it recommended that this top-level >>> CMakeLists.txt >>> have just these lines, or should I move the ADD_EXECUTABLE, etc. lines >>> here as well? Â

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Raymond Wan
Hi Michael, On Thu, Dec 2, 2010 at 19:40, Michael Hertling wrote: > On 12/01/2010 06:03 PM, Raymond Wan wrote: >> Ah!  I see.  Then is it recommended that this top-level CMakeLists.txt >> have just these lines, or should I move the ADD_EXECUTABLE, etc. lines >> here as well?  Or is this really "

[CMake] CPACK on windows

2010-12-02 Thread Otmane Lahlou
Hi List, When packaging my project, i want my project in the start menu to be organised in several directories : In the windows StartMenu i'd like to have something like that : StartMenu -> Programs -> MyProject -> Directory1 -> {My stuffs 1}

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-12-02 Thread S Roderick
On Dec 2, 2010, at 04:35 , Michael Wild wrote: > On 12/02/2010 10:18 AM, Marcel Loose wrote: > On 30-11-2010 at 18:48, in message >> <20101130174852.gc10...@cryptio.net>, Tyler >> Roscoe wrote: >>> On Thu, Nov 25, 2010 at 02:01:31PM +0100, Marcel Loose wrote: >>> On 24-11-2010 at 17:45,

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread Michael Wild
On 12/02/2010 02:22 PM, luxInteg wrote: > On Thursday 02 December 2010 10:10:59 Michael Wild wrote: > >> >> No, you can't. CMake simply concatenates the strings when you do >> ${CMAKE_SOURCE_DIR}/${sipED-SRS}. You'll have to put CMAKE_BINARY_DIR >> (or equivalent, like CMAKE_CURRENT_BINARY_DIR) in

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
On Thursday 02 December 2010 10:10:59 Michael Wild wrote: > > No, you can't. CMake simply concatenates the strings when you do > ${CMAKE_SOURCE_DIR}/${sipED-SRS}. You'll have to put CMAKE_BINARY_DIR > (or equivalent, like CMAKE_CURRENT_BINARY_DIR) in front of every element > in sipED-SRCS. A few

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread salwa
thanks. it look's like i'm the only one :( Date: Thu, 2 Dec 2010 04:01:20 -0800 From: ml-node+5795741-701463057-305...@n2.nabble.com To: alqun...@hotmail.com Subject: Re: CMake Xcodeproject I don't really have time or funding to investigate this further in the short term. (And I can'

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread David Cole
I don't really have time or funding to investigate this further in the short term. (And I can't get the attachments you sent, perhaps you could post them somewhere public, rather than trying to attach them in email?) Is there anybody else on this list doing iPhone/iPad stuff with CMake that can ch

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread salwa
thanks again. i have hand-created an simple app (Testend) => it worksand once created from this with CMake (out) => not works error:Check dependencies target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform this says: it

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread David Cole
If it works without CMake, but not with CMake, then ... clearly there's a difference between your hand-crafted Xcode project file and the CMake generated one. What is that difference? Did you do any diff-ing to find out? Please send a link to your whole project tree, including the hand-crafted Xco

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread David Cole
On Thu, Dec 2, 2010 at 5:40 AM, Michael Hertling wrote: > On 12/01/2010 06:03 PM, Raymond Wan wrote: > > Hi Michael, > > > > > > On Thu, Dec 2, 2010 at 01:03, Michael Hertling > wrote: > >> On 12/01/2010 08:18 AM, Raymond Wan wrote: > >>> Hi all, > >>> > >>> I'm having a problem understanding how

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread salwa
thanks for your answer.i don't think so, i'm sure my source code is correct. It's working without CMake-genarator and not with. Date: Wed, 1 Dec 2010 08:48:00 -0800 From: ml-node+5792557-1608429790-305...@n2.nabble.com To: alqun...@hotmail.com Subject: Re: CMake Xcodeproject This lo

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Michael Hertling
On 12/01/2010 06:03 PM, Raymond Wan wrote: > Hi Michael, > > > On Thu, Dec 2, 2010 at 01:03, Michael Hertling wrote: >> On 12/01/2010 08:18 AM, Raymond Wan wrote: >>> Hi all, >>> >>> I'm having a problem understanding how I can link to an archive in >>> another directory which is not a subdirect

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread Michael Wild
On 12/02/2010 11:54 AM, luxInteg wrote: > On Thursday 02 December 2010 07:48:55 Michael Wild wrote: >> On 12/02/2010 08:25 AM, Alan W. Irwin wrote: >>> On 2010-12-02 06:32+0100 Michael Wild wrote: On 12/02/2010 12:37 AM, luxInteg wrote: > On Tuesday 30 November 2010 22:43:34 luxInteg wrote

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread luxInteg
On Thursday 02 December 2010 07:48:55 Michael Wild wrote: > On 12/02/2010 08:25 AM, Alan W. Irwin wrote: > > On 2010-12-02 06:32+0100 Michael Wild wrote: > >> On 12/02/2010 12:37 AM, luxInteg wrote: > >>> On Tuesday 30 November 2010 22:43:34 luxInteg wrote: > Greetings > > I an lear

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-12-02 Thread Michael Wild
On 12/02/2010 10:18 AM, Marcel Loose wrote: On 30-11-2010 at 18:48, in message > <20101130174852.gc10...@cryptio.net>, Tyler > Roscoe wrote: >> On Thu, Nov 25, 2010 at 02:01:31PM +0100, Marcel Loose wrote: >> On 24-11-2010 at 17:45, in message >>> <20101124164507.gg23...@cryptio.net>, Ty

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-12-02 Thread Marcel Loose
>>> On 30-11-2010 at 21:36, in message <759ee5dc-038d-4c17-91da-98121049a...@mac.com>, S Roderick wrote: > On Nov 30, 2010, at 13:40 , David Cole wrote: > >> It probably works "accidentally" if you do the set before the project > command. > > That is what we do, and it definitely works for us.

Re: [CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-12-02 Thread Marcel Loose
>>> On 30-11-2010 at 18:48, in message <20101130174852.gc10...@cryptio.net>, Tyler Roscoe wrote: > On Thu, Nov 25, 2010 at 02:01:31PM +0100, Marcel Loose wrote: >> >>> On 24-11-2010 at 17:45, in message >> <20101124164507.gg23...@cryptio.net>, Tyler >> Roscoe wrote: >> > On Wed, Nov 24, 2010 at

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-02 Thread Dmytro Ovdiienko
Hicham, You can force boost to add compiler name to the library file name. Add "--layout=versioned" to the bjam command line. On 1 December 2010 00:37, Hicham Mouline wrote: > As boost libraries naming convention doesn't include in the lib names > whether they are built by msvc9 win32 or x64,

[CMake] Boost and multiplatform configurations

2010-12-02 Thread Dmytro Ovdiienko
Hello all, I have a library that depends on boost. One user of this library compiles only x32 version. Second user compiles x64. Third user compiles both x32 and x64. First user has only x32 version of the boost in the BOOST_LIBRARYDIR. Second user only x64 version in the BOOST_LIBRARYDIR. Third

Re: [CMake] cmake PyQT/SIP

2010-12-02 Thread Alan W. Irwin
On 2010-12-02 08:58+0100 Michael Wild wrote: On 12/02/2010 08:25 AM, Alan W. Irwin wrote: On 2010-12-02 06:32+0100 Michael Wild wrote: On 12/02/2010 12:37 AM, luxInteg wrote: On Tuesday 30 November 2010 22:43:34 luxInteg wrote: Greetings I an learnig cmake. My test project is as follows: