Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread Michael Wild
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:- >>> linux machine w

Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread Michael Wild
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:- >>> linux machine w

Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread Alan W. Irwin
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:- linux machine with pyQt4, sip-4.10.2,qt-4.6.2 and cmake-2.8.2 ---stepA: I have a file -fil

Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread Michael Wild
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:- > linux machine with pyQt4, sip-4.10.2,qt-4.6.2 and cmake-2.8.2 > > ---stepA: I have a file -fileA.sip. > ---stepB: Upon ex

Re: [CMake] cmake PyQT/SIP

2010-12-01 Thread luxInteg
On Tuesday 30 November 2010 22:43:34 luxInteg wrote: > Greetings > > I an learnig cmake. My test project is as follows:- linux machine with pyQt4, sip-4.10.2,qt-4.6.2 and cmake-2.8.2 ---stepA: I have a file -fileA.sip. ---stepB: Upon execution of fileA.sip two files files -fileC.cpp and f

Re: [CMake] cmake qt4 for dummies

2010-12-01 Thread luxInteg
On Thursday 25 November 2010 02:04:51 luxInteg wrote: > On Wednesday 24 November 2010 17:35:16 John Clayton wrote: > > Woops, I meant the > > > >qt4_wrap_cpp > > > > macro. > > thanks v helpful I find the build directory with the moc files (i.e. a sub/sub ... directory of the main build d

[CMake] Unified FindSDL module

2010-12-01 Thread Carles Pagès
Hi all, I needed to tweak the find sdl modules to use them to cross-compile for the Wii, so I decided to rewrite them in a unified module (used like: find_package (SDL REQUIRED ttf gfx image net)). I'm posting it here in case anyone finds it useful. It's not very polished, but I tried to keep all

Re: [CMake] Makefile to CMakeLists.txt (GTEST)

2010-12-01 Thread Ben Medina
Note that recent versions of gtest come with a CMakeLists.txt, so you can just use add_subdirectory on the gtest source tree. - Ben On Wed, Dec 1, 2010 at 7:59 AM, Kevyn-Alexandre Paré wrote: > Philip, > > Thx for the reply. Neither of these solutions change a thing. > > I try to play with ADD_C

Re: [CMake] Linking archives in a sibling directory

2010-12-01 Thread Raymond Wan
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 subdirectory. For example: >> >> myproj >>   +-- main >>     +--

Re: [CMake] providing library information, what's the cmake way

2010-12-01 Thread Johannes Zarl
On 12/01/2010 at 16:06, Michael Hertling wrote: >> FIND_PACKAGE(XXX COMPONENTS YYY) >> ... >> ADD_SUBDIRECTORY(subdir) >> ... >> TARGET_LINK_LIBRARIES(AAA ${XXX_LIBRARIES}) >> TARGET_LINK_LIBRARIES(BBB ${XXX_LIBRARIES} ${XXX_YYY_LIBRARIES}) >> >> In subdir/CMakeLists.txt: >> >> FIND_PACKAGE(XXX

Re: [CMake] CMake Xcodeproject

2010-12-01 Thread Ryan Pavlik
This looks like an issue with your code, rather than the build. Ryan On Wed, Dec 1, 2010 at 5:03 AM, salwa wrote: > > Hi, i send this message to the mailing list bevor but nobody answer!! > i create an Xcodeproject with CMake and when i build it, it get's this > error's: > In file included from

Re: [CMake] VS 2010 PlatformToolset vc9

2010-12-01 Thread Brad King
On 12/1/2010 9:45 AM, Gary%20G.%20Little%20%40%20comcast wrote: I have a Visual Studio 2010 solution and I am trying to set the Configuration Properties -> General -> Platform Toolset of one particular project to use V90 to allow this project to build with the VS 2008 tool set. I followed an olde

Re: [CMake] Linking archives in a sibling directory

2010-12-01 Thread Michael Hertling
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 subdirectory. For example: > > myproj > +-- main > +-- CMakeLists.txt > +-- source files for main program > +-- dir-A > +-

Re: [CMake] Makefile to CMakeLists.txt (GTEST)

2010-12-01 Thread Kevyn-Alexandre Paré
Philip, Thx for the reply. Neither of these solutions change a thing. I try to play with ADD_CUSTOM_TARGET but same error... ADD_CUSTOM_TARGET(RRThread.o ALL COMMAND ${CMAKE_C_COMPILER} -I ${MICRONTRACKER_COMMON_PATH} -I${GTEST_HEADER_PATH} -lpthread -c ${MICRONTRACKER_COMMON_PATH}RRThread.c ${U

Re: [CMake] (no subject)

2010-12-01 Thread Michael Hertling
On 12/01/2010 03:45 PM, Gary%20G.%20Little%20%40%20comcast wrote: > I have a Visual Studio 2010 solution and I am trying to set the > Configuration Properties -> General -> Platform Toolset of one > particular project to use V90 to allow this project to build with the VS > 2008 tool set. I follo

Re: [CMake] providing library information, what's the cmake way

2010-12-01 Thread Michael Hertling
On 11/30/2010 01:32 PM, Johannes Zarl wrote: - Do multiple consecutive FIND_PACKAGE(XXX ...) invocations act in an accumulative manner on the invocation-specific variables? >>> >>> Generally speaking, I would say: yes. At least this is the way of the >>> least surprise for the user, as i

[CMake] (no subject)

2010-12-01 Thread Gary%20G.%20Little%20%40%20comcast
I have a Visual Studio 2010 solution and I am trying to set the Configuration Properties -> General -> Platform Toolset of one particular project to use V90 to allow this project to build with the VS 2008 tool set. I followed an older thread and tried this: set_target_properties(WindowsApplica

[CMake] CMake Xcodeproject

2010-12-01 Thread salwa
Hi, i send this message to the mailing list bevor but nobody answer!! i create an Xcodeproject with CMake and when i build it, it get's this error's: In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/

Re: [CMake] FindMPI: finding openmpi libs and includes

2010-12-01 Thread Hicham Mouline
Isn't the red bold line with arrows after it intended to be: foreach(MpiPackageDir ${(_MPI_PACKAGE_DIR }) instead? _ You have this snippet in there: set(_MPI_PACKAGE_DIR mpi mpich openmpi lib/mpi lib/mpich lib/openmpi "MPICH/SDK" "Microsoft Compute C

Re: [CMake] FindMPI: finding openmpi libs and includes

2010-12-01 Thread Hicham Mouline
You have this snippet in there: set(_MPI_PREFIX_PATH) if(WIN32) list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH\\SMPD;binary]/..") list(APPEND _MPI_PREFIX_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MPICH2;Path]") endif() foreach(SystemPrefixDir ${CMAKE_SYSTEM_PREFIX_PAT