Reorganised folders & examples automatically built 66/35966/5
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 26 Feb 2015 16:28:29 +0000 (16:28 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 26 Feb 2015 17:28:02 +0000 (17:28 +0000)
New Structure:

  build
    |  tizen
  builder
    |  dali-builder.cpp
  demo
    |  [demo source & header files]
  examples
    |  [example-name]
    |    |  [example source files]
  packaging
    |  com.samsung.dali-demo.spec
  resources
    |  images
    |    |  [all images]
    |  models
    |    |  [all models]
    |  scripts
    |    |  [all scripts]
  shared
    |  view.h

Now, each example should be in its own subdirectory within the "examples" directory. This will get
automatically built.

README also updated.

Change-Id: Idae4cedf220698a4a2d928535cff88e8bf25f82a

342 files changed:
README
build/tizen/.gitignore
build/tizen/CMakeLists.txt
build/tizen/builder/CMakeLists.txt [new file with mode: 0644]
build/tizen/examples/CMakeLists.txt
builder/dali-builder.cpp [moved from examples/builder/dali-builder.cpp with 100% similarity]
demo/dali-table-view.cpp
examples/blocks/blocks-example.cpp
examples/bubble-effect/bubble-effect-example.cpp [moved from examples/shader-effect/bubble-effect-example.cpp with 99% similarity]
examples/builder/examples.cpp
examples/buttons/buttons-example.cpp
examples/cluster/cluster-example.cpp
examples/cube-transition-effect/cube-transition-effect-example.cpp [moved from examples/transition/cube-transition-effect-example.cpp with 99% similarity]
examples/dissolve-effect/dissolve-effect-example.cpp [moved from examples/shader-effect/dissolve-effect-example.cpp with 99% similarity]
examples/image-scaling-irregular-grid/grid-flags.h [moved from examples/image/image-scaling-irregular-grid/grid-flags.h with 100% similarity]
examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp [moved from examples/image/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp with 99% similarity]
examples/item-view/item-view-example.cpp
examples/logging/logging-example.cpp
examples/magnifier/magnifier-example.cpp
examples/motion-blur/motion-blur-example.cpp [moved from examples/motion/motion-blur-example.cpp with 99% similarity]
examples/motion-stretch/motion-stretch-example.cpp [moved from examples/motion/motion-stretch-example.cpp with 99% similarity]
examples/new-window/new-window-example.cpp
examples/radial-menu/radial-menu-example.cpp
examples/refraction-effect/refraction-effect-example.cpp [moved from examples/shader-effect/refraction-effect-example.cpp with 99% similarity]
examples/scroll-view/scroll-view-example.cpp
examples/shadow-bone-lighting/shadow-bone-lighting-example.cpp [moved from examples/shadows/shadow-bone-lighting-example.cpp with 99% similarity]
examples/text-view/text-view-example.cpp
resources/images/add-meta.sh [moved from demo/images/add-meta.sh with 100% similarity]
resources/images/animation-list.png [moved from demo/images/animation-list.png with 100% similarity]
resources/images/animation-picture-1.png [moved from demo/images/animation-picture-1.png with 100% similarity]
resources/images/animation-picture-2.png [moved from demo/images/animation-picture-2.png with 100% similarity]
resources/images/animation-picture-3.png [moved from demo/images/animation-picture-3.png with 100% similarity]
resources/images/animation-picture-4.png [moved from demo/images/animation-picture-4.png with 100% similarity]
resources/images/animation-picture-5.png [moved from demo/images/animation-picture-5.png with 100% similarity]
resources/images/apache-licence.xmp [moved from demo/images/apache-licence.xmp with 100% similarity]
resources/images/background-1.jpg [moved from demo/images/background-1.jpg with 100% similarity]
resources/images/background-2.jpg [moved from demo/images/background-2.jpg with 100% similarity]
resources/images/background-3.jpg [moved from demo/images/background-3.jpg with 100% similarity]
resources/images/background-4.jpg [moved from demo/images/background-4.jpg with 100% similarity]
resources/images/background-5.jpg [moved from demo/images/background-5.jpg with 100% similarity]
resources/images/background-blocks.jpg [moved from demo/images/background-blocks.jpg with 100% similarity]
resources/images/background-default.png [moved from demo/images/background-default.png with 100% similarity]
resources/images/background-gradient.jpg [moved from demo/images/background-gradient.jpg with 100% similarity]
resources/images/background-magnifier.jpg [moved from demo/images/background-magnifier.jpg with 100% similarity]
resources/images/blocks-ball.png [moved from demo/images/blocks-ball.png with 100% similarity]
resources/images/blocks-brick-1.png [moved from demo/images/blocks-brick-1.png with 100% similarity]
resources/images/blocks-brick-2.png [moved from demo/images/blocks-brick-2.png with 100% similarity]
resources/images/blocks-brick-3.png [moved from demo/images/blocks-brick-3.png with 100% similarity]
resources/images/blocks-brick-4.png [moved from demo/images/blocks-brick-4.png with 100% similarity]
resources/images/blocks-paddle-handle.png [moved from demo/images/blocks-paddle-handle.png with 100% similarity]
resources/images/blocks-paddle.png [moved from demo/images/blocks-paddle.png with 100% similarity]
resources/images/book-landscape-cover-back.jpg [moved from demo/images/book-landscape-cover-back.jpg with 100% similarity]
resources/images/book-landscape-cover.jpg [moved from demo/images/book-landscape-cover.jpg with 100% similarity]
resources/images/book-landscape-p1.jpg [moved from demo/images/book-landscape-p1.jpg with 100% similarity]
resources/images/book-landscape-p2.jpg [moved from demo/images/book-landscape-p2.jpg with 100% similarity]
resources/images/book-landscape-p3.jpg [moved from demo/images/book-landscape-p3.jpg with 100% similarity]
resources/images/book-landscape-p4.jpg [moved from demo/images/book-landscape-p4.jpg with 100% similarity]
resources/images/book-landscape-p5.jpg [moved from demo/images/book-landscape-p5.jpg with 100% similarity]
resources/images/book-landscape-p6.jpg [moved from demo/images/book-landscape-p6.jpg with 100% similarity]
resources/images/book-landscape-p7.jpg [moved from demo/images/book-landscape-p7.jpg with 100% similarity]
resources/images/book-landscape-p8.jpg [moved from demo/images/book-landscape-p8.jpg with 100% similarity]
resources/images/book-portrait-cover.jpg [moved from demo/images/book-portrait-cover.jpg with 100% similarity]
resources/images/book-portrait-p1.jpg [moved from demo/images/book-portrait-p1.jpg with 100% similarity]
resources/images/book-portrait-p2.jpg [moved from demo/images/book-portrait-p2.jpg with 100% similarity]
resources/images/book-portrait-p3.jpg [moved from demo/images/book-portrait-p3.jpg with 100% similarity]
resources/images/book-portrait-p4.jpg [moved from demo/images/book-portrait-p4.jpg with 100% similarity]
resources/images/book-portrait-p5.jpg [moved from demo/images/book-portrait-p5.jpg with 100% similarity]
resources/images/book-portrait-p6.jpg [moved from demo/images/book-portrait-p6.jpg with 100% similarity]
resources/images/book-portrait-p7.jpg [moved from demo/images/book-portrait-p7.jpg with 100% similarity]
resources/images/book-portrait-p8.jpg [moved from demo/images/book-portrait-p8.jpg with 100% similarity]
resources/images/brick-wall.jpg [moved from demo/images/brick-wall.jpg with 100% similarity]
resources/images/bubble-ball.png [moved from demo/images/bubble-ball.png with 100% similarity]
resources/images/button-background.png [moved from demo/images/button-background.png with 100% similarity]
resources/images/button-disabled.9.png [moved from demo/images/button-disabled.9.png with 100% similarity]
resources/images/button-down.9.png [moved from demo/images/button-down.9.png with 100% similarity]
resources/images/button-up.9.png [moved from demo/images/button-up.9.png with 100% similarity]
resources/images/checkbox-selected.png [moved from demo/images/checkbox-selected.png with 100% similarity]
resources/images/checkbox-unselected.png [moved from demo/images/checkbox-unselected.png with 100% similarity]
resources/images/circle.png [moved from demo/images/circle.png with 100% similarity]
resources/images/cluster-background.png [moved from demo/images/cluster-background.png with 100% similarity]
resources/images/cluster-image-frame.png [moved from demo/images/cluster-image-frame.png with 100% similarity]
resources/images/cluster-image-shadow.png [moved from demo/images/cluster-image-shadow.png with 100% similarity]
resources/images/com.samsung.dali-demo.ico [moved from demo/images/com.samsung.dali-demo.ico with 100% similarity]
resources/images/com.samsung.dali-demo.png [moved from demo/images/com.samsung.dali-demo.png with 100% similarity]
resources/images/contacts-add.png [moved from demo/images/contacts-add.png with 100% similarity]
resources/images/contacts-background.png [moved from demo/images/contacts-background.png with 100% similarity]
resources/images/contacts-circle.png [moved from demo/images/contacts-circle.png with 100% similarity]
resources/images/contacts-email.png [moved from demo/images/contacts-email.png with 100% similarity]
resources/images/contacts-home.png [moved from demo/images/contacts-home.png with 100% similarity]
resources/images/contacts-image.png [moved from demo/images/contacts-image.png with 100% similarity]
resources/images/contacts-main.png [moved from demo/images/contacts-main.png with 100% similarity]
resources/images/contacts-messenger.png [moved from demo/images/contacts-messenger.png with 100% similarity]
resources/images/contacts-mobile.png [moved from demo/images/contacts-mobile.png with 100% similarity]
resources/images/contacts-plain.png [moved from demo/images/contacts-plain.png with 100% similarity]
resources/images/contacts-text.png [moved from demo/images/contacts-text.png with 100% similarity]
resources/images/curve-left.png [moved from demo/images/curve-left.png with 100% similarity]
resources/images/curve-middle.png [moved from demo/images/curve-middle.png with 100% similarity]
resources/images/curve-right.png [moved from demo/images/curve-right.png with 100% similarity]
resources/images/dali-logo.png [moved from demo/images/dali-logo.png with 100% similarity]
resources/images/frame-128x128.png [moved from demo/images/frame-128x128.png with 100% similarity]
resources/images/gallery-large-1.jpg [moved from demo/images/gallery-large-1.jpg with 100% similarity]
resources/images/gallery-large-10.jpg [moved from demo/images/gallery-large-10.jpg with 100% similarity]
resources/images/gallery-large-11.jpg [moved from demo/images/gallery-large-11.jpg with 100% similarity]
resources/images/gallery-large-12.jpg [moved from demo/images/gallery-large-12.jpg with 100% similarity]
resources/images/gallery-large-13.jpg [moved from demo/images/gallery-large-13.jpg with 100% similarity]
resources/images/gallery-large-14.jpg [moved from demo/images/gallery-large-14.jpg with 100% similarity]
resources/images/gallery-large-14.wbmp [moved from demo/images/gallery-large-14.wbmp with 100% similarity]
resources/images/gallery-large-15.jpg [moved from demo/images/gallery-large-15.jpg with 100% similarity]
resources/images/gallery-large-16.jpg [moved from demo/images/gallery-large-16.jpg with 100% similarity]
resources/images/gallery-large-17.jpg [moved from demo/images/gallery-large-17.jpg with 100% similarity]
resources/images/gallery-large-18.jpg [moved from demo/images/gallery-large-18.jpg with 100% similarity]
resources/images/gallery-large-19.jpg [moved from demo/images/gallery-large-19.jpg with 100% similarity]
resources/images/gallery-large-2.jpg [moved from demo/images/gallery-large-2.jpg with 100% similarity]
resources/images/gallery-large-20.jpg [moved from demo/images/gallery-large-20.jpg with 100% similarity]
resources/images/gallery-large-21.jpg [moved from demo/images/gallery-large-21.jpg with 100% similarity]
resources/images/gallery-large-3.jpg [moved from demo/images/gallery-large-3.jpg with 100% similarity]
resources/images/gallery-large-4.jpg [moved from demo/images/gallery-large-4.jpg with 100% similarity]
resources/images/gallery-large-5.jpg [moved from demo/images/gallery-large-5.jpg with 100% similarity]
resources/images/gallery-large-6.jpg [moved from demo/images/gallery-large-6.jpg with 100% similarity]
resources/images/gallery-large-7.jpg [moved from demo/images/gallery-large-7.jpg with 100% similarity]
resources/images/gallery-large-8.jpg [moved from demo/images/gallery-large-8.jpg with 100% similarity]
resources/images/gallery-large-9.jpg [moved from demo/images/gallery-large-9.jpg with 100% similarity]
resources/images/gallery-medium-1.jpg [moved from demo/images/gallery-medium-1.jpg with 100% similarity]
resources/images/gallery-medium-10.jpg [moved from demo/images/gallery-medium-10.jpg with 100% similarity]
resources/images/gallery-medium-11.jpg [moved from demo/images/gallery-medium-11.jpg with 100% similarity]
resources/images/gallery-medium-12.jpg [moved from demo/images/gallery-medium-12.jpg with 100% similarity]
resources/images/gallery-medium-13.jpg [moved from demo/images/gallery-medium-13.jpg with 100% similarity]
resources/images/gallery-medium-14.jpg [moved from demo/images/gallery-medium-14.jpg with 100% similarity]
resources/images/gallery-medium-15.jpg [moved from demo/images/gallery-medium-15.jpg with 100% similarity]
resources/images/gallery-medium-16.jpg [moved from demo/images/gallery-medium-16.jpg with 100% similarity]
resources/images/gallery-medium-17.jpg [moved from demo/images/gallery-medium-17.jpg with 100% similarity]
resources/images/gallery-medium-18.jpg [moved from demo/images/gallery-medium-18.jpg with 100% similarity]
resources/images/gallery-medium-19.jpg [moved from demo/images/gallery-medium-19.jpg with 100% similarity]
resources/images/gallery-medium-2.jpg [moved from demo/images/gallery-medium-2.jpg with 100% similarity]
resources/images/gallery-medium-20.jpg [moved from demo/images/gallery-medium-20.jpg with 100% similarity]
resources/images/gallery-medium-21.jpg [moved from demo/images/gallery-medium-21.jpg with 100% similarity]
resources/images/gallery-medium-22.jpg [moved from demo/images/gallery-medium-22.jpg with 100% similarity]
resources/images/gallery-medium-23.jpg [moved from demo/images/gallery-medium-23.jpg with 100% similarity]
resources/images/gallery-medium-24.jpg [moved from demo/images/gallery-medium-24.jpg with 100% similarity]
resources/images/gallery-medium-25.jpg [moved from demo/images/gallery-medium-25.jpg with 100% similarity]
resources/images/gallery-medium-26.jpg [moved from demo/images/gallery-medium-26.jpg with 100% similarity]
resources/images/gallery-medium-27.jpg [moved from demo/images/gallery-medium-27.jpg with 100% similarity]
resources/images/gallery-medium-28.jpg [moved from demo/images/gallery-medium-28.jpg with 100% similarity]
resources/images/gallery-medium-29.jpg [moved from demo/images/gallery-medium-29.jpg with 100% similarity]
resources/images/gallery-medium-3.jpg [moved from demo/images/gallery-medium-3.jpg with 100% similarity]
resources/images/gallery-medium-30.jpg [moved from demo/images/gallery-medium-30.jpg with 100% similarity]
resources/images/gallery-medium-31.jpg [moved from demo/images/gallery-medium-31.jpg with 100% similarity]
resources/images/gallery-medium-32.jpg [moved from demo/images/gallery-medium-32.jpg with 100% similarity]
resources/images/gallery-medium-33.jpg [moved from demo/images/gallery-medium-33.jpg with 100% similarity]
resources/images/gallery-medium-34.jpg [moved from demo/images/gallery-medium-34.jpg with 100% similarity]
resources/images/gallery-medium-35.jpg [moved from demo/images/gallery-medium-35.jpg with 100% similarity]
resources/images/gallery-medium-36.jpg [moved from demo/images/gallery-medium-36.jpg with 100% similarity]
resources/images/gallery-medium-37.jpg [moved from demo/images/gallery-medium-37.jpg with 100% similarity]
resources/images/gallery-medium-38.jpg [moved from demo/images/gallery-medium-38.jpg with 100% similarity]
resources/images/gallery-medium-39.jpg [moved from demo/images/gallery-medium-39.jpg with 100% similarity]
resources/images/gallery-medium-4.jpg [moved from demo/images/gallery-medium-4.jpg with 100% similarity]
resources/images/gallery-medium-40.jpg [moved from demo/images/gallery-medium-40.jpg with 100% similarity]
resources/images/gallery-medium-41.jpg [moved from demo/images/gallery-medium-41.jpg with 100% similarity]
resources/images/gallery-medium-42.jpg [moved from demo/images/gallery-medium-42.jpg with 100% similarity]
resources/images/gallery-medium-43.jpg [moved from demo/images/gallery-medium-43.jpg with 100% similarity]
resources/images/gallery-medium-44.jpg [moved from demo/images/gallery-medium-44.jpg with 100% similarity]
resources/images/gallery-medium-45.jpg [moved from demo/images/gallery-medium-45.jpg with 100% similarity]
resources/images/gallery-medium-46.jpg [moved from demo/images/gallery-medium-46.jpg with 100% similarity]
resources/images/gallery-medium-47.jpg [moved from demo/images/gallery-medium-47.jpg with 100% similarity]
resources/images/gallery-medium-48.jpg [moved from demo/images/gallery-medium-48.jpg with 100% similarity]
resources/images/gallery-medium-49.jpg [moved from demo/images/gallery-medium-49.jpg with 100% similarity]
resources/images/gallery-medium-5.jpg [moved from demo/images/gallery-medium-5.jpg with 100% similarity]
resources/images/gallery-medium-50.jpg [moved from demo/images/gallery-medium-50.jpg with 100% similarity]
resources/images/gallery-medium-51.jpg [moved from demo/images/gallery-medium-51.jpg with 100% similarity]
resources/images/gallery-medium-52.jpg [moved from demo/images/gallery-medium-52.jpg with 100% similarity]
resources/images/gallery-medium-53.jpg [moved from demo/images/gallery-medium-53.jpg with 100% similarity]
resources/images/gallery-medium-6.jpg [moved from demo/images/gallery-medium-6.jpg with 100% similarity]
resources/images/gallery-medium-7.jpg [moved from demo/images/gallery-medium-7.jpg with 100% similarity]
resources/images/gallery-medium-8.jpg [moved from demo/images/gallery-medium-8.jpg with 100% similarity]
resources/images/gallery-medium-9.jpg [moved from demo/images/gallery-medium-9.jpg with 100% similarity]
resources/images/gallery-small-1.jpg [moved from demo/images/gallery-small-1.jpg with 100% similarity]
resources/images/gallery-small-10.jpg [moved from demo/images/gallery-small-10.jpg with 100% similarity]
resources/images/gallery-small-11.jpg [moved from demo/images/gallery-small-11.jpg with 100% similarity]
resources/images/gallery-small-12.jpg [moved from demo/images/gallery-small-12.jpg with 100% similarity]
resources/images/gallery-small-13.jpg [moved from demo/images/gallery-small-13.jpg with 100% similarity]
resources/images/gallery-small-14.jpg [moved from demo/images/gallery-small-14.jpg with 100% similarity]
resources/images/gallery-small-15.jpg [moved from demo/images/gallery-small-15.jpg with 100% similarity]
resources/images/gallery-small-16.jpg [moved from demo/images/gallery-small-16.jpg with 100% similarity]
resources/images/gallery-small-17.jpg [moved from demo/images/gallery-small-17.jpg with 100% similarity]
resources/images/gallery-small-18.jpg [moved from demo/images/gallery-small-18.jpg with 100% similarity]
resources/images/gallery-small-19.jpg [moved from demo/images/gallery-small-19.jpg with 100% similarity]
resources/images/gallery-small-2.jpg [moved from demo/images/gallery-small-2.jpg with 100% similarity]
resources/images/gallery-small-20.jpg [moved from demo/images/gallery-small-20.jpg with 100% similarity]
resources/images/gallery-small-21.jpg [moved from demo/images/gallery-small-21.jpg with 100% similarity]
resources/images/gallery-small-22.jpg [moved from demo/images/gallery-small-22.jpg with 100% similarity]
resources/images/gallery-small-23.jpg [moved from demo/images/gallery-small-23.jpg with 100% similarity]
resources/images/gallery-small-24.jpg [moved from demo/images/gallery-small-24.jpg with 100% similarity]
resources/images/gallery-small-25.jpg [moved from demo/images/gallery-small-25.jpg with 100% similarity]
resources/images/gallery-small-26.jpg [moved from demo/images/gallery-small-26.jpg with 100% similarity]
resources/images/gallery-small-27.jpg [moved from demo/images/gallery-small-27.jpg with 100% similarity]
resources/images/gallery-small-28.jpg [moved from demo/images/gallery-small-28.jpg with 100% similarity]
resources/images/gallery-small-29.jpg [moved from demo/images/gallery-small-29.jpg with 100% similarity]
resources/images/gallery-small-3.jpg [moved from demo/images/gallery-small-3.jpg with 100% similarity]
resources/images/gallery-small-30.jpg [moved from demo/images/gallery-small-30.jpg with 100% similarity]
resources/images/gallery-small-31.jpg [moved from demo/images/gallery-small-31.jpg with 100% similarity]
resources/images/gallery-small-32.jpg [moved from demo/images/gallery-small-32.jpg with 100% similarity]
resources/images/gallery-small-33.jpg [moved from demo/images/gallery-small-33.jpg with 100% similarity]
resources/images/gallery-small-34.jpg [moved from demo/images/gallery-small-34.jpg with 100% similarity]
resources/images/gallery-small-35.jpg [moved from demo/images/gallery-small-35.jpg with 100% similarity]
resources/images/gallery-small-36.jpg [moved from demo/images/gallery-small-36.jpg with 100% similarity]
resources/images/gallery-small-37.jpg [moved from demo/images/gallery-small-37.jpg with 100% similarity]
resources/images/gallery-small-38.jpg [moved from demo/images/gallery-small-38.jpg with 100% similarity]
resources/images/gallery-small-39.jpg [moved from demo/images/gallery-small-39.jpg with 100% similarity]
resources/images/gallery-small-4.jpg [moved from demo/images/gallery-small-4.jpg with 100% similarity]
resources/images/gallery-small-40.jpg [moved from demo/images/gallery-small-40.jpg with 100% similarity]
resources/images/gallery-small-41.jpg [moved from demo/images/gallery-small-41.jpg with 100% similarity]
resources/images/gallery-small-42.jpg [moved from demo/images/gallery-small-42.jpg with 100% similarity]
resources/images/gallery-small-43.jpg [moved from demo/images/gallery-small-43.jpg with 100% similarity]
resources/images/gallery-small-44.jpg [moved from demo/images/gallery-small-44.jpg with 100% similarity]
resources/images/gallery-small-45.jpg [moved from demo/images/gallery-small-45.jpg with 100% similarity]
resources/images/gallery-small-46.jpg [moved from demo/images/gallery-small-46.jpg with 100% similarity]
resources/images/gallery-small-47.jpg [moved from demo/images/gallery-small-47.jpg with 100% similarity]
resources/images/gallery-small-48.jpg [moved from demo/images/gallery-small-48.jpg with 100% similarity]
resources/images/gallery-small-49.jpg [moved from demo/images/gallery-small-49.jpg with 100% similarity]
resources/images/gallery-small-5.jpg [moved from demo/images/gallery-small-5.jpg with 100% similarity]
resources/images/gallery-small-50.jpg [moved from demo/images/gallery-small-50.jpg with 100% similarity]
resources/images/gallery-small-51.jpg [moved from demo/images/gallery-small-51.jpg with 100% similarity]
resources/images/gallery-small-52.jpg [moved from demo/images/gallery-small-52.jpg with 100% similarity]
resources/images/gallery-small-53.jpg [moved from demo/images/gallery-small-53.jpg with 100% similarity]
resources/images/gallery-small-6.jpg [moved from demo/images/gallery-small-6.jpg with 100% similarity]
resources/images/gallery-small-7.jpg [moved from demo/images/gallery-small-7.jpg with 100% similarity]
resources/images/gallery-small-8.jpg [moved from demo/images/gallery-small-8.jpg with 100% similarity]
resources/images/gallery-small-9.jpg [moved from demo/images/gallery-small-9.jpg with 100% similarity]
resources/images/icon-change.png [moved from demo/images/icon-change.png with 100% similarity]
resources/images/icon-cluster-carousel.png [moved from demo/images/icon-cluster-carousel.png with 100% similarity]
resources/images/icon-cluster-none.png [moved from demo/images/icon-cluster-none.png with 100% similarity]
resources/images/icon-cluster-sphere.png [moved from demo/images/icon-cluster-sphere.png with 100% similarity]
resources/images/icon-cluster-wobble.png [moved from demo/images/icon-cluster-wobble.png with 100% similarity]
resources/images/icon-delete.png [moved from demo/images/icon-delete.png with 100% similarity]
resources/images/icon-edit.png [moved from demo/images/icon-edit.png with 100% similarity]
resources/images/icon-effect-cross.png [moved from demo/images/icon-effect-cross.png with 100% similarity]
resources/images/icon-effect-fold.png [moved from demo/images/icon-effect-fold.png with 100% similarity]
resources/images/icon-effect-wave.png [moved from demo/images/icon-effect-wave.png with 100% similarity]
resources/images/icon-effects-off.png [moved from demo/images/icon-effects-off.png with 100% similarity]
resources/images/icon-effects-on.png [moved from demo/images/icon-effects-on.png with 100% similarity]
resources/images/icon-highp.png [moved from demo/images/icon-highp.png with 100% similarity]
resources/images/icon-insert.png [moved from demo/images/icon-insert.png with 100% similarity]
resources/images/icon-item-view-layout-depth.png [moved from demo/images/icon-item-view-layout-depth.png with 100% similarity]
resources/images/icon-item-view-layout-grid.png [moved from demo/images/icon-item-view-layout-grid.png with 100% similarity]
resources/images/icon-item-view-layout-spiral.png [moved from demo/images/icon-item-view-layout-spiral.png with 100% similarity]
resources/images/icon-mediump.png [moved from demo/images/icon-mediump.png with 100% similarity]
resources/images/icon-play.png [moved from demo/images/icon-play.png with 100% similarity]
resources/images/icon-replace.png [moved from demo/images/icon-replace.png with 100% similarity]
resources/images/icon-reset.png [moved from demo/images/icon-reset.png with 100% similarity]
resources/images/icon-scroll-view-carousel.png [moved from demo/images/icon-scroll-view-carousel.png with 100% similarity]
resources/images/icon-scroll-view-depth.png [moved from demo/images/icon-scroll-view-depth.png with 100% similarity]
resources/images/icon-scroll-view-inner-cube.png [moved from demo/images/icon-scroll-view-inner-cube.png with 100% similarity]
resources/images/icon-scroll-view-outer-cube.png [moved from demo/images/icon-scroll-view-outer-cube.png with 100% similarity]
resources/images/icon-scroll-view-spiral.png [moved from demo/images/icon-scroll-view-spiral.png with 100% similarity]
resources/images/icon-stop.png [moved from demo/images/icon-stop.png with 100% similarity]
resources/images/image-with-border-1.jpg [moved from demo/images/image-with-border-1.jpg with 100% similarity]
resources/images/image-with-border-2.jpg [moved from demo/images/image-with-border-2.jpg with 100% similarity]
resources/images/image-with-border-3.jpg [moved from demo/images/image-with-border-3.jpg with 100% similarity]
resources/images/image-with-border-4.jpg [moved from demo/images/image-with-border-4.jpg with 100% similarity]
resources/images/image-with-border-5.jpg [moved from demo/images/image-with-border-5.jpg with 100% similarity]
resources/images/item-background-alpha.png [moved from demo/images/item-background-alpha.png with 100% similarity]
resources/images/item-background.png [moved from demo/images/item-background.png with 100% similarity]
resources/images/item-select-check.png [moved from demo/images/item-select-check.png with 100% similarity]
resources/images/landscape_screen_primitive_shapes.gif [moved from demo/images/landscape_screen_primitive_shapes.gif with 100% similarity]
resources/images/layer1.png [moved from demo/images/layer1.png with 100% similarity]
resources/images/layer2.png [moved from demo/images/layer2.png with 100% similarity]
resources/images/layer3.png [moved from demo/images/layer3.png with 100% similarity]
resources/images/layer4.png [moved from demo/images/layer4.png with 100% similarity]
resources/images/music-libray-arrow.png [moved from demo/images/music-libray-arrow.png with 100% similarity]
resources/images/music-libray-circle.png [moved from demo/images/music-libray-circle.png with 100% similarity]
resources/images/music-libray-foxtrot-oscar.png [moved from demo/images/music-libray-foxtrot-oscar.png with 100% similarity]
resources/images/music-libray-main-screen.png [moved from demo/images/music-libray-main-screen.png with 100% similarity]
resources/images/music-libray-menu.png [moved from demo/images/music-libray-menu.png with 100% similarity]
resources/images/music-libray-pause.png [moved from demo/images/music-libray-pause.png with 100% similarity]
resources/images/music-libray-record-cover.png [moved from demo/images/music-libray-record-cover.png with 100% similarity]
resources/images/music-libray-rectangle.png [moved from demo/images/music-libray-rectangle.png with 100% similarity]
resources/images/music-libray-star.png [moved from demo/images/music-libray-star.png with 100% similarity]
resources/images/music-libray-the-solars.png [moved from demo/images/music-libray-the-solars.png with 100% similarity]
resources/images/music-libray-triangle.png [moved from demo/images/music-libray-triangle.png with 100% similarity]
resources/images/people-medium-1.jpg [moved from demo/images/people-medium-1.jpg with 100% similarity]
resources/images/people-medium-10.jpg [moved from demo/images/people-medium-10.jpg with 100% similarity]
resources/images/people-medium-11.jpg [moved from demo/images/people-medium-11.jpg with 100% similarity]
resources/images/people-medium-12.jpg [moved from demo/images/people-medium-12.jpg with 100% similarity]
resources/images/people-medium-13.jpg [moved from demo/images/people-medium-13.jpg with 100% similarity]
resources/images/people-medium-14.jpg [moved from demo/images/people-medium-14.jpg with 100% similarity]
resources/images/people-medium-15.jpg [moved from demo/images/people-medium-15.jpg with 100% similarity]
resources/images/people-medium-16.jpg [moved from demo/images/people-medium-16.jpg with 100% similarity]
resources/images/people-medium-2.jpg [moved from demo/images/people-medium-2.jpg with 100% similarity]
resources/images/people-medium-3.jpg [moved from demo/images/people-medium-3.jpg with 100% similarity]
resources/images/people-medium-4.jpg [moved from demo/images/people-medium-4.jpg with 100% similarity]
resources/images/people-medium-5.jpg [moved from demo/images/people-medium-5.jpg with 100% similarity]
resources/images/people-medium-6.jpg [moved from demo/images/people-medium-6.jpg with 100% similarity]
resources/images/people-medium-7.jpg [moved from demo/images/people-medium-7.jpg with 100% similarity]
resources/images/people-medium-8.jpg [moved from demo/images/people-medium-8.jpg with 100% similarity]
resources/images/people-medium-9.jpg [moved from demo/images/people-medium-9.jpg with 100% similarity]
resources/images/people-small-1.jpg [moved from demo/images/people-small-1.jpg with 100% similarity]
resources/images/people-small-10.jpg [moved from demo/images/people-small-10.jpg with 100% similarity]
resources/images/people-small-11.jpg [moved from demo/images/people-small-11.jpg with 100% similarity]
resources/images/people-small-12.jpg [moved from demo/images/people-small-12.jpg with 100% similarity]
resources/images/people-small-13.jpg [moved from demo/images/people-small-13.jpg with 100% similarity]
resources/images/people-small-14.jpg [moved from demo/images/people-small-14.jpg with 100% similarity]
resources/images/people-small-15.jpg [moved from demo/images/people-small-15.jpg with 100% similarity]
resources/images/people-small-16.jpg [moved from demo/images/people-small-16.jpg with 100% similarity]
resources/images/people-small-2.jpg [moved from demo/images/people-small-2.jpg with 100% similarity]
resources/images/people-small-3.jpg [moved from demo/images/people-small-3.jpg with 100% similarity]
resources/images/people-small-4.jpg [moved from demo/images/people-small-4.jpg with 100% similarity]
resources/images/people-small-5.jpg [moved from demo/images/people-small-5.jpg with 100% similarity]
resources/images/people-small-6.jpg [moved from demo/images/people-small-6.jpg with 100% similarity]
resources/images/people-small-7.jpg [moved from demo/images/people-small-7.jpg with 100% similarity]
resources/images/people-small-8.jpg [moved from demo/images/people-small-8.jpg with 100% similarity]
resources/images/people-small-9.jpg [moved from demo/images/people-small-9.jpg with 100% similarity]
resources/images/portrait_screen_primitive_shapes.gif [moved from demo/images/portrait_screen_primitive_shapes.gif with 100% similarity]
resources/images/spot_button_off.png [moved from demo/images/spot_button_off.png with 100% similarity]
resources/images/spot_button_on.png [moved from demo/images/spot_button_on.png with 100% similarity]
resources/images/spot_jelly_off.png [moved from demo/images/spot_jelly_off.png with 100% similarity]
resources/images/spot_jelly_on.png [moved from demo/images/spot_jelly_on.png with 100% similarity]
resources/images/square_primitive_shapes.bmp [moved from demo/images/square_primitive_shapes.bmp with 100% similarity]
resources/images/top-bar.png [moved from demo/images/top-bar.png with 100% similarity]
resources/models/Album-Cute-COVER-small.png [moved from demo/models/Album-Cute-COVER-small.png with 100% similarity]
resources/models/AlbumCute.dae [moved from demo/models/AlbumCute.dae with 100% similarity]
resources/models/AlbumCute.dali-bin [moved from demo/models/AlbumCute.dali-bin with 100% similarity]
resources/models/Kitten.png [moved from demo/models/Kitten.png with 100% similarity]
resources/models/surface_pattern_v01.obj [moved from demo/models/surface_pattern_v01.obj with 100% similarity]
resources/models/surface_pattern_v02.obj [moved from demo/models/surface_pattern_v02.obj with 100% similarity]
resources/scripts/animated-buttons.json [moved from demo/scripts/animated-buttons.json with 100% similarity]
resources/scripts/animated-colors.json [moved from demo/scripts/animated-colors.json with 100% similarity]
resources/scripts/animation.json [moved from demo/scripts/animation.json with 100% similarity]
resources/scripts/background-color.json [moved from demo/scripts/background-color.json with 100% similarity]
resources/scripts/button.json [moved from demo/scripts/button.json with 100% similarity]
resources/scripts/choreography.json [moved from demo/scripts/choreography.json with 100% similarity]
resources/scripts/contacts.json [moved from demo/scripts/contacts.json with 100% similarity]
resources/scripts/formatted-text.json [moved from demo/scripts/formatted-text.json with 100% similarity]
resources/scripts/gallery.json [moved from demo/scripts/gallery.json with 100% similarity]
resources/scripts/hello-world.json [moved from demo/scripts/hello-world.json with 100% similarity]
resources/scripts/music-library.json [moved from demo/scripts/music-library.json with 100% similarity]
resources/scripts/navigation.json [moved from demo/scripts/navigation.json with 100% similarity]
resources/scripts/slider-test-style.json [moved from demo/scripts/slider-test-style.json with 100% similarity]
resources/scripts/slider.json [moved from demo/scripts/slider.json with 100% similarity]
resources/scripts/super-blur-view.json [moved from demo/scripts/super-blur-view.json with 100% similarity]
resources/scripts/table-view.json [moved from demo/scripts/table-view.json with 100% similarity]
resources/scripts/timing.json [moved from demo/scripts/timing.json with 100% similarity]
shared/view.h [moved from examples/shared/view.h with 100% similarity]

diff --git a/README b/README
index 5187f08..e1c2d35 100644 (file)
--- a/README
+++ b/README
@@ -7,7 +7,7 @@ T.O.C.
  2.   Building for Ubuntu desktop
  2.1. Minimum Requirements
  2.2. Building the Repository
-
+ 3.   Creating an example
 
 
 1. GBS Builds
@@ -46,3 +46,14 @@ Then run the following commands:
  cmake -DCMAKE_INSTALL_PREFIX=$DESKTOP_PREFIX .
  make install -j8
 
+
+
+3. Creating an example
+======================
+
+ - Make a directory in the "examples" directory. Only one example will be created per directory.
+ - The executable installed will have a ".example" appended to it, e.g. a "blocks" directory produces "blocks.example".
+ - Add all source files for the required example in this directory.
+ - Modify "com.samsung.dali-demo.xml" to include your example so that it can be launched on target.
+ - No changes are required to the make system as long as the above is followed, your example will be automatically built & installed.
+
index 1712ae7..bc56788 100644 (file)
@@ -8,6 +8,5 @@ install_manifest.txt
 /demo/dali-performance
 /demo/performance.core
 /docs/dali.doxy
+/builder/dali-builder
 /examples/*.demo
-/performance/dali-performance
-/performance/performance.*
index 5147cb3..8819ff8 100644 (file)
@@ -16,9 +16,10 @@ ELSE()
         SET(BINDIR ${PREFIX}/bin)
 ENDIF()
 
-SET(LOCAL_IMAGES_DIR ${ROOT_SRC_DIR}/demo/images)
-SET(LOCAL_MODELS_DIR ${ROOT_SRC_DIR}/demo/models)
-SET(LOCAL_SCRIPTS_DIR ${ROOT_SRC_DIR}/demo/scripts)
+SET(RESOURCE_DIR ${ROOT_SRC_DIR}/resources)
+SET(LOCAL_IMAGES_DIR ${RESOURCE_DIR}/images)
+SET(LOCAL_MODELS_DIR ${RESOURCE_DIR}/models)
+SET(LOCAL_SCRIPTS_DIR ${RESOURCE_DIR}/scripts)
 
 SET(IMAGES_DIR ${APP_DATA_DIR}/images/)
 SET(MODELS_DIR ${APP_DATA_DIR}/models/)
@@ -38,17 +39,17 @@ FILE(GLOB LOCAL_IMAGES_WBMP RELATIVE "${LOCAL_IMAGES_DIR}" "${LOCAL_IMAGES_DIR}/
 
 SET(LOCAL_IMAGES_LIST ${LOCAL_IMAGES_PNG};${LOCAL_IMAGES_JPG};${LOCAL_IMAGES_GIF};${LOCAL_IMAGES_BMP};${LOCAL_IMAGES_ICO};${LOCAL_IMAGES_WBMP})
 FOREACH(flag ${LOCAL_IMAGES_LIST})
-        INSTALL(FILES ../../demo/images/${flag} DESTINATION ${IMAGES_DIR})
+        INSTALL(FILES ${LOCAL_IMAGES_DIR}/${flag} DESTINATION ${IMAGES_DIR})
 ENDFOREACH(flag)
 
 FILE(GLOB LOCAL_MODELS_LIST RELATIVE "${LOCAL_MODELS_DIR}" "${LOCAL_MODELS_DIR}/*")
 FOREACH(flag ${LOCAL_MODELS_LIST})
-        INSTALL(FILES ../../demo/models/${flag} DESTINATION ${MODELS_DIR})
+        INSTALL(FILES ${LOCAL_MODELS_DIR}/${flag} DESTINATION ${MODELS_DIR})
 ENDFOREACH(flag)
 
 FILE(GLOB LOCAL_SCRIPTS_LIST RELATIVE "${LOCAL_SCRIPTS_DIR}" "${LOCAL_SCRIPTS_DIR}/*")
 FOREACH(flag ${LOCAL_SCRIPTS_LIST})
-        INSTALL(FILES ../../demo/scripts/${flag} DESTINATION ${SCRIPTS_DIR})
+        INSTALL(FILES ${LOCAL_SCRIPTS_DIR}/${flag} DESTINATION ${SCRIPTS_DIR})
 ENDFOREACH(flag)
 
 SET(PKG_LIST dali
@@ -71,3 +72,4 @@ INCLUDE_DIRECTORIES(${DEMO_SRC_DIR})
 
 ADD_SUBDIRECTORY(demo)
 ADD_SUBDIRECTORY(examples)
+ADD_SUBDIRECTORY(builder)
diff --git a/build/tizen/builder/CMakeLists.txt b/build/tizen/builder/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d7d72e9
--- /dev/null
@@ -0,0 +1,6 @@
+SET(BUILDER_SRC_DIR ${ROOT_SRC_DIR}/builder)
+
+SET(DALI_BUILDER_SRCS ${BUILDER_SRC_DIR}/dali-builder.cpp)
+ADD_EXECUTABLE(dali-builder ${DALI_BUILDER_SRCS})
+TARGET_LINK_LIBRARIES(dali-builder ${REQUIRED_PKGS_LDFLAGS})
+INSTALL(TARGETS dali-builder DESTINATION ${BINDIR})
index 0ea3823..bab5ba4 100644 (file)
 SET(EXAMPLES_SRC_DIR ${ROOT_SRC_DIR}/examples)
 
-SET(BLOCKS_SRCS ${EXAMPLES_SRC_DIR}/blocks/blocks-example.cpp)
-ADD_EXECUTABLE(blocks.example ${BLOCKS_SRCS})
-TARGET_LINK_LIBRARIES(blocks.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS blocks.example DESTINATION ${BINDIR})
-
-SET(BUBBLE_EFFECT_SRCS ${EXAMPLES_SRC_DIR}/shader-effect/bubble-effect-example.cpp)
-ADD_EXECUTABLE(bubble-effect.example ${BUBBLE_EFFECT_SRCS})
-TARGET_LINK_LIBRARIES(bubble-effect.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS bubble-effect.example DESTINATION ${BINDIR})
-
-SET(CLUSTER_SRCS ${EXAMPLES_SRC_DIR}/cluster/cluster-example.cpp)
-ADD_EXECUTABLE(cluster.example ${CLUSTER_SRCS})
-TARGET_LINK_LIBRARIES(cluster.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS cluster.example DESTINATION ${BINDIR})
-
-SET(CUBE_TRANSITION_EFFECT_SRCS ${EXAMPLES_SRC_DIR}/transition/cube-transition-effect-example.cpp)
-ADD_EXECUTABLE(cube-transition-effect.example ${CUBE_TRANSITION_EFFECT_SRCS})
-TARGET_LINK_LIBRARIES(cube-transition-effect.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS cube-transition-effect.example DESTINATION ${BINDIR})
-
-SET(DISSOLVE_EFFECT_SRCS ${EXAMPLES_SRC_DIR}/shader-effect/dissolve-effect-example.cpp)
-ADD_EXECUTABLE(dissolve-effect.example ${DISSOLVE_EFFECT_SRCS})
-TARGET_LINK_LIBRARIES(dissolve-effect.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS dissolve-effect.example DESTINATION ${BINDIR})
-
-SET(HELLO_WORLD_SRCS ${EXAMPLES_SRC_DIR}/hello-world/hello-world-example.cpp)
-ADD_EXECUTABLE(hello-world.example ${HELLO_WORLD_SRCS})
-TARGET_LINK_LIBRARIES(hello-world.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS hello-world.example DESTINATION ${BINDIR})
-
-SET(ITEM_VIEW_SRCS ${EXAMPLES_SRC_DIR}/item-view/item-view-example.cpp)
-ADD_EXECUTABLE(item-view.example ${ITEM_VIEW_SRCS})
-TARGET_LINK_LIBRARIES(item-view.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS item-view.example DESTINATION ${BINDIR})
-
-SET(MAGNIFIER_SRCS ${EXAMPLES_SRC_DIR}/magnifier/magnifier-example.cpp)
-ADD_EXECUTABLE(magnifier.example ${MAGNIFIER_SRCS})
-TARGET_LINK_LIBRARIES(magnifier.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS magnifier.example DESTINATION ${BINDIR})
-
-SET(MOTION_BLUR_SRCS ${EXAMPLES_SRC_DIR}/motion/motion-blur-example.cpp)
-ADD_EXECUTABLE(motion-blur.example ${MOTION_BLUR_SRCS})
-TARGET_LINK_LIBRARIES(motion-blur.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS motion-blur.example DESTINATION ${BINDIR})
-
-SET(MOTION_STRETCH_SRCS ${EXAMPLES_SRC_DIR}/motion/motion-stretch-example.cpp)
-ADD_EXECUTABLE(motion-stretch.example ${MOTION_STRETCH_SRCS})
-TARGET_LINK_LIBRARIES(motion-stretch.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS motion-stretch.example DESTINATION ${BINDIR})
-
-SET(NEW_WINDOW_SRCS ${EXAMPLES_SRC_DIR}/new-window/new-window-example.cpp)
-ADD_EXECUTABLE(new-window.example ${NEW_WINDOW_SRCS})
-TARGET_LINK_LIBRARIES(new-window.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS new-window.example DESTINATION ${BINDIR})
-
-SET(PAGE_TURN_VIEW_SRCS ${EXAMPLES_SRC_DIR}/page-turn-view/page-turn-view-example.cpp)
-ADD_EXECUTABLE(page-turn-view.example ${PAGE_TURN_VIEW_SRCS})
-TARGET_LINK_LIBRARIES(page-turn-view.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS page-turn-view.example DESTINATION ${BINDIR})
-
-AUX_SOURCE_DIRECTORY(${EXAMPLES_SRC_DIR}/radial-menu RADIAL_MENU_SRCS)
-ADD_EXECUTABLE(radial-menu.example ${RADIAL_MENU_SRCS})
-TARGET_LINK_LIBRARIES(radial-menu.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS radial-menu.example DESTINATION ${BINDIR})
-
-SET(REFRACTION_EFFECT_SRCS ${EXAMPLES_SRC_DIR}/shader-effect/refraction-effect-example.cpp)
-ADD_EXECUTABLE(refraction-effect.example ${REFRACTION_EFFECT_SRCS})
-TARGET_LINK_LIBRARIES(refraction-effect.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS refraction-effect.example DESTINATION ${BINDIR})
-
-SET(SCROLL_VIEW_SRCS ${EXAMPLES_SRC_DIR}/scroll-view/scroll-view-example.cpp)
-ADD_EXECUTABLE(scroll-view.example ${SCROLL_VIEW_SRCS})
-TARGET_LINK_LIBRARIES(scroll-view.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS scroll-view.example DESTINATION ${BINDIR})
-
-SET(SHADOW_BONE_LIGHTING_SRCS ${EXAMPLES_SRC_DIR}/shadows/shadow-bone-lighting-example.cpp)
-ADD_EXECUTABLE(shadow-bone-lighting.example ${SHADOW_BONE_LIGHTING_SRCS})
-TARGET_LINK_LIBRARIES(shadow-bone-lighting.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS shadow-bone-lighting.example DESTINATION ${BINDIR})
-
-SET(DALI_BUILDER_SRCS ${EXAMPLES_SRC_DIR}/builder/dali-builder.cpp)
-ADD_EXECUTABLE(dali-builder ${DALI_BUILDER_SRCS})
-TARGET_LINK_LIBRARIES(dali-builder ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS dali-builder DESTINATION ${BINDIR})
-
-SET(BUILDER_SRCS ${EXAMPLES_SRC_DIR}/builder/examples.cpp)
-ADD_EXECUTABLE(builder.example ${BUILDER_SRCS})
-TARGET_LINK_LIBRARIES(builder.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS builder.example DESTINATION ${BINDIR})
-
-SET(IMAGE_SCALING_IRREGULAR_GRID_SRCS ${EXAMPLES_SRC_DIR}/image/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp)
-ADD_EXECUTABLE(image-scaling-irregular-grid.example ${IMAGE_SCALING_IRREGULAR_GRID_SRCS})
-TARGET_LINK_LIBRARIES(image-scaling-irregular-grid.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS image-scaling-irregular-grid.example DESTINATION ${BINDIR})
-
-SET(BUTTONS_SRCS ${EXAMPLES_SRC_DIR}/buttons/buttons-example.cpp)
-ADD_EXECUTABLE(buttons.example ${BUTTONS_SRCS})
-TARGET_LINK_LIBRARIES(buttons.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS buttons.example DESTINATION ${BINDIR})
-
-SET(TEXT_VIEW_SRCS ${EXAMPLES_SRC_DIR}/text-view/text-view-example.cpp)
-ADD_EXECUTABLE(text-view.example ${TEXT_VIEW_SRCS})
-TARGET_LINK_LIBRARIES(text-view.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS text-view.example DESTINATION ${BINDIR})
-
-SET(LOGGING_SRCS ${EXAMPLES_SRC_DIR}/logging/logging-example.cpp)
-ADD_EXECUTABLE(logging.example ${LOGGING_SRCS})
-TARGET_LINK_LIBRARIES(logging.example ${REQUIRED_PKGS_LDFLAGS})
-INSTALL(TARGETS logging.example DESTINATION ${BINDIR})
+# Get all subdirectory names from EXAMPLES_SRC_DIR
+MACRO(SUBDIRLIST result curdir)
+  FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)
+  SET(dirlist "")
+  FOREACH(child ${children})
+    IF(IS_DIRECTORY ${curdir}/${child})
+        LIST(APPEND dirlist ${child})
+    ENDIF()
+  ENDFOREACH()
+  SET(${result} ${dirlist})
+ENDMACRO()
+SUBDIRLIST(SUBDIRS ${EXAMPLES_SRC_DIR})
+
+FOREACH(EXAMPLE ${SUBDIRS})
+  FILE(GLOB SRCS "${EXAMPLES_SRC_DIR}/${EXAMPLE}/*.cpp")
+  ADD_EXECUTABLE(${EXAMPLE}.example ${SRCS})
+  TARGET_LINK_LIBRARIES(${EXAMPLE}.example ${REQUIRED_PKGS_LDFLAGS})
+  INSTALL(TARGETS ${EXAMPLE}.example DESTINATION ${BINDIR})
+ENDFOREACH(EXAMPLE)
index 81190fb..b3f3fd2 100644 (file)
 
 // CLASS HEADER
 #include "dali-table-view.h"
-#include "examples/shared/view.h"
 
 // EXTERNAL INCLUDES
 #include <algorithm>
 #include <sstream>
-#include<unistd.h>
+#include <unistd.h>
+
+// INTERNAL INCLUDES
+#include "shared/view.h"
 
 using namespace Dali;
 using namespace Dali::Toolkit;
index e984286..799d21d 100644 (file)
@@ -25,7 +25,7 @@
 #include <boost/function.hpp>
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 
 using namespace Dali;
 using namespace Dali::Toolkit;
@@ -17,7 +17,7 @@
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 
 using namespace Dali;
 
index e93a072..569aa83 100644 (file)
@@ -40,7 +40,7 @@
 #include <ctime>
 
 #include <dali/integration-api/debug.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #define TOKEN_STRING(x) #x
 
index 45ef040..ee3a59d 100644 (file)
@@ -15,7 +15,7 @@
  *
  */
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
index 825ed80..610d6d5 100644 (file)
@@ -18,7 +18,7 @@
 #include <sstream>
 #include <iomanip>
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
@@ -19,7 +19,7 @@
 #include <math.h>
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
@@ -19,7 +19,7 @@
 #include <math.h>
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
index 8fcb35d..df89486 100644 (file)
@@ -21,7 +21,7 @@
 #include <string>
 #include <algorithm>
 #include <cstdlib> // rand
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
index 2dc943f..a02ea3c 100644 (file)
@@ -15,7 +15,7 @@
  *
  */
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
index aee8adc..b64ed95 100644 (file)
@@ -18,7 +18,7 @@
 // EXTERNAL INCLUDES
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali-toolkit/dali-toolkit.h>
 
similarity index 99%
rename from examples/motion/motion-blur-example.cpp
rename to examples/motion-blur/motion-blur-example.cpp
index 98afa1a..1ecb385 100644 (file)
@@ -18,7 +18,7 @@
 #include <sstream>
 #include <iomanip>
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
@@ -18,7 +18,7 @@
 #include <sstream>
 #include <iomanip>
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
index 465727b..2b96211 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 #include <dali-toolkit/dali-toolkit.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <cstdio>
 #include <iostream>
 
index bce680f..f022eb0 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 #include "radial-sweep-view.h"
 #include "radial-sweep-view-impl.h"
 
@@ -17,7 +17,7 @@
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <fstream>
 #include <sstream>
index 8c8e31a..88df5fc 100644 (file)
@@ -19,7 +19,7 @@
 #include <sstream>
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
@@ -16,7 +16,7 @@
  */
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
index a8eea56..b397d43 100644 (file)
@@ -15,7 +15,7 @@
  *
  */
 
-#include "../shared/view.h"
+#include "shared/view.h"
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
similarity index 100%
rename from examples/shared/view.h
rename to shared/view.h