text: FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*)
  FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/ FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE)
  
  FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*)
  SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt)
  ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
  