SUBDIRLIST(APPDIRS ${CMAKE_CURRENT_SOURCE_DIR})
message("APPDIRS=${APPDIRS}")
FOREACH(app ${APPDIRS})
ADD_SUBDIRECTORY(${app})
ENDFOREACH()