* Add more ruby friendly versions of KDE::ConfigGroup.readEntry() and
[kdebindings.git] / CMakeLists.txt.qyoto
blobac4eb165f940f68b55193f5fa35b51a9bc23039f
1 # Use the file to build a Qt only version of Qyoto.
2 #       1. Copy this file to kdebindings/CMakeLists.txt
3 #       2. Edit kdebindings/smoke/CMakeLists.txt and comment out the line:
4 #               add_subdirectory(kde)
5 #       3. Copy kdelibs/cmake/modules/FindQt4.cmake, MacroOptionalFindPackage.cmake
6 #      and MacroPushRequiredVars.cmake to kdebindings/cmake/modules
7 #       4. Build kdebindings with cmake
9 project(kdebindings)
11 # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
12 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
14 include (MacroOptionalFindPackage)
16 FIND_PACKAGE(Perl REQUIRED)
17 FIND_PACKAGE (Qt4 REQUIRED)
19 add_definitions (${QT_DEFINITIONS}  -DHAVE_CONFIG_H=1)
20 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${QT_INCLUDES} )
22 FIND_PACKAGE (OpenGL REQUIRED)
24 add_subdirectory(smoke)
25 add_subdirectory( csharp )