added icons

changes in the project architecture
This commit is contained in:
arcan1s
2014-07-10 13:48:21 +04:00
parent 2a3011bdef
commit e81f7714f9
18 changed files with 82 additions and 25 deletions

View File

@ -19,6 +19,9 @@ option (USE_QT5 "Use Qt5 instead of Qt4" ON)
option (BUILD_GUI "Build GUI" ON)
option (BUILD_DATAENGINE "Build data engine" ON)
option (BUILD_PLASMOID "Build plasmoid" ON)
if (BUILD_PLASMOID)
set (BUILD_DATAENGINE ON)
endif ()
# flags
if (CMAKE_COMPILER_IS_GNUCXX)
@ -30,12 +33,11 @@ else ()
message (STATUS "Unknown compiler")
endif ()
add_subdirectory (icons)
if (BUILD_PLASMOID)
set (BUILD_DATAENGINE ON)
endif ()
# resources
set (PROJECT_RESOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/resources)
add_subdirectory (${PROJECT_RESOURCE_DIR})
# components
if (BUILD_GUI)
add_subdirectory (gui)
endif ()