blob: b7bbf0dc98c064ff5a470e3769303eee045822dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_library(bookmarks
bookmarksform.ui
bookmarkswidget.cpp
bookmarkswidget.h
bookmarksview.cpp
bookmarksview.h
# xbel
xbel.cpp
xbel.h)
target_include_directories(bookmarks
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(bookmarks Qt5::Widgets)
|