internals:cmake:status

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.mk

Generate three lists, makefile_am_files, config_h_files, config_m4_files

Windows buildchain

  • Windows side: buildconf.bat execute -> cscript /nologo win32\build\buildconf.js %*, Javascript script that build the configure.js.
internals/cmake/status.1214074964.txt.gz · Last modified: 2017/09/22 13:28 (external edit)