-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
22 lines (17 loc) · 903 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
# Copyright (c) 2018 Serguei Kalentchouk et al. All rights reserved.
# Use of this source code is governed by an MIT license that can be found in the LICENSE file.
cmake_minimum_required(VERSION 3.9)
# Define project
project(input-form-dialog)
# Set properties
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_STANDARD 14)
# To find Qt, add the installation prefix of Qt5 to CMAKE_PREFIX_PATH or set Qt5_DIR
# to a directory containing one of the above files.
find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
# Create library target
add_library(InputFormDialog SHARED src/InputFormDialog.h src/InputFormDialog.cpp src/SetColorButton.h src/SetColorButton.cpp)
target_link_libraries(InputFormDialog Qt5::Core Qt5::Widgets)
# Uncomment to create the example app target
#add_executable(InputFormDialogExample example/main.cpp)
#target_link_libraries(InputFormDialogExample InputFormDialog Qt5::Core Qt5::Widgets)