]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Replace tabs by 4 spaces in cmake build system files
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 21 Jan 2019 18:32:57 +0000 (19:32 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 23 Jan 2019 20:34:24 +0000 (21:34 +0100)
cmake/modules/CPackInstallConfig.cmake
cmake/modules/MacrosAutotools.cmake
cmake/modules/ProjectSourceGroup.cmake

index 5074347e3f9fbcfa49fef089031bfeb8735b5fa7..bf47cbbcc35cd6d68f0bce33d750b5acd5f627c3 100644 (file)
@@ -1,9 +1,9 @@
 
 if (DBUS_INSTALL_SYSTEM_LIBS)
-       if (MINGW)
-       else (MINGW)
-               INCLUDE(InstallRequiredSystemLibraries)
-       endif (MINGW)
+    if (MINGW)
+    else (MINGW)
+        INCLUDE(InstallRequiredSystemLibraries)
+    endif (MINGW)
         install(FILES ${LIBEXPAT_LIBRARIES} DESTINATION ${CMAKE_INSTALL_BINDIR})
 endif (DBUS_INSTALL_SYSTEM_LIBS)
 
index 888d5e722d98bbacd4d1d28d199e0040dcfea232..d770b949dde8542038d8ccb117082750777ff11e 100644 (file)
@@ -155,14 +155,14 @@ endmacro(autoheaderchecks)
 # not implemented yet
 # 
 macro(autoconfig template output)
-       file(READ ${template} contents)
-       # Convert file contents into a CMake list (where each element in the list
-       # is one line of the file)
-       STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}")
-       STRING(REGEX REPLACE "\n" ";" contents "${contents}")
-       foreach(line contents)
-               message(STATUS ${line})
-               # find #undef lines
-               # append to config.h #define <variable-name> <variable-content>
-       endforeach()
+    file(READ ${template} contents)
+    # Convert file contents into a CMake list (where each element in the list
+    # is one line of the file)
+    STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}")
+    STRING(REGEX REPLACE "\n" ";" contents "${contents}")
+    foreach(line contents)
+        message(STATUS ${line})
+        # find #undef lines
+        # append to config.h #define <variable-name> <variable-content>
+    endforeach()
 endmacro()
index 713a67a1edeed8fdb9231ccea724b74bd2bf0e1a..a9b3e0ad11b47b845d24ccf964fe485803d28791 100644 (file)
@@ -3,16 +3,16 @@
 # mode==split : standard behavior of cmake, split headers and sources
 # mode== <other values" : code is in this folder
 macro(project_source_group mode sources headers)
-       #message(STATUS ${mode})
-       #message(STATUS ${sources} ${headers})
-       if(${mode} MATCHES "flat")
-               source_group("Source Files" Files)
-               source_group("Header Files" Files)
-               source_group("cmake" FILES CMakeLists.txt)
-       else(${mode} MATCHES "flat")
-               if(NOT ${mode} MATCHES "split")
-                       source_group("${mode}" FILES ${${sources}} ${${headers}})
-               endif(NOT ${mode} MATCHES "split")
-       endif(${mode} MATCHES "flat")
+    #message(STATUS ${mode})
+    #message(STATUS ${sources} ${headers})
+    if(${mode} MATCHES "flat")
+        source_group("Source Files" Files)
+        source_group("Header Files" Files)
+        source_group("cmake" FILES CMakeLists.txt)
+    else(${mode} MATCHES "flat")
+        if(NOT ${mode} MATCHES "split")
+            source_group("${mode}" FILES ${${sources}} ${${headers}})
+        endif(NOT ${mode} MATCHES "split")
+    endif(${mode} MATCHES "flat")
 endmacro(project_source_group mode sources headers)