-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (39 loc) · 878 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cmake_minimum_required(VERSION 3.1.0)
project(YoloLabel)
set(CMAKE_CXX_STANDARD 17)
if(CMAKE_VERSION VERSION_LESS "3.7.0")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()
include_directories(${CMAKE_CURRENT_LIST_DIR})
find_package(Qt5 COMPONENTS Widgets Core Gui REQUIRED)
add_executable(${PROJECT_NAME}
MainWindow.ui
MainWindow.h
MainWindow.cpp
DatasetProject.cpp
DatasetProject.h
ValidationClassBoxes.ui
ValidationClassBoxes.h
ValidationClassBoxes.cpp
ValidationClassBoxesListModel.h
ValidationClassBoxesListModel.cpp
BoundingBoxSelector.cpp
BoundingBoxSelector.h
Utils.cpp
Utils.h
main.cpp
)
set_target_properties(${PROJECT_NAME}
PROPERTIES
AUTOMOC ON
AUTOUIC ON
)
target_link_libraries(${PROJECT_NAME}
PUBLIC
Qt5::Core
Qt5::Widgets
Qt5::Gui
-L${CMAKE_CURRENT_LIST_DIR}
dark
)
add_subdirectory(annotations_convertor)