mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-12 04:26:43 +00:00
37 lines
703 B
CMake
37 lines
703 B
CMake
project(DOtherSide)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-long-long -pedantic")
|
|
|
|
|
|
if (WIN32)
|
|
add_definitions(-DWIN32)
|
|
endif()
|
|
|
|
find_package(Qt5Core)
|
|
find_package(Qt5Qml)
|
|
find_package(Qt5Gui)
|
|
find_package(Qt5Quick)
|
|
find_package(Qt5Widgets)
|
|
|
|
set(HEADERS_LIST
|
|
BaseQAbstractListModel.h
|
|
DOtherSideTypes.h
|
|
DynamicSignal.h
|
|
BaseQObject.h
|
|
DynamicProperty.h
|
|
DynamicSlot.h
|
|
DOtherSide.h
|
|
DynamicQObject.h
|
|
IDynamicQObject.h
|
|
)
|
|
|
|
set(SRC_LIST
|
|
DOtherSide.cpp
|
|
)
|
|
|
|
add_library(${PROJECT_NAME} SHARED ${SRC_LIST} ${HEADERS_LIST})
|
|
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Qml Qt5::Quick)
|