mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 20:01:12 +00:00
* SWIG outputs two files - renderdoc_python.cpp with the main actual wrapping code, and renderdoc.py a small module that does some bootstrapping on python side. * We use a custom version of SWIG that generates strong/typed enums in python based on enum classes, so in cmake we add this custom swig fork as an external project and compile it before generating the wrappers. On windows there's a committed version of the SWIG binary that gets run directly from the .pro or .vcxproj. * The renderdoc.py gets embedded as a resource on windows or as a C generated unsigned char array via include-bin on other platforms, so that we can insert it into the python context without needing it to sit around on disk somewhere in sys.path
129 lines
3.3 KiB
Plaintext
129 lines
3.3 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#define IDC_STATIC -1
|
|
#include <winresrc.h>
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (United States) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#define IDC_STATIC -1\r\n"
|
|
"#include <winresrc.h>\r\n"
|
|
"\r\n"
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
#endif // English (United States) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (United Kingdom) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
|
|
#pragma code_page(1252)
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION RENDERDOC_VERSION_MAJOR,RENDERDOC_VERSION_MINOR,0,0
|
|
PRODUCTVERSION RENDERDOC_VERSION_MAJOR,RENDERDOC_VERSION_MINOR,0,0
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x2L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "080904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Baldur Karlsson"
|
|
VALUE "FileDescription", "QRenderDoc - https://renderdoc.org/"
|
|
VALUE "FileVersion", RENDERDOC_VERSION_STRING ".0.0"
|
|
VALUE "InternalName", "qrenderdoc.exe"
|
|
VALUE "LegalCopyright", "Copyright © 2016 Baldur Karlsson"
|
|
VALUE "OriginalFilename", "qrenderdoc.exe"
|
|
VALUE "ProductName", "RenderDoc"
|
|
VALUE "ProductVersion", RENDERDOC_VERSION_STRING "-" GIT_COMMIT_HASH
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x809, 1200
|
|
END
|
|
END
|
|
|
|
// embed the renderdoc.py generated by SWIG
|
|
renderdoc_py_module TYPE_EMBED RENDERDOC_PY_PATH
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_ICON1 ICON "icon.ico"
|
|
|
|
#endif // English (United Kingdom) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|