15 changed files with 191 additions and 12 deletions
-
30CMakeLists.txt
-
12CMakeModules/MinGWResourceCompiler.cmake
-
2bitmap2component/bitmap2component.rc
-
3cvpcb/cvpcb.rc
-
2eeschema/eeschema.rc
-
2gerbview/gerbview.rc
-
2kicad/kicad.rc
-
2pagelayout_editor/pl_editor.rc
-
2pcb_calculator/pcb_calculator.rc
-
2pcbnew/pcbnew.rc
-
32resources/msw/kiwin32.rc
-
21resources/msw/manifests/x64.manifest
-
35resources/msw/manifests/x64_dpi_aware_pmv2.manifest
-
21resources/msw/manifests/x86.manifest
-
35resources/msw/manifests/x86_dpi_aware_pmv2.manifest
@ -1,3 +1,3 @@ |
|||
icon_bitmap2component ICON "../bitmaps_png/icons/icon_bitmap2component.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,2 +1,3 @@ |
|||
icon_cvpcb ICON "../bitmaps_png/icons/icon_cvpcb.ico" |
|||
#include "wx/msw/wx.rc" |
|||
|
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_eeschema ICON "../bitmaps_png/icons/icon_eeschema.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_gerbview ICON "../bitmaps_png/icons/icon_gerbview.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_kicad ICON "../bitmaps_png/icons/icon_kicad.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_pagelayout_editor ICON "../bitmaps_png/icons/icon_pagelayout_editor.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_pcbcalculator ICON "../bitmaps_png/icons/icon_pcbcalculator.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -1,3 +1,3 @@ |
|||
icon_pcbnew ICON "../bitmaps_png/icons/icon_pcbnew.ico" |
|||
|
|||
#include "wx/msw/wx.rc" |
|||
#include "kiwin32.rc" |
|||
@ -0,0 +1,32 @@ |
|||
// Turn off wxWidgets attempting to use its own manifests |
|||
#define wxUSE_NO_MANIFEST 1 |
|||
#include "wx/msw/wx.rc" |
|||
|
|||
#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 |
|||
#define MANIFEST_SUFFIX .manifest |
|||
#else |
|||
#define MANIFEST_SUFFIX _dpi_aware_pmv2.manifest |
|||
#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__ |
|||
#define MANIFEST_FILE "manifests/" RC_STR( KICAD_BUILD_ARCH ) RC_STR( MANIFEST_SUFFIX ) |
|||
#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 |
|||
#define MANIFEST_FILE RC_CONCAT( manifests/, KICAD_BUILD_ARCH, MANIFEST_SUFFIX ) |
|||
#endif |
|||
|
|||
MANIFEST_ID RT_MANIFEST MANIFEST_FILE |
|||
//RESOURCE FILES MUST CONTAIN A BLANK LINE AT THE END |
|||
@ -0,0 +1,21 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
|||
<assemblyIdentity |
|||
version="0.64.1.0" |
|||
processorArchitecture="amd64" |
|||
name="Controls" |
|||
type="win32" |
|||
/> |
|||
<dependency> |
|||
<dependentAssembly> |
|||
<assemblyIdentity |
|||
type="win32" |
|||
name="Microsoft.Windows.Common-Controls" |
|||
version="6.0.0.0" |
|||
processorArchitecture="amd64" |
|||
publicKeyToken="6595b64144ccf1df" |
|||
language="*" |
|||
/> |
|||
</dependentAssembly> |
|||
</dependency> |
|||
</assembly> |
|||
@ -0,0 +1,35 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> |
|||
<dependency> |
|||
<dependentAssembly> |
|||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="amd64" publicKeyToken="6595b64144ccf1df" language="*" /> |
|||
</dependentAssembly> |
|||
</dependency> |
|||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> |
|||
<security> |
|||
<requestedPrivileges> |
|||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> |
|||
</requestedPrivileges> |
|||
</security> |
|||
</trustInfo> |
|||
<asmv3:application> |
|||
<asmv3:windowsSettings> |
|||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, system</dpiAwareness> |
|||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware> |
|||
</asmv3:windowsSettings> |
|||
</asmv3:application> |
|||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> |
|||
<application> |
|||
<!-- Windows Vista --> |
|||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /> |
|||
<!-- Windows 7 --> |
|||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /> |
|||
<!-- Windows 8 --> |
|||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /> |
|||
<!-- Windows 8.1 --> |
|||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /> |
|||
<!-- Windows 10 --> |
|||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> |
|||
</application> |
|||
</compatibility> |
|||
</assembly> |
|||
@ -0,0 +1,21 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
|||
<assemblyIdentity |
|||
version="0.64.1.0" |
|||
processorArchitecture="x86" |
|||
name="Controls" |
|||
type="win32" |
|||
/> |
|||
<dependency> |
|||
<dependentAssembly> |
|||
<assemblyIdentity |
|||
type="win32" |
|||
name="Microsoft.Windows.Common-Controls" |
|||
version="6.0.0.0" |
|||
processorArchitecture="X86" |
|||
publicKeyToken="6595b64144ccf1df" |
|||
language="*" |
|||
/> |
|||
</dependentAssembly> |
|||
</dependency> |
|||
</assembly> |
|||
@ -0,0 +1,35 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> |
|||
<dependency> |
|||
<dependentAssembly> |
|||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*" /> |
|||
</dependentAssembly> |
|||
</dependency> |
|||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> |
|||
<security> |
|||
<requestedPrivileges> |
|||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> |
|||
</requestedPrivileges> |
|||
</security> |
|||
</trustInfo> |
|||
<asmv3:application> |
|||
<asmv3:windowsSettings> |
|||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, system</dpiAwareness> |
|||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware> |
|||
</asmv3:windowsSettings> |
|||
</asmv3:application> |
|||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> |
|||
<application> |
|||
<!-- Windows Vista --> |
|||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /> |
|||
<!-- Windows 7 --> |
|||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /> |
|||
<!-- Windows 8 --> |
|||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /> |
|||
<!-- Windows 8.1 --> |
|||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /> |
|||
<!-- Windows 10 --> |
|||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> |
|||
</application> |
|||
</compatibility> |
|||
</assembly> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue