diff --git a/CMake/VirtualFluidsMacros.cmake b/CMake/VirtualFluidsMacros.cmake
index 8ce300eb616966ba031da3a4bef39f5f7130a8fd..3d780000e64d2a97a2ada5fbdf1621311323f4af 100644
--- a/CMake/VirtualFluidsMacros.cmake
+++ b/CMake/VirtualFluidsMacros.cmake
@@ -180,6 +180,9 @@ function(vf_add_library)
 endfunction(vf_add_library)
 
 function(vf_add_tests)
+    if (NOT BUILD_VF_UNIT_TESTS)
+        return()
+    endif()
 
     vf_get_library_name (folder_name)
     set (targetName ${folder_name}Tests)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c3a3d33f78b5a886a54d80960ed67cc1f69d208..0c09bd74e1c0af9203f3bb6451bf6f3298968e2a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,14 @@
+#################################################################################
+#   _    ___      __              __________      _     __
+# | |  / (_)____/ /___  ______ _/ / ____/ /_  __(_)___/ /____
+# | | / / / ___/ __/ / / / __ `/ / /_  / / / / / / __  / ___/
+# | |/ / / /  / /_/ /_/ / /_/ / / __/ / / /_/ / / /_/ (__  )
+# |___/_/_/   \__/\__,_/\__,_/_/_/   /_/\__,_/_/\__,_/____/
+#
+#################################################################################
+#  required cmake versions
+#  CMAKE 3.9: CUDA support
+#################################################################################
 cmake_minimum_required(VERSION 3.9..3.17 FATAL_ERROR)
 
 if(${CMAKE_VERSION} VERSION_LESS 3.12)
@@ -6,25 +17,33 @@ endif()
 
 project(VirtualFluids CXX)
 
-set (CMAKE_PATH "${CMAKE_SOURCE_DIR}/CMake")
-
+#################################################################################
+#  OPTIONS
+#################################################################################
 option(BUILD_VF_CPU "Build VirtualFluids cpu variant" OFF)
 option(BUILD_VF_GPU "Build VirtualFluids gpu variant" ON)
+option(BUILD_VF_UNIT_TESTS "Build VirtualFluids unit tests" ON)
 
-
+#################################################################################
+#  MACROS
+#################################################################################
+set (CMAKE_PATH "${CMAKE_SOURCE_DIR}/CMake")
 include("${CMAKE_PATH}/CMakeCABMacros.cmake")
 include("${CMAKE_PATH}/FileUtilities.cmake")
 include("${CMAKE_PATH}/VirtualFluidsMacros.cmake")
 
-
-
-
+#################################################################################
+#  COMMON LIBRARIES
+#################################################################################
 add_subdirectory(src/basics)
 
+#################################################################################
+#  VIRTUAL FLUIDS CPU / GPU
+#################################################################################
 #if (BUILD_VF_CPU)
-#include (cpu.cmake)
+include (cpu.cmake)
 #endif()
 #if(BUILD_VF_GPU)
-include (gpu.cmake)
+#include (gpu.cmake)
 #endif()