Warning, /education/mark/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Copyright (C) 2020 by Caio Jordão Carvalho <caiojcarvalho@gmail.com>
0002 #
0003 # This program is free software; you can redistribute it and/or
0004 # modify it under the terms of the GNU General Public License as
0005 # published by the Free Software Foundation; either version 3 of
0006 # the License, or (at your option) any later version.
0007 #
0008 # This program is distributed in the hope that it will be useful,
0009 # but WITHOUT ANY WARRANTY; without even the implied warranty of
0010 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0011 # GNU General Public License for more details.
0012 #
0013 # You should have received a copy of the GNU General Public License
0014 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
0015 
0016 cmake_minimum_required(VERSION 3.16.2)
0017 project(marK)
0018 
0019 # Find includes in corresponding build directories
0020 set(CMAKE_INCLUDE_CURRENT_DIR ON)
0021 # Instruct CMake to run moc automatically when needed.
0022 set(CMAKE_AUTOMOC ON)
0023 # Instruct CMake to create code from Qt designer ui files
0024 set(CMAKE_AUTOUIC ON)
0025 
0026 # Find the QtWidgets library
0027 find_package(Qt5Widgets CONFIG REQUIRED)
0028 
0029 include_directories(src/)
0030 
0031 add_subdirectory(src)