IF(EXISTS "${BIN_DIR}/GLPaint" AND IS_DIRECTORY "${BIN_DIR}/GLPaint") FILE(REMOVE_RECURSE "${BIN_DIR}/GLPaint") ENDIF() IF(EXISTS "${BIN_DIR}/Surfaces" AND IS_DIRECTORY "${BIN_DIR}/Surfaces") FILE(REMOVE_RECURSE "${BIN_DIR}/Surfaces") ENDIF() IF(EXISTS "${BIN_DIR}/VolumeRender" AND IS_DIRECTORY "${BIN_DIR}/VolumeRender") FILE(REMOVE_RECURSE "${BIN_DIR}/VolumeRender") ENDIF() IF(EXISTS "${BIN_DIR}/PlaneView" AND IS_DIRECTORY "${BIN_DIR}/PlaneView") FILE(REMOVE_RECURSE "${BIN_DIR}/PlaneView") ENDIF()