/*
    This file is part of Mitsuba, a physically based rendering system.

    Copyright (c) 2007-2012 by Wenzel Jakob and others.

    Mitsuba is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License Version 3
    as published by the Free Software Foundation.

    Mitsuba is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/*
    MSDN Documentation:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
*/

#include <winresrc.h>

#cmakedefine01 RC_ICON

#if RC_ICON
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_ICON1           ICON    DISCARDABLE     "@RC_ICON@"
#endif

#ifdef GCC_WINDRES
VS_VERSION_INFO     VERSIONINFO
#else
VS_VERSION_INFO     VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
#endif
  FILEVERSION       @RC_VERSION_COMMA@ /* e.g. 1,0,0,0 */
  PRODUCTVERSION    @RC_VERSION_COMMA@
  FILEFLAGSMASK     VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
  FILEFLAGS         VS_FF_DEBUG
#else
  FILEFLAGS         0
#endif
  FILEOS            VOS_NT_WINDOWS32
  FILETYPE          @RC_FILETYPE@
  FILESUBTYPE       0   /* not used */
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "040904E4"
    /* language ID = U.S. English, char set = Windows, Multilingual */
    BEGIN
	  VALUE "CompanyName",      "mitsuba-renderer.org"
      VALUE "FileDescription",  "@RC_DESCRIPTION@\0"
      VALUE "FileVersion",      "@RC_VERSION@\0"
      VALUE "InternalName",     "@RC_NAME@\0"
      VALUE "LegalCopyright",   "Copyright (c) 2007-@RC_YEAR@, Wenzel Jakob and others.\0"
      VALUE "OriginalFilename", "@RC_FILENAME@\0"
      VALUE "ProductName",      "Mitsuba\0"
      VALUE "ProductVersion",   "@RC_VERSION@\0"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    /* The following line should only be modified for localized versions.     */
    /* It consists of any number of WORD,WORD pairs, with each pair           */
    /* describing a language,codepage combination supported by the file.      */
    /*                                                                        */
    /* For example, a file might have values "0x409,1252" indicating that it  */
    /* supports English language (0x409) in the Windows ANSI codepage (1252). */
    VALUE "Translation", 0x0409, 1252
  END
END