Re: [CMake] Building Texinfo with CMake

2010-10-06 Thread Michael Wild
On 7. Oct, 2010, at 2:33 , Jashank Jeremy wrote: > Hi, > > I have a Texinfo file in my project, and I'd like to tie it in with my > CMake build. How do I do so? > > Jashank > find_program(MAKEINFO_EXECUTABLE makeinfo) set(info_in ${CMAKE_CURRENT_SOURCE_DIR}/bla.texi) set(info_out ${CMAKE_CUR

Re: [CMake] What does find_package(COMPONENTS) do? and

2010-10-06 Thread Andreas Pakulat
On 06.10.10 22:47:15, Stephen Kelly wrote: > Hi, > > The documentation says > > > A package-specific list of components may be listed after the REQUIRED > > option or after the COMPONENTS option if no REQUIRED option is given. > > http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:fin

Re: [CMake] Disallowing in-source builds

2010-10-06 Thread Philip Lowman
On Wed, Oct 6, 2010 at 2:10 PM, wrote: > *Hi all.* > > * * > > *Is there a good way to disallow in-source builds? Ideally, I’d like to > prevent it before any cruft is written into the source tree. I experimented > with writing a function into my CMakelists file and calling it. The > function

Re: [CMake] Boost Library Search

2010-10-06 Thread Philip Lowman
On Wed, Oct 6, 2010 at 7:55 PM, assume_R wrote: > Hey all. So I noticed a possible bug with the way boost is searched in > findboost.cmake. > > Essentially, if you have the boost static runtimes installed, that's what > Visual Studio will require. For example, using the thread library, it will

[CMake] Help tracking down a problem

2010-10-06 Thread Travis Jensen
I'm trying to build a project using cmake (firebreath). I am stuck at a particular point (details later). I can build other projects without running into this problem. Other people can build firebreath without running into this problem. The obvious conclusion is that I've got something weird go

[CMake] Building Texinfo with CMake

2010-10-06 Thread Jashank Jeremy
Hi, I have a Texinfo file in my project, and I'd like to tie it in with my CMake build. How do I do so? Jashank -- Jashank Jeremy PGP: 0x25A5C309 pgpYqQIZel2gu.pgp Description: PGP signature ___ Powered by www.kitware.com Visit other Kitware open-s

Re: [CMake] Boost Library Search

2010-10-06 Thread David Cole
Philip Lowman recently took the mantle for the FindBoost maintenance. He fixed a bunch of stuff just now for the upcoming (now in release candidate phase) CMake 2.8.3 release... Are you reporting this based on CMake 2.8.3-rc2 or an earlier release of CMake? Try using the release candidate. I know

[CMake] Boost Library Search

2010-10-06 Thread assume_R
Hey all. So I noticed a possible bug with the way boost is searched in findboost.cmake. Essentially, if you have the boost static runtimes installed, that's what Visual Studio will require. For example, using the thread library, it will need libboost_thread*-sgd* Yet the non-static-runtime vers

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

2010-10-06 Thread Rolf Eike Beer
Am Monday 05 July 2010 schrieb David Cole: > Hi all, > > Now that we have released CMake 2.8.2 last Monday, and we have switched to > this new workflow using branches in the git repository, *now* would be a > great time to prioritize bug fixes for the next release of CMake. http://public.kitware.

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-06 Thread Clifford Yapp
I use $(MAKE) in my BUILD_COMMAND and that seems to do OK, although I don't know if it works universally. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[CMake] How would I use parallel make on ExternalProjects?

2010-10-06 Thread kent williams
I'd like to use parallel make to build libraries like ITK and VTK which are rather time-consuming. This simple-minded (and non portable) method works: In the ExternalProject_Add macro, add BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} -j4 But that only works if CMAKE_MAKE_PROGRAM understands the '-j4' fla

[CMake] What does find_package(COMPONENTS) do? and

2010-10-06 Thread Stephen Kelly
Hi, The documentation says > A package-specific list of components may be listed after the REQUIRED > option or after the COMPONENTS option if no REQUIRED option is given. http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package But it doesn't say why you would want to do that

[CMake] Updated: CMake 2.8.2-1

2010-10-06 Thread Bill Hoffman
CMake 2.8.2-1 is now available on Cygwin mirrors. Here are the changes for CMake 2.8.2: No changes in CMake 2.8.2 since 2.8.2-rc4. Changes in CMake 2.8.2-rc4 (since 2.8.2-rc3) Bill Hoffman (1): Fix for bug #10859, ctest exit exception incorrec

[CMake] Disallowing in-source builds

2010-10-06 Thread aaron.meadows
Hi all. Is there a good way to disallow in-source builds? Ideally, I'd like to prevent it before any cruft is written into the source tree. I experimented with writing a function into my CMakelists file and calling it. The function checked if CMAKE_BINARY_DIR was equal to CMAKE_SOURCE_DIR an

Re: [CMake] VS2010 TargetName fix

2010-10-06 Thread David Cole
Robert, Thanks for your email (and your previous report of the same issue...) It was fixed on Sept. 6 with this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68 The fix is available for testing in the just now released CMake 2.8.3-rc2 release ca

[CMake] VS2010 TargetName fix

2010-10-06 Thread Robert Goulet
Hello folks, I would like to submit a patch to the Visual Studio 2010 generator, about the property TargetName. The issue is with target names that contain more than one dot in it. For example, if your project target name is "hello-10.2.3.dll" then TargetName get set to "hello-10". It should ha

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
On Wed, 6 Oct 2010 11:58:05 -0400 David Cole wrote: > Put double quotes on these lines (and lines like them) so that > CMAKE_CXX_FLAGS is a single space separated string. Ahhh, I see. That solves it. Thanks. Looks like I need to do lots of work on the CMakeLists.txt files to get them to work o

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread David Cole
Actually, looks like vice-versa from what I said... Put double quotes on these lines (and lines like them) so that CMAKE_CXX_FLAGS is a single space separated string. set(CMAKE_CXX_FLAGS "-Wwrite-strings -std=c++0x -pedantic-errors -pedantic -Wall -W -Weffc++ -Wmain -Wextra -DBUILD_DLL") set(CMAKE

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
On Wed, 6 Oct 2010 11:09:36 -0400 David Cole wrote: > Looks to me like somebody quoted a ${CMAKE_CXX_FLAGS} reference where > they should not have quoted it... I can believe it, sounds like my work. ;) > What does the CMakeLists.txt file look like? Hmm. I'll link you directly to the files in

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread David Cole
Looks to me like somebody quoted a ${CMAKE_CXX_FLAGS} reference where they should not have quoted it... What does the CMakeLists.txt file look like? On Wed, Oct 6, 2010 at 11:02 AM, wrote: > > Hi list, > > Found some odd behaviour while setting up CMake on Windows XP. I've > tried to correct t

[CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
Hi list, Found some odd behaviour while setting up CMake on Windows XP. I've tried to correct the word-wrapping cmd.exe does, not always successfully; I hope you can read this: C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake>rm -r * C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake>cmake ..

Re: [CMake] CMakeDetermineVSServicePack.cmake support for vs2010

2010-10-06 Thread aaron.meadows
Done: Issue 0011292 Cheers! --aaron Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Meadows, Aaron C. Sent: Tuesday, October 05, 2010 9:24 AM To: phi...@yhbt.com Cc: cmake@cmake.org Subject: Re: [CMake] CMa