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_PATH})

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

[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

[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:

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 in sufficiently

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 followed

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

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] 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 older

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 alqun...@hotmail.com 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

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 mhertl...@online.de 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] Linking archives in a sibling directory

2010-12-01 Thread Raymond Wan
Hi Michael, On Thu, Dec 2, 2010 at 01:03, Michael Hertling mhertl...@online.de 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] 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é kap...@rogue-research.com wrote: Philip, Thx for the reply. Neither of these solutions change a thing. I

[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] 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 execution of

Re: [Cmake-commits] Using set_target_properties

2010-12-01 Thread Brad King
Hi Gary, Please bring questions to the main CMake list: http://www.cmake.org/mailman/listinfo/cmake with address cm...@cmake.org. This list is for automated commit notifications only. On 11/30/2010 01:00 PM, Gary%20G.%20Little%20%40%20comcast wrote: I have a Visual Studio 2010 solution and I

[Cmake-commits] CMake branch, next, updated. v2.8.3-719-gac19b42

2010-12-01 Thread Zach Mullen
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ac19b42662ba8030e508bbcdd0d76dc23bcdc96d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-721-ga066d45

2010-12-01 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via a066d4551019801f93ab1f078a440f57db3730c1 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-723-g0be0d8e

2010-12-01 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 0be0d8e285fca08a9491195529931f2002133c8c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-725-g4f3ede9

2010-12-01 Thread Eric Noulard
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 4f3ede998ddb93d8e14ffcc2ff4547d984f84cf9 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-727-g689c57e

2010-12-01 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 689c57e1999f8dbd880cb307e2659f20cc0c6433 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-140-g746d54a

2010-12-01 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 746d54a8430075a634d1086f484bfe72d13293be (commit) from