blob: 9fa52b53c1f097e7348a56eb55a31766187b6a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
cmake_minimum_required(VERSION 3.1.0)
set(CMAKE_COLOR_MAKEFILE ON)
project(QRema C CXX)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed
set(CMAKE_AUTOMOC ON)
# Create code from a list of Qt designer ui files
set(CMAKE_AUTOUIC ON)
# Find the QtWidgets library
find_package(Qt5 COMPONENTS Core Widgets Gui REQUIRED)
add_subdirectory(src)
|