internals:cmake

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
internals:cmake [2008/04/12 12:22] – created pajoyeinternals:cmake [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
-CMake Migration+====== CMake Migration ====== 
 + 
 +Cmake Migration projects is a GSoC project mentored by Pierre A. Joye and developed by Alejandro Leiva. More [[http://code.google.com/soc/2008/php/appinfo.html?csaid=93F63E6C761134FB | info]]. 
 + 
 +===== Introduction ===== 
 + 
 +In PHP context CMake should do the PHP developer's life easier and more productive. 
 + 
 +  * Uniform language in many platforms. 
 +  * Automatic generation of native workspaces and projects (XCode, Visual Studio, Borland, Makefile, ...) 
 +  * The ability to automatically search for programs, libraries and header files. 
 +  * Macro support. 
 +  * The ability to generate native projects formats. 
 +  * Cross-compiling support. 
 + 
 +==== Supported Platforms ==== 
 + 
 + 
 +  * Linux 
 +  * Solaris / SunOS 
 +  * IRIX 
 +  * HPUX 
 +  * AIX 
 +  * Mac OS X > 10.2 
 +  * FreeBSD 
 +  * OSF 
 +  * Windows 98/ME/NT/2K/XP 
 +  * Windows Cygwin  
 +  * Windows Mingw 
 + 
 +===== Development ===== 
 + 
 +==== How to track it ==== 
 + 
 +You can get acces to web interfaces for the project accesing to: http://svn.php.net/viewvc/php/cmake/ 
 + 
 +==== How to get it ==== 
 + 
 +You can get the current development code (trunk) with anonymous access from svn using this command: 
 + 
 +<code shell> 
 +// anonymous login 
 +svn co http://svn.php.net/repository/php/cmake/trunk php.cmake 
 +// <username> login 
 +svn co --username <username> http://svn.php.net/repository/php/cmake/trunk php.cmake 
 +</code> 
 + 
 +Note: If you want to add some patches you can send it or request an account to <gloob@php.net> 
 + 
 +==== How to test it ==== 
 + 
 +Currently we support php-src/trunk source code, added as a svn external property.unk/cmake/) to your php checkouted copy.  
 + 
 +I suggest you that use an out-the-source compiling strategy. Move to another directory and execute cmake <php_source_dir> after that you'll have a Makefile file (in make platforms), execute make (or load the project file generated) 
 + 
 +You can use too the build_src.sh script (i.e. ./build_src <php_source_dir>)  
 + 
 +===  Linux and MacOS X === 
 + 
 +  * Copy ./cmake dir to src/php5 and cmake'it to ./build directory and make'it 
 +<code shell> 
 +dendrita:php.cmake/trunk $ ./build_src.sh src/php5/      
 +</code> 
 + 
 +=== Windows === 
 + 
 +  * TbD 
 + 
 +=== Other Platforms === 
 + 
 +  * TbD 
 + 
 + 
 +===== Related Pages ===== 
 + 
 +  * [[internals:cmake:status | Status && Milestone]] 
 +  * [[internals:cmake:notes | Work notes]]
internals/cmake.1208002961.txt.gz · Last modified: 2017/09/22 13:28 (external edit)