You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/09/20 14:59:15 UTC

[geode-native] branch develop updated: GEODE-3675: Remove format target.

This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 923d86a  GEODE-3675: Remove format target.
923d86a is described below

commit 923d86aad5dc5174551a032a1ac0053f9c21ed76
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Wed Sep 20 07:25:12 2017 -0700

    GEODE-3675: Remove format target.
---
 CMakeLists.txt | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 422efc0..1bab669 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,17 +117,6 @@ if(ENABLE_CLANG_TIDY)
   endif()
 endif()
 
-file(GLOB_RECURSE ALL_CXX_SOURCE_FILES *.[chi]pp *.[chi]xx *.cc *.hh *.ii *.[CHI])
-find_program(CLANG_FORMAT "clang-format")
-if(CLANG_FORMAT)
-  add_custom_target(format)
-  set_target_properties(format PROPERTIES EXCLUDE_FROM_ALL TRUE EXCLUDE_FROM_DEFAULT_BUILD TRUE)
-  
-  foreach(_file ${ALL_CXX_SOURCE_FILES})
-    add_custom_command(TARGET format PRE_BUILD COMMAND ${CLANG_FORMAT} -i -style=file -fallback-style=Google ${_file})
-  endforeach()
-endif()
-
 if(CMAKE_GENERATOR MATCHES Win64*)
   set(CMAKE_GENERATOR_TOOLSET "host=x64")
 else()

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].