You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
797 B

cmake_minimum_required(VERSION 3.1.0)
project(lubuntuWelcomeCenter)
# 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)
# C++11
set(CMAKE_CXX_STANDARD 11)
# Find the QtWidgets library
find_package(Qt5Widgets CONFIG REQUIRED)
add_definitions(-DQT_DEPRECATED_WARNINGS)
# Populate a CMake variable with the sources
set(lubuntuWelcomeCenter_SRCS
mainwindow.ui
mainwindow.cpp
main.cpp
)
# Tell CMake to create the helloworld executable
add_executable(lubuntuWelcomeCenter WIN32 ${lubuntuWelcomeCenter_SRCS})
# Use the Widgets module from Qt 5
target_link_libraries(lubuntuWelcomeCenter Qt5::Widgets)