diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9aa038b36ef20e9b1867a69d7efe8064b4021df2..4df5f4d0d0b416617c925cb53e96b29b84711d01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,6 +40,8 @@ file(GLOB_RECURSE HEADER_LIST "${CMAKE_CURRENT_SOURCE_DIR}/../${_mod}/*.hh")
 list(APPEND COMMON_HEADER ${HEADER_LIST})
 endforeach(_mod DEPENDENCIES)
 set_source_files_properties( ${COMMON_HEADER} PROPERTIES HEADER_FILE_ONLY 1 )
+file( GLOB_RECURSE gdt_src "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx" )
+add_format(${gdt} ${gdt_src})
 
 #disable most warnings from dependent modules
 foreach(_mod ${ALL_DEPENDENCIES})