diff options
author | gregory guy <[email protected]> | 2019-10-17 14:22:44 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-10-20 01:24:13 +0900 |
commit | 1913dc31008d15cbd18c0773f90ad523515e37d0 (patch) | |
tree | caa96a55547e6ef06e7874012d1ef7db6add8220 /CMakeLists.txt | |
parent | d6bde8c736d58fbd5da6216b03ee60fd1a02123b (diff) | |
download | kkbswitch-1913dc31008d15cbd18c0773f90ad523515e37d0.tar.gz kkbswitch-1913dc31008d15cbd18c0773f90ad523515e37d0.zip |
Drop automake build support.
Add basic cmake build instructions in the INSTALL file.
Deleted empty file: NEWS.
Deleted obsolete file: kkbswitch.spec .
Some cleanup in the README, the "man" page and the "help" page files.
The man page as well as the icons have moved in their own folder.
Signed-off-by: gregory guy <[email protected]>
(cherry picked from commit 9d191894a587d67cacceb69b868160250820cfa7)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a452bc..a22eb72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,16 +41,16 @@ tde_setup_paths( ) ##### optional stuff -option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) -option( WITH_RU_UA_LAYOUT "Add Russian and Ukrainian keyboard" ${WITH_ALL_OPTIONS} ) +option( WITH_RU_UA_LAYOUT "Add Russian and Ukrainian keyboard" ${WITH_ALL_OPTIONS} ) ##### user requested modules -option( BUILD_ALL "Build all" ON ) -option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) -option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) +option( BUILD_ALL "Build all" OFF ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) ##### configure checks @@ -69,26 +69,13 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories +add_subdirectory( icons ) add_subdirectory( ${PROJECT_NAME} ) add_subdirectory( ${PROJECT_NAME}.upd ) tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) -##### man page - -INSTALL( - FILES ${PROJECT_NAME}.1 - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc -) - - -##### icons - -tde_install_icons( ${PROJECT_NAME} ) - - ##### write configure files configure_file( config.h.cmake config.h @ONLY ) |