Re: [CMake] FindBoost not setting Boost_LIBRARIES

2010-05-11 Thread Andrew Maclean
This works for me: #- # Boost # The automatic linking, uses the static version of the libraries. if(WIN32) set(Boost_USE_STATIC_LIBS ON) endif(WIN32) # Uncomment and edit if CMake cannot find boost. set(Boos

Re: [CMake] FindBoost not setting Boost_LIBRARIES

2010-05-11 Thread Michael Hertling
On 05/12/2010 01:06 AM, McNamara, Nate wrote: > Hello! > > I've been struggling with find_package(boost ...): although it succeeds > up to a point, it doesn't finish the job. I must be doing something > wrong. > > The output below shows that boost is found, and several of the expected > variable

[CMake] FindBoost not setting Boost_LIBRARIES

2010-05-11 Thread McNamara, Nate
Hello! I've been struggling with find_package(boost ...): although it succeeds up to a point, it doesn't finish the job. I must be doing something wrong. The output below shows that boost is found, and several of the expected variables are set, but Boost_LIBRARIES is not. I suspect that means t

Re: [CMake] Removing compiler flags for GCC for specific target (3 methods that don't work right)

2010-05-11 Thread Ryan Pavlik
On 5/11/2010 9:52 AM, Alok Govil wrote: Hi all, I am setting CMAKE_CXX_FLAGS to "-Wall -ansi -pedantic" but would like to remove these flags for compilation of UnitTest++. I tried three methods of doing this with some issue with each: 1. string (REPLACE "-Wall" "" CMAKE_CXX_FLAGS ${CMAKE_

Re: [CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread kent williams
Yeah binaries solve one problem, but not the problem of why the builds I do fail. It's not a show-stopper for our software development, but it is the sort of thing that should Just Work, and builds of current GIT repository worked fine a few weeks ago, and 2.8.1 built as well. Oh well! On Tue, Ma

Re: [CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread Bill Hoffman
On 5/11/2010 4:47 PM, kent williams wrote: I tried copying it to the suggested place, but it still didn't work. My solution, since I'm not a CMake developer, was to go back to using xterm -e ccmake instead of the Qt dialog. What about the nightly binaries created at Kitware: http://www.cmake.

Re: [CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread kent williams
> > > On Tuesday, May 11, 2010 11:03:48 am kent williams wrote: >> OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2 >> >> ../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui >> --qt-qmake=/opt/Qt-4.6.2/bin/qmake >> make >> make install >> >> /sc

Re: [CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread Clinton Stimpson
xed that. Clint On Tuesday, May 11, 2010 11:03:48 am kent williams wrote: > OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2 > > ../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui > --qt-qmake=/opt/Qt-4.6.2/bin/qmake > make > make install > > /scratch/kent/opt/CMake\ 2.9-

[CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread kent williams
OS X 10.5.8, Qt-4.6.2, g++-4.2 gcc-4.2 ../cmake/bootstrap --prefix=/scratch/kent/opt --qt-gui --qt-qmake=/opt/Qt-4.6.2/bin/qmake make make install /scratch/kent/opt/CMake\ 2.9-20100511.app/Contents/MacOS/CMake\ 2.9-20100511 Qt internal error: qt_menu.nib could not be loaded. The .nib file should

Re: [CMake] python DeprecationWarning marked as error

2010-05-11 Thread Tyler Roscoe
On Fri, May 07, 2010 at 01:55:44PM -0700, Tyler Roscoe wrote: > I have the following warning in my project build: > > /.../rs/sdk/trunk/internalheaders/minorrev/_build/util/svnutils.py:34: > DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. > > infile, lines = os.popen4("

[CMake] Removing compiler flags for GCC for specific target (3 methods that don't work right)

2010-05-11 Thread Alok Govil
Hi all, I am setting CMAKE_CXX_FLAGS to "-Wall -ansi -pedantic" but would like to remove these flags for compilation of UnitTest++. I tried three methods of doing this with some issue with each: 1. string (REPLACE "-Wall" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # And likewise for -ansi a

Re: [CMake] Installing compiled fortran *.mod files

2010-05-11 Thread Kelly Thompson
John, I'm not aware of any 'out of the box' way to install .mod files. Here's what I did for my project: First, I wrote a set of macros that would determine the how FC names module files (evidently there is no standard naming scheme) by using the try_compile() macro.Next, I created a m

[CMake] OpenOffice and CMake

2010-05-11 Thread Jussi Pakkanen
Hi all OpenOffice.org developers examined using CMake for their new build system. They chose something else, but they wrote a quite thorough evaluation report, which can be found here: http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=27093 Also note the link to the even more thorough wi

[CMake] Installing compiled fortran *.mod files

2010-05-11 Thread Biddiscombe, John A.
I can't seem to find a way of installing the compiled mod files from a mixed fortran/C/C++ project (on windows and linux). I can see all the mod files in ${CMAKE_Fortran_MODULE_DIRECTORY}, but various attempts to install them after compilation fail. My closest effort looks something like this

Re: [CMake] Unit tests, but not CTest

2010-05-11 Thread Magnus Therning
On Mon, May 10, 2010 at 17:28, Tyler Roscoe wrote: > Let's keep this on the list in case it helps someone else. > > On Fri, May 07, 2010 at 10:27:16PM +0100, Magnus Therning wrote: >> On 07/05/10 17:24, Tyler Roscoe wrote: >> > On Fri, May 07, 2010 at 04:41:23PM +0100, Magnus Therning wrote: >> >>

[CMake] CPack, optional files and windows service

2010-05-11 Thread Bo Thorsen
Hi everyone, I'm currently working on creating a windows installer for MariaDB (MySQL replacement, see http://www.mariadb.org). It's going quite well, and the installer seems to be working. I'm quite amazed at how simple it has been so far :) I have two things I'm working on that are not so

Re: [CMake] CPackRPM.cmake patch

2010-05-11 Thread Eric Noulard
2010/5/7 Eric Noulard : > > Thank you Erwan, > Would you be kind enough to open a feature request on the bug tracker > http://public.kitware.com/Bug/my_view_page.php I did open the bug myself before your message get too deep the mail stack: http://public.kitware.com/Bug/view.php?id=10701 I did a

Re: [CMake] VS6 generator: resource compilation MinSizeRel Bug

2010-05-11 Thread Michael Frommberger
Create Bug with ID 0010700 (http://public.kitware.com/Bug/view.php?id=10700). Original-Nachricht > Datum: Mon, 10 May 2010 12:03:28 -0400 > Von: Bill Hoffman > An: cmake@cmake.org > Betreff: Re: [CMake] VS6 generator: resource compilation MinSizeRel Bug > On 5/10/2010 7:51 AM,

Re: [CMake] Visual Studio 2010 Express

2010-05-11 Thread Micha Renner
Am Montag, den 10.05.2010, 12:15 -0400 schrieb Bill Hoffman: > On 5/10/2010 12:10 PM, Micha Renner wrote: > > Running this CMake script... > > > For VS 2010 express you should need a fix in git master, and can be > fixed for any 2.8.1 install. The fix is to copy the > Modules/CMakeVS10FindMake.cm