diff options
author | Michele Calgaro <[email protected]> | 2024-03-08 12:20:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-08 16:09:41 +0900 |
commit | 0afc7ddb4714dd26179d283cf9c0cabc00ccb2a5 (patch) | |
tree | 444ad8f8d0dba0d228305f690f3dfa51d8b3e9cf | |
parent | b3aed46acb0a6d0dc3952a0eb2fe39302aeb4e66 (diff) | |
download | kbfx-0afc7ddb4714dd26179d283cf9c0cabc00ccb2a5.tar.gz kbfx-0afc7ddb4714dd26179d283cf9c0cabc00ccb2a5.zip |
cmake files: change keywords to lower case
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | CMakeLists.txt | 52 | ||||
-rw-r--r-- | ConfigureChecks.cmake | 30 | ||||
-rw-r--r-- | configdialog/CMakeLists.txt | 2 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/applications/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/common/CMakeLists.txt | 4 | ||||
-rw-r--r-- | plugins/plasmoids/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/recentstuff/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/settings/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/strigi/CMakeLists.txt | 2 | ||||
-rw-r--r-- | skin/raster/2panels/CMakeLists.txt | 4 | ||||
-rw-r--r-- | skin/raster/default/CMakeLists.txt | 4 |
12 files changed, 54 insertions, 54 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 42aa68c..b7a3f0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,32 +47,32 @@ tde_setup_paths( ) ##### set version numbers ####################### # For versions that are stable set to 1, else to 0 -SET(APPLICATION_STABLE 1) - -SET(LIB_MAJOR 4) -SET(LIB_MINOR 9) -SET(LIB_RELEASE 3) -SET(LIB_SUB_RELEASE 1) -SET(APPLICATION_INTERNAL_VERSION "20070516") -SET(APPLICATION_DATE "2007-05-16") - -SET(APPLICATION_NAME "${PROJECT_NAME}") -SET(APPLICATION_MAIN_VERSION "0.${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}") - -IF (APPLICATION_STABLE) - SET(APPLICATION_STABLE_RELEASE ".${LIB_SUB_RELEASE}") - SET(APPLICATION_VERSION "${APPLICATION_MAIN_VERSION}.${LIB_SUB_RELEASE}") - SET(GENTOO_VERSION "${APPLICATION_MAIN_VERSION}.${LIB_SUB_RELEASE}") -ELSE (APPLICATION_APPLICATION_STABLE "") - SET(STABLE_RELEASE) - SET(APPLICATION_VERSION "${APPLICATION_MAIN_VERSION}-${LIB_SUB_RELEASE}") - SET(GENTOO_VERSION "${APPLICATION_MAIN_VERSION}_pre${LIB_SUB_RELEASE}") -ENDIF (APPLICATION_STABLE) - -SET(PACKAGE_VERSION ${APPLICATION_VERSION}) - -SET(STRIGI_VERSION "0.3.11") -SET(GENTOO_KEYWORDS "x86 ~ppc ~amd64") +set(APPLICATION_STABLE 1) + +set(LIB_MAJOR 4) +set(LIB_MINOR 9) +set(LIB_RELEASE 3) +set(LIB_SUB_RELEASE 1) +set(APPLICATION_INTERNAL_VERSION "20070516") +set(APPLICATION_DATE "2007-05-16") + +set(APPLICATION_NAME "${PROJECT_NAME}") +set(APPLICATION_MAIN_VERSION "0.${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}") + +if (APPLICATION_STABLE) + set(APPLICATION_STABLE_RELEASE ".${LIB_SUB_RELEASE}") + set(APPLICATION_VERSION "${APPLICATION_MAIN_VERSION}.${LIB_SUB_RELEASE}") + set(GENTOO_VERSION "${APPLICATION_MAIN_VERSION}.${LIB_SUB_RELEASE}") +else (APPLICATION_APPLICATION_STABLE "") + set(STABLE_RELEASE) + set(APPLICATION_VERSION "${APPLICATION_MAIN_VERSION}-${LIB_SUB_RELEASE}") + set(GENTOO_VERSION "${APPLICATION_MAIN_VERSION}_pre${LIB_SUB_RELEASE}") +endif (APPLICATION_STABLE) + +set(PACKAGE_VERSION ${APPLICATION_VERSION}) + +set(STRIGI_VERSION "0.3.11") +set(GENTOO_KEYWORDS "x86 ~ppc ~amd64") ##### user requested modules #################### diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 7e13f24..1e05c63 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -42,22 +42,22 @@ check_function_exists( statvfs HAVE_STATVFS ) #### Find strigi if needed ####################### -IF (USE_STRIGI) - FIND_PACKAGE(Strigi REQUIRED) - INCLUDE_DIRECTORIES(${STRIGI_INCLUDE_DIR}) - MESSAGE(STATUS "Strigi support is: ON!") -ELSE (USE_STRIGI) - MESSAGE(STATUS "Strigi support is: OFF!") -ENDIF (USE_STRIGI) +if (USE_STRIGI) + find_package(Strigi REQUIRED) + include_directories(${STRIGI_INCLUDE_DIR}) + message(STATUS "Strigi support is: ON!") +else (USE_STRIGI) + message(STATUS "Strigi support is: OFF!") +endif (USE_STRIGI) #### Find menudrake if needed ##################### -FIND_PROGRAM(HAVE_MANDRAKE menudrake) -IF (HAVE_MANDRAKE AND USE_MENUDRAKE) - SET(MANDRAKE "1") - MESSAGE(STATUS "Will use 'menudrake' instead of 'kmenuedit'!") -ELSE (HAVE_MANDRAKE AND USE_MENUDRAKE) - SET(MANDRAKE "") - MESSAGE(STATUS "Will use 'kmenuedit'!") -ENDIF (HAVE_MANDRAKE AND USE_MENUDRAKE) +find_program(HAVE_MANDRAKE menudrake) +if (HAVE_MANDRAKE AND USE_MENUDRAKE) + set(MANDRAKE "1") + message(STATUS "Will use 'menudrake' instead of 'kmenuedit'!") +else (HAVE_MANDRAKE AND USE_MENUDRAKE) + set(MANDRAKE "") + message(STATUS "Will use 'kmenuedit'!") +endif (HAVE_MANDRAKE AND USE_MENUDRAKE) diff --git a/configdialog/CMakeLists.txt b/configdialog/CMakeLists.txt index 869f6ed..050e5be 100644 --- a/configdialog/CMakeLists.txt +++ b/configdialog/CMakeLists.txt @@ -43,7 +43,7 @@ tde_add_executable( kbfxconfigapp AUTOMOC ##### configuration files ####################### -INSTALL(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp) +install(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp) ##### desktop files ############################# diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 14ae1a2..4db536c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -11,7 +11,7 @@ add_subdirectory( en ) -INSTALL( +install( FILES AUTHORS # ChangeLog diff --git a/plugins/applications/CMakeLists.txt b/plugins/applications/CMakeLists.txt index 702a00c..6bc2ba9 100644 --- a/plugins/applications/CMakeLists.txt +++ b/plugins/applications/CMakeLists.txt @@ -47,4 +47,4 @@ tde_add_library( ${target} SHARED AUTOMOC ##### headers ####################################### file( GLOB HEADERS *.h ) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) diff --git a/plugins/common/CMakeLists.txt b/plugins/common/CMakeLists.txt index 96b4a77..a42ea85 100644 --- a/plugins/common/CMakeLists.txt +++ b/plugins/common/CMakeLists.txt @@ -1,3 +1,3 @@ -FILE(GLOB HEADERS *.h) +file(GLOB HEADERS *.h) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) diff --git a/plugins/plasmoids/CMakeLists.txt b/plugins/plasmoids/CMakeLists.txt index db620f8..3e2a830 100644 --- a/plugins/plasmoids/CMakeLists.txt +++ b/plugins/plasmoids/CMakeLists.txt @@ -47,4 +47,4 @@ tde_add_library( ${target} SHARED AUTOMOC ##### headers ####################################### file( GLOB HEADERS *.h ) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) diff --git a/plugins/recentstuff/CMakeLists.txt b/plugins/recentstuff/CMakeLists.txt index 659f8ff..b9cb2ec 100644 --- a/plugins/recentstuff/CMakeLists.txt +++ b/plugins/recentstuff/CMakeLists.txt @@ -47,4 +47,4 @@ tde_add_library( ${target} SHARED AUTOMOC ##### headers ####################################### file( GLOB HEADERS *.h ) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
\ No newline at end of file +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
\ No newline at end of file diff --git a/plugins/settings/CMakeLists.txt b/plugins/settings/CMakeLists.txt index e8c80c7..25a67af 100644 --- a/plugins/settings/CMakeLists.txt +++ b/plugins/settings/CMakeLists.txt @@ -47,4 +47,4 @@ tde_add_library( ${target} SHARED AUTOMOC ##### headers ####################################### file( GLOB HEADERS *.h ) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins) diff --git a/plugins/strigi/CMakeLists.txt b/plugins/strigi/CMakeLists.txt index 8f9ffd0..054374b 100644 --- a/plugins/strigi/CMakeLists.txt +++ b/plugins/strigi/CMakeLists.txt @@ -47,4 +47,4 @@ tde_add_library( ${target} SHARED AUTOMOC ##### headers ####################################### file( GLOB HEADERS *.h ) -INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
\ No newline at end of file +install(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)
\ No newline at end of file diff --git a/skin/raster/2panels/CMakeLists.txt b/skin/raster/2panels/CMakeLists.txt index 107e44d..aec7973 100644 --- a/skin/raster/2panels/CMakeLists.txt +++ b/skin/raster/2panels/CMakeLists.txt @@ -1,4 +1,4 @@ -FILE(GLOB PNGFILES *.png kbfxlayoutrc kbfxfontrc version-2 ) +file(GLOB PNGFILES *.png kbfxlayoutrc kbfxfontrc version-2 ) -INSTALL(FILES ${PNGFILES} +install(FILES ${PNGFILES} DESTINATION ${DATA_INSTALL_DIR}/kbfx/skins/2panels) diff --git a/skin/raster/default/CMakeLists.txt b/skin/raster/default/CMakeLists.txt index b30b0ac..fcf07de 100644 --- a/skin/raster/default/CMakeLists.txt +++ b/skin/raster/default/CMakeLists.txt @@ -1,4 +1,4 @@ -FILE(GLOB PNGFILES *.png kbfxlayoutrc kbfxfontrc version-2 ) +file(GLOB PNGFILES *.png kbfxlayoutrc kbfxfontrc version-2 ) -INSTALL(FILES ${PNGFILES} +install(FILES ${PNGFILES} DESTINATION ${DATA_INSTALL_DIR}/kbfx/skins/default) |