mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
21 lines
627 B
CMake
21 lines
627 B
CMake
![]() |
project(dolphin)
|
||
|
|
||
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
|
||
|
|
||
|
# search packages used by KDE
|
||
|
find_package(KDE4 REQUIRED)
|
||
|
include (KDE4Defaults)
|
||
|
include (MacroLibrary)
|
||
|
|
||
|
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
|
||
|
add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1)
|
||
|
link_directories (${KDE4_LIB_DIR})
|
||
|
include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
|
||
|
|
||
|
include (ConfigureChecks.cmake)
|
||
|
configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
|
||
|
|
||
|
add_subdirectory(src)
|
||
|
|
||
|
macro_display_feature_log()
|