View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000369CMakeCMakepublic2003-11-12 09:262010-12-28 11:03
ReporterMathieu Malaterre 
Assigned ToBill Hoffman 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.4Fixed in Version 
Summary0000369: rc (ressource) file and CYGWIN
Descriptionrc file should be used under CYGINW using the 'windres' executable.

Typical Makefile (from wxWindows) are:

RESCOMP = windres
RESFLAGS = --include-dir $(top_srcdir)/include --include-dir
$(top_srcdir)/$(program_dir) --define __WIN32__ --define __WIN95__
--define __GNUWIN32__

.rc_resources.o:
$(RESCOMP) -i $< -o $@ $(RESFLAGS)

e.g.
windres -i project.rc -o project_resources.o
--include-dir myinclude --include-dir .
--define __WIN32__ --define __WIN95__ --define __GNUWIN32__

http://www.cmake.org/pipermail/cmake/2003-November/004467.html [^]
TagsNo tags attached.
Attached Files

 Relationships
related to 0004068closedBill Hoffman rc-File support for MinGW 

  Notes
(0000939)
Bill Hoffman (manager)
2004-04-22 13:49

windres really is not mature enough to use. For example, I tried the zlib.rc file, and it could not parse it at all. I fear adding this "feature" will cause more trouble than it is worth.

I will lower the priority, and perhaps in the future when windres is better....
(0006506)
Mathieu Malaterre (developer)
2007-02-21 11:17

Using the latest zlib distribution, there seems to be a new zlib.rc file (*)

The following seems to be working:
$ windres -DGCC_WINDRES -i zlib1.rc -o zlib1.res

Using:
$ windres --version
GNU windres 2.17.50 20060817
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.



(*)
#include <windows.h>

#ifdef GCC_WINDRES
VS_VERSION_INFO VERSIONINFO
#else
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
#endif
  FILEVERSION 1,2,2,0
  PRODUCTVERSION 1,2,2,0
  FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
  FILEFLAGS 1
#else
  FILEFLAGS 0
#endif
  FILEOS VOS_DOS_WINDOWS32
  FILETYPE VFT_DLL
  FILESUBTYPE 0 // not used
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "040904E4"
    //language ID = U.S. English, char set = Windows, Multilingual
    BEGIN
      VALUE "FileDescription", "zlib data compression library\0"
      VALUE "FileVersion", "1.2.3\0"
      VALUE "InternalName", "zlib1.dll\0"
      VALUE "LegalCopyright", "(C) 1995-2004 Jean-loup Gailly & Mark Adler\0"
      VALUE "OriginalFilename", "zlib1.dll\0"
      VALUE "ProductName", "zlib\0"
      VALUE "ProductVersion", "1.2.3\0"
      VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x0409, 1252
  END
END
(0024331)
Bill Hoffman (manager)
2010-12-28 11:03

This is fixed in next.

 Issue History
Date Modified Username Field Change
2007-08-03 18:10 Berk Geveci Assigned To Chris Brislawn =>
2007-08-03 18:10 Berk Geveci Resolution reopened => suspended
2007-08-03 18:10 Berk Geveci Summary Goodsite => rc (ressource) file and CYGWIN
2007-08-03 18:10 Berk Geveci Description Updated
2007-08-03 18:10 Berk Geveci Note Deleted: 0008292
2007-08-03 18:10 Berk Geveci Project ParaQ-Administrative => CMake
2007-08-03 18:10 Berk Geveci Status new => assigned
2007-08-03 18:10 Berk Geveci Assigned To => Bill Hoffman
2007-08-03 18:11 Berk Geveci Priority normal => low
2007-08-24 09:33 Alex Neundorf Category CPack => CMake
2010-11-10 14:52 David Cole Target Version => CMake 2.8.4
2010-11-10 14:52 David Cole Description Updated
2010-12-07 17:12 David Cole Relationship added related to 0004068
2010-12-28 11:03 Bill Hoffman Note Added: 0024331
2010-12-28 11:03 Bill Hoffman Status assigned => closed


Copyright © 2000 - 2018 MantisBT Team