* Add the new Nepomuk query service classes and headers, and link against
[kdebindings.git] / CMakeLists.txt.php-qt
blobf86785d562f95a1ae5559663b2be2db6f6a1d24e
2 # to use the file to build a Qt only version of PHP-Qt, copy it to CMakeLists.txt
4 # make a build/ dir, step into
5 # run: cmake ..
6 # run: make
8 # for further information read the README file in php/phpqt
11 cmake_minimum_required(VERSION 2.6)
13 project(PHP-Qt)
15 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
16 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
18 FIND_PACKAGE(Perl REQUIRED)
19 FIND_PACKAGE (Qt4 REQUIRED)
21 add_definitions (${QT_DEFINITIONS}  -DHAVE_CONFIG_H=1)
22 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${QT_INCLUDES} )
24 FIND_PACKAGE (PHP5 REQUIRED)
25 FIND_PACKAGE (OpenGL REQUIRED)
27 OPTION(ENABLE_SMOKE "build Smoke" ON)
28 OPTION(ENABLE_QTWEBKIT_SMOKE "build QtWebKitSmoke" OFF)
29 OPTION(ENABLE_QTSCRIPT_SMOKE "build QtScriptSmoke" OFF)
30 OPTION(ENABLE_QTUITOOLS_SMOKE "build QtUiToolsSmoke" OFF)
31 OPTION(ENABLE_PHONON_SMOKE "build PhononSmoke" OFF)
32 OPTION(ENABLE_QSCI_SMOKE "build QsciSmoke" OFF)
33 OPTION(ENABLE_QWT_SMOKE "build QwtSmoke" OFF)
34 OPTION(ENABLE_KDE_SMOKE "build KDESmoke" OFF)
35 OPTION(ENABLE_KDEVPLATFORM_SMOKE "build KDevPlatformSmoke" OFF)
36 OPTION(ENABLE_KHTML_SMOKE "build KHTMLSmoke" OFF)
37 OPTION(ENABLE_KTEXTEDITOR_SMOKE "build KTextEditorSmoke" OFF)
38 OPTION(ENABLE_SOLID_SMOKE "build SolidSmoke" OFF)
39 OPTION(ENABLE_PHP-QT "build PHP-Qt" ON)
41 set(kdebindings_SOURCE_DIR ${CMAKE_SOURCE_DIR})
42 add_subdirectory(smoke)
43 add_subdirectory(php)