diff --git a/Code/CMakeLists.txt b/Code/CMakeLists.txt
index 2c9dc045dd748097f7d0532d0d229e59e64be11c..126e67ec5751097363a39b1937ae816e0e2b41d7 100644
--- a/Code/CMakeLists.txt
+++ b/Code/CMakeLists.txt
@@ -1,6 +1,5 @@
-SUBDIRS(Common BasicFilters IO ChangeDetection FeatureExtraction Learning
-MultiScale DisparityMap SpatialReasoning) 
+SUBDIRS(Common BasicFilters IO ChangeDetection FeatureExtraction Learning MultiScale DisparityMap SpatialReasoning) 
 
 IF(OTB_USE_VISU)
-        SUBDIRS(Visu)
+        SUBDIRS(Visu Gui)
 ENDIF(OTB_USE_VISU)
diff --git a/Code/Gui/CMakeLists.txt b/Code/Gui/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/Testing/Code/CMakeLists.txt b/Testing/Code/CMakeLists.txt
index 53652a511ca63b832784dc1ce5094a2db66cff0c..2d126a7f5c135fa3ac8f19d9706b77bfbccaa756 100644
--- a/Testing/Code/CMakeLists.txt
+++ b/Testing/Code/CMakeLists.txt
@@ -1,8 +1,7 @@
 # $Id$
 
-SUBDIRS(Common IO BasicFilters FeatureExtraction ChangeDetection Learning
-MultiScale DisparityMap SpatialReasoning)
+SUBDIRS(Common IO BasicFilters FeatureExtraction ChangeDetection Learning MultiScale DisparityMap SpatialReasoning)
 
 IF(OTB_USE_VISU)
-        SUBDIRS(Visu)
+        SUBDIRS(Visu Gui)
 ENDIF(OTB_USE_VISU)
diff --git a/Testing/Code/Gui/CMakeLists.txt b/Testing/Code/Gui/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391