2020-10-10 19:08:23 +00:00
|
|
|
// Turn off wxWidgets attempting to use its own manifests
|
|
|
|
#define wxUSE_NO_MANIFEST 1
|
|
|
|
#include "wx/msw/wx.rc"
|
2021-03-07 20:32:38 +00:00
|
|
|
#include <winver.h> // defines VS_VERSION_INFO
|
2023-01-04 20:00:02 +00:00
|
|
|
#define INCLUDE_KICAD_VERSION
|
2021-03-04 05:34:48 +00:00
|
|
|
#include <kicad_build_version.h>
|
2020-10-10 19:08:23 +00:00
|
|
|
|
|
|
|
#ifdef ISOLATION_AWARE_ENABLED
|
|
|
|
#define MANIFEST_ID ISOLATIONAWARE_MANIFEST_RESOURCE_ID
|
|
|
|
#else
|
|
|
|
#define MANIFEST_ID CREATEPROCESS_MANIFEST_RESOURCE_ID
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined( KICAD_WIN32_DPI_AWARE ) || KICAD_WIN32_DPI_AWARE == 0
|
2023-04-11 00:30:38 +00:00
|
|
|
#define MANIFEST_NAME basic.manifest
|
2020-10-10 19:08:23 +00:00
|
|
|
#else
|
2023-04-11 00:30:38 +00:00
|
|
|
#define MANIFEST_NAME dpi_aware_pmv2.manifest
|
2020-10-10 19:08:23 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
//MSYS2
|
|
|
|
#define RC_STR( text ) RC_STR2( text )
|
|
|
|
#define RC_STR2( text ) #text
|
|
|
|
//MSVC
|
|
|
|
#define RC_CONCAT( a, b, c ) RC_CONCAT2( a, b, c )
|
|
|
|
#define RC_CONCAT2( a, b, c ) a##b##c
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
2023-04-11 00:30:38 +00:00
|
|
|
#define MANIFEST_FILE "manifests/" RC_STR( MANIFEST_NAME )
|
2020-10-10 19:08:23 +00:00
|
|
|
#else
|
|
|
|
//Do not try and quote the first part, it won't work, also make sure the IDE doesn't reformat it with spaces between slashes
|
2023-04-11 00:30:38 +00:00
|
|
|
#define MANIFEST_FILE RC_CONCAT( manifests/, MANIFEST_NAME )
|
2020-10-10 19:08:23 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
MANIFEST_ID RT_MANIFEST MANIFEST_FILE
|
2021-03-04 05:34:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef DEBUG
|
|
|
|
#define VER_DEBUG 0
|
|
|
|
#else
|
|
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
|
|
FILEVERSION KICAD_WIN32_RC_FILEVER
|
|
|
|
PRODUCTVERSION KICAD_WIN32_RC_PRODVER
|
|
|
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
|
|
FILEFLAGS (VER_DEBUG)
|
|
|
|
FILEOS VOS__WINDOWS32
|
|
|
|
FILETYPE VFT_APP
|
|
|
|
FILESUBTYPE 0x0L
|
|
|
|
BEGIN
|
|
|
|
BLOCK "StringFileInfo"
|
|
|
|
BEGIN
|
|
|
|
BLOCK "040904E4"
|
|
|
|
BEGIN
|
Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-03 04:20:05 +00:00
|
|
|
// this gets displayed in the windows 10 task manager
|
2021-03-04 05:34:48 +00:00
|
|
|
VALUE "FileDescription", RC_VER_FILE_DESCRIPTION
|
|
|
|
VALUE "FileVersion", KICAD_WIN32_RC_FILEVER_STR
|
|
|
|
//original filename without extension
|
|
|
|
VALUE "InternalName", RC_VER_INTERNALNAME
|
2023-09-15 00:20:14 +00:00
|
|
|
VALUE "LegalCopyright", "Copyright (C) 2023 KiCad Developers"
|
2021-03-04 05:34:48 +00:00
|
|
|
// the exe name
|
|
|
|
VALUE "OriginalFilename", RC_VER_ORIGINALFILENAME
|
|
|
|
// name of distributed package
|
|
|
|
VALUE "ProductName", "KiCad EDA"
|
|
|
|
VALUE "ProductVersion", KICAD_WIN32_RC_PRODVER_STR
|
|
|
|
END
|
|
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
BEGIN
|
|
|
|
VALUE "Translation", 0x409, 1252
|
|
|
|
END
|
|
|
|
END
|
|
|
|
|
2020-10-10 19:08:23 +00:00
|
|
|
//RESOURCE FILES MUST CONTAIN A BLANK LINE AT THE END
|