[Php-qt-users] new cmake build system
Status: Beta
Brought to you by:
tm243
From: Thomas M. <tm...@ip...> - 2007-02-19 22:15:38
|
Hello, I added a new cmake based build system to PHP-Qt. CMake is easier to mainta= in=20 and supports all platforms as Linux/Unix, MacOSX and Windows. Also it is=20 possible to do out-of-source builds which enables you to build PHP-Qt witho= ut=20 creating files in the original source dir. To get a clean build environment= =20 just delete all files in your build dir and run cmake again. The PHP-Qt=20 source dir will not be modified. The usage is quite simple, just create your build directory and change into= =2E=20 Then type 'cmake /path/to/php_qt' to create the Makefile.=20 After that just run make and make install.=20 CMake is available in most distributions in GUI and commandline versions. Y= ou=20 can get a copy and more information about it here: http://www.cmake.org Here is a short recipe: #1 Download PHP-Qt, unpack it and create a directory 'build' in the php_qt= =20 trunk dir: 'mkdir trunk/build' #2 change into this build dir 'cd trunk/build' #3 run it: =A0=A0=A0=A0=A0=A0=A0=A0cmake .. =A0=A0=A0=A0=A0=A0=A0=A0make =A0=A0=A0=A0=A0=A0=A0=A0sudo make install Have fun :-) Thomas |