e4437c4974
Use the following CMake flags: -DCMAKE_SYSTEM_NAME=iOS - for specifying it is an iOS build -DCMAKE_FIND_ROOT_PATH=/usr/local - dir to search for the built wxWidgets libraries -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO - don't require signing app packages -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 - specify a target so both the libraries and sample will use the same architecture Also use the code signing flag when testing precompiled header support. Don't build the default samples, widgets sample has features that are not supported by the iOS build. Xcode seems to rebuild the libraries when installing, so call CMake only once. |
||
---|---|---|
.. | ||
aclocal | ||
autoconf_prepend-include | ||
bakefiles | ||
cmake | ||
msw | ||
osx | ||
tools | ||
autogen.mk | ||
files | ||
README.txt | ||
update-setup-h | ||
upmake | ||
upmake_script.pl |
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.