diff --git a/CMake/CMakeHelpers.cmake b/CMake/CMakeHelpers.cmake
index a237e6e1dea877214388fe77b2fe9308fcccfa08..4c1466d085d9cc1e1e212921aef93fda6f06cb16 100644
--- a/CMake/CMakeHelpers.cmake
+++ b/CMake/CMakeHelpers.cmake
@@ -1,5 +1,9 @@
 #add docu
 macro (add_event arg1 event_name dir dir_out)
+
+  exec_program( "protoc" "${PROTOBUF_BIN}" ARGS "${dir}/${event_name}.proto" "--proto_path=${dir}" "--cpp_out=${dir}" OUTPUT_VARIABLE output )
+  message ("output of protoc is: ${output}")
+  message ("${dir}")
       
   exec_program( "protoc" "${PROTOBUF_BIN}" ARGS "${dir}/${event_name}.proto" "--proto_path=${dir}" "--python_out=${dir_out}" OUTPUT_VARIABLE output )
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd5cdfbb8efddaa8ea6a6e5215e065f99b638e50..502924c58a66c0bb9030681bfa82e5a994b06c4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ include_directories ("${CMAKE_CURRENT_BINARY_DIR}")
 
 add_event ( nett_python routing_message ${NETT_SCHEMA_DIR} ${PROJECT_BINARY_DIR} )
 add_event ( nett_python string_message ${NETT_SCHEMA_DIR} ${PROJECT_BINARY_DIR} )
+add_event ( nett_python float_message ${NETT_SCHEMA_DIR} ${PROJECT_BINARY_DIR} )
 add_library (nett_python SHARED ${ProjectSources} ${nett_python_EVENT_SOURCE_FILES})
 
 target_link_libraries( nett_python optimized ${NETT_LIBRARY} debug ${NETT_LIBRARY_DEBUG})