diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-25 12:47:39 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-25 12:47:39 +0200 |
commit | 1f85a65078815b56bbb5581675b4f6e3253d8d9f (patch) | |
tree | ec48e9f100e8550442f27cdd819512e829789b7e /CMakeLists.txt | |
parent | Use vcs_tag to get version information (diff) | |
download | smolbote-1f85a65078815b56bbb5581675b4f6e3253d8d9f.tar.xz |
Remove CMakeLists
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index f75bba4..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,66 +0,0 @@ -cmake_minimum_required(VERSION 3.10.0) -project(smolbote) - -find_package(Qt5 5.11.0 COMPONENTS Core Widgets WebEngineWidgets REQUIRED) -find_package(Boost 1.66 COMPONENTS program_options REQUIRED) -find_package(ECM 1.6.0 NO_MODULE) - -# add cmake/ to module path -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -include(FeatureSummary) -include(VendorConfig) - -if(CONFIG_USEPLASMA) - find_package(KF5 "5.6.0" COMPONENTS Wallet WindowSystem REQUIRED) -endif(CONFIG_USEPLASMA) - -if(CONFIG_USEBREAKPAD) - find_package(Threads REQUIRED) - add_subdirectory(3rd-party/breakpad) -endif(CONFIG_USEBREAKPAD) - -# Global C++ settings -set(CMAKE_CXX_STANDARD 17) - -# configure a header file to pass version information -configure_file("${PROJECT_SOURCE_DIR}/src/version.h.in" "${PROJECT_BINARY_DIR}/src/version.h") - -add_subdirectory(3rd-party/SingleApplication) - -add_subdirectory(lib/about) -add_subdirectory(lib/addressbar) -add_subdirectory(lib/bookmarks) -add_subdirectory(lib/downloads) -add_subdirectory(lib/configuration) -add_subdirectory(lib/web) -add_subdirectory(lib/urlfilter) - -add_subdirectory(plugins/ProfileEditor) -add_subdirectory(plugins/ConfigurationEditor) - -add_subdirectory(src) - -add_subdirectory(doc) - -#if(CONFIG_TESTS) - enable_testing() - find_package(Qt5 COMPONENTS Test REQUIRED) - add_subdirectory(test) -#endif(CONFIG_TESTS) - -# Summarize -message(STATUS "=== Configuration summary ===") -message(STATUS "Building ${CONFIG_POI_NAME} (${CONFIG_POI_EXE}) ${poi_Build}") -message(STATUS "Platform: ${CMAKE_SYSTEM_NAME}") -message(STATUS "Generator: ${CMAKE_GENERATOR}") -message(STATUS "Build type: ${CMAKE_BUILD_TYPE}") -message(STATUS "CXX compiler: ${CMAKE_CXX_COMPILER_ID}") -message(STATUS "CXX flags: ${CMAKE_CXX_FLAGS}") -message(STATUS "CXX flags dbg: ${CMAKE_CXX_FLAGS_DEBUG}") -message(STATUS "CXX flags rel: ${CMAKE_CXX_FLAGS_RELEASE}") -message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}") -message(STATUS "Install bindir ${CONFIG_INSTALL_BINDIR}") -message(STATUS "Install libdir ${CONFIG_INSTALL_LIBDIR}") -message(STATUS "Install plugins ${CONFIG_INSTALL_PLUGINDIR}") - -feature_summary(WHAT ALL) |