[CMake] CMake 2.8.2-rc2 ready for testing!

Alok Govil alokgovil at hotmail.com
Wed Jun 16 22:31:29 EDT 2010


Hi David,

You have raised the right concern.  My intention is not to compare various MinGW builds but to understand how to configure Cmake 2.8.2 to build with MinGW-W64, since this support is being added to CMake.  As it stands now, given lack of understanding of how to do this with CMake, I am unable to make CMake 2.8.2 RC2 do anything that CMake 2.8 stable cannot do on with respect to MinGW-W64.  They both seem to do the same thing with both automatic (neither Cmake version works) and Sezero (both Cmake versions work) builds.  I must be configuring something incorrectly.

In other words, how is CMake team testing with MinGW64?  Including where is it being downloaded from (since there is no "release" or "stable" build of it AFAIK).

PS:  I am ready to help wherever I can on this since I am interested in MinGW-W64 support.

Best regards - Alok

Date: Wed, 16 Jun 2010 22:18:34 -0400
Subject: Re: [CMake] CMake 2.8.2-rc2 ready for testing!
From: david.cole at kitware.com
To: alokgovil at hotmail.com
CC: cmake at cmake.org

On Wed, Jun 16, 2010 at 10:04 PM, Alok Govil <alokgovil at hotmail.com> wrote:





Hi all,

I am unable to build using MinGW-W64, but chances are there would be some configuration issues.

Here is how I am setup right now:

1.  Download latest "automatic" builds (W64 and W32) from here:  http://mingw-w64.sourceforge.net/

2.  Removed prefixes:  For example, renamed file "x86_64-w64-mingw32-g++.exe" in the bin folder to "g++.exe".  Am I not supposed to do this anymore?
3.  Added CMake 2.8.2 RC2 as well as "one" of W64 and W32 to the path.

4.  cmake . -G "MinGW Makefiles"      // This could be wrong for W64, but fails for even W32.
     This step is where I get various errors from CMake.  It works fine with normal MinGW.
5.  Then I usually call "mingw32-make" but that is not even there in MinGW-W32 and MinGW-W64!!


Also of note:  The following workaround works, even with the CMake 2.8 stable version.

1.  Use Personal/Sezero builds from http://mingw-w64.sourceforge.net/

2.  Prefixes are already removed in Sezero builds.
3.  Add only the "needed one" of W64 and W32 to the path.
4.  cmake . -G "MinGW Makefiles"   // Works for both W32 and W64
5.  "mingw32-make" is present in both W32 and W64 builds. 


I would appreciate this more, on this list, in reply to this thread, at this time ... if it were at all clear to me that you were comparing a prior CMake release to the currently proposed CMake 2.8.2-rc2.

Rather, it seems like you are comparing "latest" "automatic" builds of mingw-w64 to Personal/Sezero builds of mingw-w64.
If you use CMake 2.8.2-rc2 with the Personal/Sezero builds, do you see a difference as compared to CMake 2.8.0 or 2.8.1 with the same Personal/Sezero builds?

If this is a mingw-w64 issue, perhaps you could raise it on their mailing lists?

Thanks,David Cole




Best regards - Alok

---------------------------------------------------

> Date: Wed, 16 Jun 2010 16:22:43 -0400
> From: david.cole at kitware.com

> To: cmake at cmake.org
> Subject: [CMake] CMake 2.8.2-rc2 ready for testing!
> 
> The CMake 2.8.2 release candidate stream continues!

> You can find the source and binaries here:
> http://www.cmake.org/files/v2.8/.
> 
> Since we switched to git, and a new workflow, we're

> expecting to do more frequent releases. Because of
> that, our release candidate phases will be shorter
> than they have been historically. So, if you want to
> test this out and ask for a fix, do it soon, or hold your

> peace till the next release!
> 
> Following is the list of changes in this release.
> Since we switched to git, this list is now the
> 'git log' one line summary written by the named

> CMake developers.
> 
> 
> Changes in CMake 2.8.2-rc2 (since 2.8.2-rc1)
> --------------------------------------------
> 
> Bill Hoffman (1):
>       Make sure libarchive uses cmzlib and not the system libz if found.

> 
> Brad King (12):
>       Use forward slashes for objects in response files
>       Use platform variable for response file flag
>       Use response file for objects on MinGW and MSYS
>       Generalize CTest.Update* test dashboard script helpers

>       ctest_update: Support custom Git update command
>       ctest_update: Support Git upstream branch rewrites
>       Fix CMake data and doc paths in Cygwin package
>       Document scope of source file properties

>       Run CTest.NoNewline test using built CMake
>       Tru64: Place cmOStringStream vtable uniquely (#10541)
>       Enable BootstrapTest on MSYS
>       Tru64: Use full-path include directives in Makefiles (#10569)

> 
> Christoph Watzl (1):
>       Fix nested source groups with VS 10 (#9863)
> 
> Clinton Stimpson (2):
>       Support pthreads on irix.
>       Remove macro for querying qmake for qmake variables.

> 
> David Cole (2):
>       Fix issue #10346. Error if SOURCE_DIR is empty.
>       Remove CTestTest3.
> 
> Zach Mullen (1):
>       Extra coverage glob should subtract the explicitly defined excluded files

> 
> Changes in CMake 2.8.2-rc1 (since 2.8.1):
> - Build on Tru64 (#10542)
> - Build on mingw-w64
> - Build on old Sun (#10550, #10543)
> - CPack: Add native BZip2 support
> - CPack: Set compression type in RPM spec (#10363)

> - CPack: Try harder to initialize staging directory (#10793)
> - CTest: Add --stop-time argument
> - CTest: Cost data with '-j'
> - CTest: Fix memory report
> - CTest: Glob for uncovered files during coverage tests

> - CTest: Option to specify cdash server
> - CTest: PHP Coverage support
> - CTest: Process tree kill for OpenBSD, FreeBSD, kFreeBSD, GNU/Hurd
> - CTest: Report failure in Update.xml
> - CTest: Submit author email in Update.xml

> - CTest: Teach ctest_update about Git submodules
> - CTest: Teach ctest_update to handle Git upstream branch rewrites
> - Cygwin: Export all symbols with ENABLE_EXPORTS (#10122)
> - Do not list file names during 'cmake -E tar xz'

> - Documentation: Comply with "XHTML 1.0 Strict"
> - Documentation: Fix typo in CMAKE_LIBRARY_PATH (#10291)
> - Documentation: Fix typo in HAS_CXX docs (#10578)
> - Documentation: More consistent command signatures

> - Eclipse: Do not add INCLUDE to environment twice
> - Enable extra CodeBlocks generator on Cygwin
> - ExternalProject: Support .zip and .bz2 archives, MD5 verification
> - ExternalProject: Reconfigure when args change (#10258)

> - ExternalProject: Support Git, SVN username/password
> - FindCurses: Fix for cygwin ncurses package
> - FindHSPELL: Version support
> - FindJava: Error if version is not found only when REQUIRED

> - FindJava: Support runtime and development components (#9840)
> - FindKDE4: Prefer kdeconfig results over system paths
> - FindMPEG: Check for 'vo' library
> - FindPNG: Support png 1.4 versioned lib names (#10551)

> - FindPkgConfig: Add QUIET keyword to pkgconfig macros (see #10469)
> - FindZLIB: GnuWin32 support, version support (#5588)
> - FindwxWidget: Fix CXX flag parsing (#10209)
> - Fix .pdb name attribute in VS project files (#10614)

> - Fix CodeBlocks to work with Fortran-only
> - Fix VS 2010 custom commands (#10503)
> - Fix VS 6 support for COMPILE_DEFINITIONS_MINSIZEREL (#10700)
> - Fix cross-compiling from Linux to iPhone (#10526)

> - Fix documentation typos
> - Fix g95 Fortran compiler support
> - Fix uname masking in file(WRITE) and write_file (#10789)
> - GetPrerequisites: Provide an override hook
> - Handle non-ASCII terminators in file(STRINGS)

> - Module fixes: FindPythonLibs, FindQt4, FindX11, FindwxWidgets
> - PathScale Fortran compiler tool detection
> - Qt4 OpenGL framework fix
> - Qt4ConfigDependentSettings.cmake Qt4Macros.cmake UseQt4.cmake

> - Recognize ARM ABI/EABI with GNU compilers
> - Recognize Clang compiler
> - Search basic directories on "Generic" platform
> - Set MSVC* variables consistently on all generators, and test

> - Support SunPro C++ 5.11 on Linux (new compiler)
> - Support VS 10 Express (related to #10670)
> - Support compression with 'cmake -E tar'
> - Support multiple arguments in CC,CXX,FC environment variables

> - Support per-configuration librarian flags (#10768)
> - Support per-platform initial ASM language flags (#10577)
> - Use Fortran ABI detection results conservatively
> - Use libarchive to replace the unmaintained libtar

> - UseQt4: Support QtMultimedia (#10675)
> - bootstrap: Fix make tool detection (#10544)
> - cmake-gui: Add simple grouped view
> - cmake-gui: Support build tree under symlink (#9975)
> - Cleanup modules FindASPELL, FindAVIFile, FindBZip2, FindDart,

>   FindEXPAT, FindGCCXML, FindGLU, FindHSPELL, FindJasper, FindLibXml2,
>   FindLibXslt, FindMPEG, FindOpenAL, FindPhysFS, FindQuickTime,
>   FindSubversion, FindZLIB.
> 
> 
> Please try this version of CMake on your projects and report any

> issues to the list or the bug tracker.
> 
> Happy building!
> 
> -Dave
> _______________________________________________
> Powered by www.kitware.com

> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
 		 	   		  
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  Get busy.


 		 	   		  
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100616/4fbf46f2/attachment-0001.htm>


More information about the CMake mailing list