This is an old revision of the document!
CMake Status
- Selected CMake version: 2.6
TODO
- Tests in differents platforms
- Extensions
- Libraries detections for extensions
- User selection
- Win32 support
- CDash hook
- CTest
- CPack
Milestone
- ~ May 21
Analysis and information gathering. Investigate PHP project dependencies with autotools. Analysis of CMake. Use and analysis of am2cmake/vcproj2cmake.rb and other automatic converters from Autotools to CMake. Collect info about KDE experience with CMake.
- ~ July 15
Compile PHP core with CMake in Linux platform. Hook with CMake's dashboard (CDash).
- ~ August 15
Export and test of CMake project for PHP to other operative system like Windows, MacOS.
Notes
Linux buildchain
- buildconf
Shell script to recreate user tarball, two options --force and --debug, if --$force regenerate anyway, if debug only add SUPPRESS_WARNINGS=“” to make invocation. Extract version from `grep '^PHP_EXTRA_VERSION=' configure.in` to check if is dev, and check Zend directory to check if is Zend v1 or Zend v2 (this is deprecated?) At end call make -s -f build/build.mk ZENDDIR=Zend
- build/build.mk
- ($STAMP) - call buildcheck.sh (check autoconf version > 2.13 and inform)
- ($ALWAYS) == generated_lists - makefile_am_files, config_h_files, config_m4_files >> generated_lists
- (action) call build/build2.mk - all: mkinstalldirs install-sh missing configure main/php_config.h.in
- touch mkinstalldirs install-sh missing
- cat acinclude.m4 ./build/libtool.m4 > aclocal.m4
- autoconf (to regenerate ./configure)
- autoheader (to regenerate acconfig.h)
- Ready to configure.
Windows buildchain
- Windows side: buildconf.bat execute -> cscript /nologo win32\build\buildconf.js %*, Javascript script that build the configure.js.