This is a preliminary ARM64 platform support for wxWidgets at "it compiles" stage. This will allow building and testing wxWidgets based apps for oncoming Windows 10 ARM64. Requirements: - Visual Studio 2017 Update 4 or later with Visual C++ compilers and libraries for ARM64 component installed Building: 1. Open command prompt. 2. Change directory to build\msw subfolder. 3. Run "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsamd64_arm64.bat" once. 4. Use `nmake TARGET_CPU=ARM64 ...` to build required flavor of wxWidget libraries. Notes: 1. Building of *.sln/*.vcxproj files does not support ARM64 yet. This requires to hardcode Windows SDK to 10.0.15063.0 or later in *.vcxproj files, which would render them non-compilable in older Visual Studio versions. Microsoft is aware of this issue and is planning a fix in the next version of Visual Studio. 2. wxmsw31ud_gl.dll does not build yet. Awaiting Microsoft to deliver missing opengl32.lib for ARM64. Please, specify USE_OPENGL=0. Closes https://github.com/wxWidgets/wxWidgets/pull/923
		
			
				
	
	
		
			51 lines
		
	
	
		
			871 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			871 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Name:        wx/msw/genrcdefs.h
 | 
						|
 * Purpose:     Emit preprocessor symbols into rcdefs.h for resource compiler
 | 
						|
 * Author:      Mike Wetherell
 | 
						|
 * Copyright:   (c) 2005 Mike Wetherell
 | 
						|
 * Licence:     wxWindows licence
 | 
						|
 */
 | 
						|
 | 
						|
#define EMIT(line) line
 | 
						|
 | 
						|
EMIT(#ifndef _WX_RCDEFS_H)
 | 
						|
EMIT(#define _WX_RCDEFS_H)
 | 
						|
 | 
						|
#ifdef _MSC_FULL_VER
 | 
						|
#if _MSC_FULL_VER < 140040130
 | 
						|
EMIT(#define wxUSE_RC_MANIFEST 1)
 | 
						|
#endif
 | 
						|
#else
 | 
						|
EMIT(#define wxUSE_RC_MANIFEST 1)
 | 
						|
#endif
 | 
						|
 | 
						|
#if defined _M_AMD64 || defined __x86_64__
 | 
						|
EMIT(#define WX_CPU_AMD64)
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef _M_ARM
 | 
						|
EMIT(#define WX_CPU_ARM)
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef _M_ARM64
 | 
						|
EMIT(#define WX_CPU_ARM64)
 | 
						|
#endif
 | 
						|
 | 
						|
#if defined _M_IA64 || defined __ia64__
 | 
						|
EMIT(#define WX_CPU_IA64)
 | 
						|
#endif
 | 
						|
 | 
						|
#if defined _M_IX86 || defined _X86_
 | 
						|
EMIT(#define WX_CPU_X86)
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef _M_PPC
 | 
						|
EMIT(#define WX_CPU_PPC)
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef _M_SH
 | 
						|
EMIT(#define WX_CPU_SH)
 | 
						|
#endif
 | 
						|
 | 
						|
EMIT(#endif)
 |