Re: [CMake] FindHDF5.cmake improvement proposal

2010-03-06 Thread Antonio Valentino
Hi Will, Il giorno Tue, 02 Mar 2010 09:07:48 -0700 Will Dicharry ha scritto: > Antonio Valentino wrote: > > Hi list, > > pasted below a snippet I use in a project of mine to handle HDF5 > > library. > > The purpose is to improve detection of required library zlib and > > szip in cases when the H

Re: [CMake] Watcom Support

2010-03-06 Thread J Decker
> Is there > > CMAKE_C_FLAGS_EXE_INIT and CMAKE_C_FLAGS_SHARED_INIT ? > Sorta... apparently there is CMAKE_SHARED_LIBRARY_C_FLAGS but as far as I can tell CMAKE_EXECUTABLE_C_FLAGS doesn't exist or isn't ever used. Also under watcom, these options in windows-cl.cmake SET(CMAKE_CREATE_WIN32_EXE /su

[CMake] CMAKE_RC_FLAGS has no effect

2010-03-06 Thread Tony Bridges
Setting a value into the CMAKE_RC_FLAGS field in the CMakeCache.txt file has no effect. I am using the Visual Studio 2005 generator, although I have seen this also reported against VS2009. I am using cmake 2.8 (from source with the midl quoting patch applied) Instead of obeying _RC_FLAGS, any

Re: [CMake] This has to have been asked before...

2010-03-06 Thread Oliver Smith
On 3/6/2010 6:39 PM, Oliver Smith wrote: I want to add a target (a gcc precompiled header) as a dependency for every target so it'll get compiled with the flags for that particular target, including altering the resulting file name. I should say: /automatically/ add... I don't want to add them b

[CMake] This has to have been asked before...

2010-03-06 Thread Oliver Smith
I'm probably not using the right keywords on my search. I want to add a target (a gcc precompiled header) as a dependency for every target so it'll get compiled with the flags for that particular target, including altering the resulting file name. I did try looking at the precompiled header C

[CMake] Decompressing a file with cmake

2010-03-06 Thread AKHRES Nader
Hello, is it possible to uncompress a zip file with cmake? I use file(download...) to get a zip from an url, but I need to uncompress the downloaded archive... Nader ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:/

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Alan W. Irwin
On 2010-03-06 18:21+0100 Micha Renner wrote: Am Samstag, den 06.03.2010, 09:08 -0800 schrieb Alan W. Irwin: Just to add some more data and opinion to this thread, I always bootstrap in a clean source tree (freshly downloaded from kitware) out of inertia. That procedure is how I started to build

Re: [CMake] Canonical use of FindPackageHandleStandardArgs

2010-03-06 Thread Mateusz Loskot
Ryan Pavlik wrote: > I took a quick look at your MySQL script and can offer these > suggestions: Ryan, Thank you very much for your valuable comments and I'm going to improve my scripts according them. > - Be sure to set the plural versions of the variables (INCLUDE_DIRS, > LIBRARIES) to includ

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Alexander Neundorf
On Friday 05 March 2010, Bill Hoffman wrote: > CMake 2.8.1 RC 4 is ready to try: > > http://www.cmake.org/files/v2.8/?C=M;O=D > > Please try your projects with it. If you find any issues, let me know. > I think this is about it. So, if I don't hear anything by Monday, this > is going to be 2.8.1

Re: [CMake] Best way to Generate String

2010-03-06 Thread Mateusz Loskot
aaron_wri...@selinc.com wrote: > Is this the best way to generate a comment bar, such as this: > > > > or this: > > > > or this: > >

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Micha Renner
Am Samstag, den 06.03.2010, 09:08 -0800 schrieb Alan W. Irwin: > On 2010-03-06 17:02+0100 Eric Noulard wrote: > > > 2010/3/6 Eric Noulard : > > > > Not really a show-stopper since I have no problem using this RC > > but I do have a problem "Building it" on 2 linux boxes > > (first is U

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Micha Renner
Am Samstag, den 06.03.2010, 17:02 +0100 schrieb Eric Noulard: > 2010/3/6 Eric Noulard : > > Not really a show-stopper since I have no problem using this RC > but I do have a problem "Building it" on 2 linux boxes > (first is Ubuntu 9.10 and the other is Fedora 11) using gcc 4.4.1: >

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Alan W. Irwin
On 2010-03-06 17:02+0100 Eric Noulard wrote: 2010/3/6 Eric Noulard : Not really a show-stopper since I have no problem using this RC but I do have a problem "Building it" on 2 linux boxes (first is Ubuntu 9.10 and the other is Fedora 11) using gcc 4.4.1: I can confirm this for Ubuntu 9.10. I

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Richard Quirk
On Fri, Mar 5, 2010 at 9:39 PM, Bill Hoffman wrote: > > CMake 2.8.1 RC 4 is ready to try: > > http://www.cmake.org/files/v2.8/?C=M;O=D > > Please try your projects with it.   If you find any issues, let me know. > I think this is about it.  So, if I don't hear anything by Monday, this is > going

[CMake] OpenWatcom support

2010-03-06 Thread J Decker
I would like to add something like this, so an option appears in the gui I can select set(CMAKE_WATCOM_WMAKE_TARGET_SYSTEM "" CACHE STRING "Set build type (blank is compiler-default)") set_property(CACHE CMAKE_WATCOM_WMAKE_TARGET_SYSTEM PROPERTY STRINGS "" "=NT" "=OS2" "=D

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Eric Noulard
2010/3/6 Eric Noulard : Not really a show-stopper since I have no problem using this RC but I do have a problem "Building it" on 2 linux boxes (first is Ubuntu 9.10 and the other is Fedora 11) using gcc 4.4.1: >>> >>> I can confirm this for Ubuntu 9.10. >>> In the appendix is the ge

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Eric Noulard
2010/3/6 Eric Noulard : > 2010/3/6 Micha Renner : >> Am Freitag, den 05.03.2010, 22:39 +0100 schrieb Eric Noulard: >>> 2010/3/5 Bill Hoffman : >>> > CMake 2.8.1 RC 4 is ready to try: >>> > >>> > http://www.cmake.org/files/v2.8/?C=M;O=D >>> > >>> > Please try your projects with it.   If you find any

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Eric Noulard
2010/3/6 Micha Renner : > Am Freitag, den 05.03.2010, 22:39 +0100 schrieb Eric Noulard: >> 2010/3/5 Bill Hoffman : >> > CMake 2.8.1 RC 4 is ready to try: >> > >> > http://www.cmake.org/files/v2.8/?C=M;O=D >> > >> > Please try your projects with it.   If you find any issues, let me know. >> > I thin

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-06 Thread Micha Renner
Am Freitag, den 05.03.2010, 22:39 +0100 schrieb Eric Noulard: > 2010/3/5 Bill Hoffman : > > CMake 2.8.1 RC 4 is ready to try: > > > > http://www.cmake.org/files/v2.8/?C=M;O=D > > > > Please try your projects with it. If you find any issues, let me know. > > I think this is about it. So, if I don

Re: [CMake] MingW Update for resource compilation.

2010-03-06 Thread J Decker
On Fri, Mar 5, 2010 at 10:20 PM, J Decker wrote: > All of the examples indicating ENABLE_LANGUAGE(RC) have the compiler > set afterwards, and it turns out that the following lines work much > better... > > I Added these to WIndows-GNU.cmake > > SET(CMAKE_RC_COMPILER "windres") > SET(CMAKE_RC_COMPI

Re: [CMake] Watcom Support

2010-03-06 Thread J Decker
Simple CMakeLists.txt, creates some source, links a library and a executable. Attatched 'cmake -G "Watcom WMake" ..' command line output in an empty ./build direcotry attached 'wmake VERBOSE=1' output. have modified the end of Windows.cmake # uncomment these out to debug nmake and borland makefil

Re: [CMake] CMake interview for FLOSS Weekly in about 1 hour

2010-03-06 Thread Bill Hoffman
Bill Hoffman wrote: Matt Williams wrote: On 4 March 2010 14:04, Michael Jackson wrote: Is there an archive of the interview? I'm guessing it will appear at http://twit.tv/FLOSS Yup, it should be 111, which is not up yet. -Bill So, the pod cast show (FLOSS Weekly) that some of you watched

Re: [CMake] Watcom Support

2010-03-06 Thread J Decker
On Sat, Mar 6, 2010 at 6:22 AM, Bill Hoffman wrote: > J Decker wrote: >> >> Is there >> >> CMAKE_C_FLAGS_EXE_INIT and CMAKE_C_FLAGS_SHARED_INIT ? >> >> I also just tried exporting the blow mentioned values on 2.8.1-RC4, >> with the same result. >> > > You are clearing the CMakeCache.txt file each

Re: [CMake] Watcom Support

2010-03-06 Thread Bill Hoffman
J Decker wrote: Is there CMAKE_C_FLAGS_EXE_INIT and CMAKE_C_FLAGS_SHARED_INIT ? I also just tried exporting the blow mentioned values on 2.8.1-RC4, with the same result. You are clearing the CMakeCache.txt file each time you change the _INIT values right? The other thing you can try is ed

Re: [CMake] Watcom Support

2010-03-06 Thread Bill Hoffman
J Decker wrote: I see the reference to setting verbose there, but I don't know what else I would edit there. ... enabling the verbosity early doesn't help. CMAKE>Linking C shared library sack_bag.dll /* how do I get this command? what follows is the output from wlink, but no command line ... s