wxWidgets/build
Vadim Zeitlin f69dbaa1ae Introduce MSW ARM64 support
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
2018-09-17 22:34:32 +02:00
..
aclocal Use more compatible "=" in test(1) instead of "==" 2018-08-16 13:45:53 +02:00
autoconf_prepend-include
bakefiles Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
cmake Completely remove "adv" library from CMake build system 2018-08-27 21:13:04 +02:00
msw Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
osx turning of undefined macros warning, force to using gnu++11 and libc++ as we do in command line builds 2018-08-08 08:04:02 +02:00
tools Log MSBuild AppVeyor messages 2018-08-24 20:08:51 +02:00
autogen.mk Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
files Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
README.txt
update-setup-h Avoid trailing spaces in auto-generated build/cmake/setup.h.in 2017-12-09 15:09:47 +01:00
upmake Regenerate CMake files list from upmake too 2018-01-07 22:29:42 +01:00
upmake_script.pl Regenerate CMake files list from upmake too 2018-01-07 22:29:42 +01:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.