Re: [CMake] New FindMPI.cmake with multi-language support (was Re: FindMPI doesn't differentiate between languages)

2010-12-27 Thread Dave Partyka
This is very impressive Todd, :-) I will forward you directions on how you can submit this for code review. Also, I have a few projects we can test this with (VTK/ParaView), especially on Windows. As for _MPI_PACKAGE_DIR, I believe this may just be left over cruft that I thought I needed but ended

Re: [CMake] FindMPI doesn't differentiate between languages

2010-12-19 Thread Dave Partyka
Hi Todd, I have had similar thoughts about this module as well, especially for providing variables with each of MPI_{C/CXX/FORTRAN}_LIBRARIES but often the easy way around this is to set CC/CXX/FC environment variables to their respective mpi compilers before ever running cmake and generally got m

Re: [CMake] Concise Example of BundleUtilities for Windows

2010-12-11 Thread Dave Partyka
Whats wrong with ParaView's CMake code? ;-) The relevant section to doing bundle utilities on non Mac Platforms is this blob from ParaView\Applications\ParaView\CMakeLists.txt set(DIRS) # directories to search for prerequisites IF(PARAVIEW_BUILD_QT_GUI) list(APPEND DIRS ${QT_BINARY_DIR} ${QT_L

Re: [CMake] CMake bug tracker discussion

2010-12-09 Thread Dave Partyka
Bug trackers make people accountable and make it easy for tasks to be delegated and tracked. BUT, someone has to take on the responsibility of assigning bugs as the come in and/or closing bugs/feature requests that aren't going to be developed on any time soon, thus keeping the number of bugs in th

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

2010-11-30 Thread Dave Partyka
It will search standard locations (/usr/include & /usr/lib) for the headers and libs. Set MPI_LIBRARY and MPI_INCLUDE_PATH if it doesn't locate them for you automatically. The FindMPI module does interrogate the mpicc compiler for some of this information but I am not sure if that is the case on Wi

Re: [CMake] [Titan-developers] Forcing 'out-of-source' build

2010-11-26 Thread Dave Partyka
I am not sure if you can prevent it from generating those files but you could remove those files with file(REMOVE ...) in your IF(insource) block. On Fri, Nov 26, 2010 at 3:24 PM, Wylie, Brian wrote: > Hi All, > > I want to force an 'out-of-source' build for a small project that I > converted to

Re: [CMake] [cmake-developers] Bug fix requests for the *next* release of CMake...

2010-11-04 Thread Dave Partyka
I am not sure if this is a reported bug (I can report it now if it isn't reported already). Using ExternalProject with a git repo and specifying a sha1 revision via GIT_TAG will blow away the entire source directory whenever the revision is changed. This leads to complete rebuilds of said project.

Re: [CMake] CPack - Mac OS X Universal dmg

2010-06-20 Thread Dave Partyka
When configuring your build set *CMAKE_OSX_ARCHITECTURES * to both the architectures you wish to build. For example 'i386;ppc'. This will produce libraries/executables with both architectures embedded in them. You can check this by just running the 'file' command on any of the libraries/executables

Re: [CMake] FindMPI and setting C/C++ compiler

2010-05-26 Thread Dave Partyka
The way I have accomplished this is to: export CC=mpicc export CXX=mpicxx blow away your build tree and then re-configure re-generate On Wed, May 26, 2010 at 11:38 AM, Michael Wild wrote: > > On 26. May, 2010, at 17:20 , Marcel Loose wrote: > > > Hi all, > > > > I was wondering how one should

Re: [CMake] No Native 64-Bit CMake Binaries?

2010-05-06 Thread Dave Partyka
My understanding of dashmacmini4 is that it isn't 64bit. If I download a 64bit app onto it, it will show a cross symbol through the app icon and display errors that this architecture is not supported if you attempt to run it. It was originally a Leopard machine that was upgraded. I think when you d

Re: [CMake] ExternalProject vs add_subdirectory (was Re: SubProject configuration in same build as host)

2010-04-15 Thread Dave Partyka
e this would be a good thing to add to the ExternalProject > macro itself -- have it define the variables a project would need to > use the ExternalProject once it's built. Then at configure time, the > build system should be generated so that anything depending on an > ExternalProje

Re: [CMake] SubProject configuration in same build as host

2010-04-15 Thread Dave Partyka
Just thinking out loud but we could make an "external_project" call instead. This would sync, configure, build and install it easily without needing to override anything. And then ParaView would just FindPackage(HDF5) with the internal build directory as a hint. On Thu, Apr 15, 2010 at 5:40 AM, Bi

Re: [CMake] HOW DO I: Build VTK with CMake/ExternalProject_add against Qt with Cocoa on OS X?

2010-04-13 Thread Dave Partyka
I am "pretty sure" carbon/cocoa are switched on/off by whatever QT tells VTK to use: (VTK/CMakeLists:306) If this logic is not working correctly please let me know. IF(VTK_USE_QT) # Now require Qt 4.5.0 or later SET(QT_MIN_VERSION "4.5.0") SET(QT_OFFICIAL_VERSION "4.5") SET(QT_REQUIRED TRUE

Re: [CMake] CMake built with Apache stdcxx has problems?

2010-04-06 Thread Dave Partyka
Hi Attila, I can take a look at this if you want. I helped Bill track it down. On Tue, Apr 6, 2010 at 3:36 PM, Attila Nagy wrote: > > Hi Bill, > > thanks for looking into this! I'll give your suggestions a try in the > following days. > Hereby I cc Steve, so he's aware of the outcome of this iss

Re: [CMake] git too difficult CMake switching to sccs

2010-04-01 Thread Dave Partyka
LOL! On Thu, Apr 1, 2010 at 7:18 AM, Bill Hoffman wrote: > After trying git for a while, the CMake developers have decided that git > is way too complicated, and allows too many edits to take place > simultaneously. So, we have decided to use sccs instead. With sccs, only > one developer at a

Re: [CMake] Still no luck with visual studio 2008

2010-03-18 Thread Dave Partyka
If you are using prebuilt Qt binaries from Nokia there are two flavors, 1 built with mingw and the other built with VS 2008. Try the one built with VS 2008. http://qt.nokia.com/downloads/windows-cpp-vs2008 On Wed, Mar 17, 2010 at 10:57 PM, Mike Jackson wrote: > Did you compile Qt with Visual Stu

Re: [CMake] Building paraview with shared libraries

2010-02-18 Thread Dave Partyka
Chances are you need to blow away your build tree, turn on shared libs, and then rebuild. On Thu, Feb 18, 2010 at 10:13 AM, J Cook wrote: > Hi > I am currently trying to build paraview from the source code with shared > libraries. I was able to build this code using CMake 2.8.0 and microsoft > v

Re: [CMake] Visual Studio with static runtime

2010-01-15 Thread Dave Partyka
I think you just change the appropriate flag in CMAKE_CXX_FLAGS_ variable to control this. By Default It uses the Dll runtime via the MD/MDd flags. See this table for the other variations of this flag. http://msdn.microsoft.com/en-us/library/abx4dbyh(VS.71).aspx On Fri, Jan 15, 2010 at 1:10 PM,

Re: [CMake] FindQt in a Specific place?

2010-01-13 Thread Dave Partyka
I think if you set these two variables you will get the same desired result. set(DESIRED_QT_VERSION 4) set(QT_QMAKE_EXECUTABLE /home/qt/4.6.0/bin/qmake) On Wed, Jan 13, 2010 at 1:07 PM, James Willis wrote: > Is there any good way of telling findqt (I don't really care about findqt3) > where to

Re: [CMake] Problem CMAKE to compile VTK windows 7

2010-01-13 Thread Dave Partyka
Did you select the VS 2008 64bit generator in CMake but not install the 64bit compiler? It is not installed by default, you have to do a custom install and select it manually. On Wed, Jan 13, 2010 at 8:40 AM, Leandro Gazoni wrote: > Dears, > > I'm have a problem to generate a project to compile

Re: [CMake] Cannot browse www.cmake.org?

2010-01-11 Thread Dave Partyka
Hi Eric, Our IT staff just notified us that we are experiencing external DNS issues and that they hope to have them resolved soon. On Mon, Jan 11, 2010 at 10:36 AM, Eric Noulard wrote: > I'm currently unable to reach CMake web site? > > I'm in Europe (France) with no noticable connectivity loss