/**
 * @file micmap.rc.in
 * @brief Resource file template for MicMap application (configure_file
 *        substitutes @MICMAP_VERSION@ + @MICMAP_VERSION_QUAD@ from
 *        cmake/version.cmake; output: ${CMAKE_CURRENT_BINARY_DIR}/micmap.rc).
 * @note  DO NOT EDIT the generated micmap.rc — change cmake/version.cmake
 *        and the strings here, then reconfigure.
 */

#include <windows.h>
#include "resource.h"

// Shared icon asset (single source of truth for the exe + installer + tray).
// Path is relative to the generated micmap.rc location
// (${CMAKE_CURRENT_BINARY_DIR}/micmap.rc -> ../../installer/micmap.ico is wrong
// when generated under build/.../micmap.rc; we instead hand RC the absolute
// source-tree path via configure_file's @MICMAP_ICON_PATH@ token to keep the
// asset findable regardless of build-dir layout).
IDI_MICMAP_ICON ICON "@MICMAP_ICON_PATH@"

// Version information — Phase 10 / INST-09 / D-18 SSoT.
VS_VERSION_INFO VERSIONINFO
FILEVERSION     @MICMAP_VERSION_QUAD@
PRODUCTVERSION  @MICMAP_VERSION_QUAD@
FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
FILEFLAGS       0
FILEOS          VOS_NT_WINDOWS32
FILETYPE        VFT_APP
FILESUBTYPE     VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName",      "MicMap"
            VALUE "FileDescription",  "MicMap - Microphone pattern-based click input for SteamVR"
            VALUE "FileVersion",      "@MICMAP_VERSION@.0"
            VALUE "InternalName",     "micmap"
            VALUE "LegalCopyright",   "Copyright (C) 2026 FEATHER3 SOFTWORKS"
            VALUE "OriginalFilename", "micmap.exe"
            VALUE "ProductName",      "MicMap"
            VALUE "ProductVersion",   "@MICMAP_VERSION@"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END
