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

bbender 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 f08a4d2  GEODE-6507: Create a subfolder for all clangformat projects
f08a4d2 is described below

commit f08a4d21a66da4d3ed840229e1e970942b769337
Author: Michael Martell <[email protected]>
AuthorDate: Tue Mar 12 09:37:07 2019 -0700

    GEODE-6507: Create a subfolder for all clangformat projects
    
    Just a convenience for developers, cleans up the Visual Studio solution 
space
---
 cmake/ClangFormat.cmake | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cmake/ClangFormat.cmake b/cmake/ClangFormat.cmake
index b5c6f23..521b826 100644
--- a/cmake/ClangFormat.cmake
+++ b/cmake/ClangFormat.cmake
@@ -58,8 +58,9 @@ function(add_clangformat _target)
     if (_clangformat_SOURCES)
       add_custom_target(${_clangformat}
           SOURCES ${_clangformat_SOURCES}
-          COMMENT "Clang-Format for target ${_target}")
-
+          COMMENT "Clang-Format for target ${_target}"
+      )
+      set_target_properties(${_clangformat} PROPERTIES FOLDER clangformat)
       add_dependencies(${_target} ${_clangformat})
     endif ()
 

Reply via email to