project(Limoo)
cmake_minimum_required(VERSION 2.6)

include_directories( ${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} )
include_directories ("${PROJECT_SOURCE_DIR}/../../Libs/SiliconLib")

SET( LIMOO_CPP ${LIMOO_CPP}
./imageprovider.cpp
./limoocolors.cpp
./limoo.cpp
./limooviewer.cpp
./main.cpp
./thumbnailbar.cpp
./thumbnailbaritem.cpp
)

SET( LIMOO_MOC ${LIMOO_MOC}
./limoo.h
./limoocolors.h
./limooviewer.h
./thumbnailbar.h
./thumbnailbaritem.h
)

SET( LIMOO_RESOURCES ${LIMOO_RESOURCES}
./limoo.qrc
)

SET( LIMOO_UIS ${LIMOO_UIS}

)


QT4_WRAP_CPP( LIMOO_MOC_HEADERS ${LIMOO_MOC}  )
QT4_ADD_RESOURCES( LIMOO_RESOURCES_HEADERS ${LIMOO_RESOURCES} )
QT4_WRAP_UI( LIMOO_UI_HEADERS ${LIMOO_UIS} )

add_library( Limoo SHARED ${LIMOO_CPP} ${LIMOO_UI_HEADERS} ${LIMOO_RESOURCES_HEADERS} ${LIMOO_MOC_HEADERS} )
target_link_libraries( Limoo ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} SiliconLib  )

install(TARGETS Limoo  DESTINATION ${APPLICATION_INSTALL_PATH} )

