wxWidgets/build
Vadim Zeitlin c66c9c5ae6 Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets
Add CMake-based build system.

Merge the original branch without any changes except for resolving the
conflict due to moving the contents of .travis.yml to a separate file by
propagating the changes done in this file since then to the new script
and rerunning ./build/update-setup-h and ./build/cmake/update_files.py
to update the file lists changed in the meanwhile.

Closes https://github.com/wxWidgets/wxWidgets/pull/330
2017-12-09 15:09:47 +01:00
..
aclocal Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Add more missing generic headers to wxQt headers list 2017-11-25 00:25:14 +01:00
buildbot Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
cmake Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets 2017-12-09 15:09:47 +01:00
msw Upgrade libjpeg to the latest version 9b 2017-11-12 16:32:35 +01:00
osx Replace Expat sources directory with a Git submodule 2017-11-11 20:50:50 +01:00
tools Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets 2017-12-09 15:09:47 +01:00
autogen.mk Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
files Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets 2017-12-09 15:09:47 +01:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets 2017-12-09 15:09:47 +01:00
upmake Add missing new line to upmake diagnostic message 2016-02-07 14:39:30 +01:00
upmake_script.pl Add AUI_MSW to AUI sources in upmake_script.pl too 2016-02-07 14:41:59 +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.