# # @author Tobias Weber # @date Apr-2018 # @license GPLv3, see 'LICENSE' file # @desc The present version was forked on 8-Nov-2018 from my privately developed "magtools" project (https://github.com/t-weber/magtools). # # ---------------------------------------------------------------------------- # mag-core (part of the Takin software suite) # Copyright (C) 2018-2021 Tobias WEBER (Institut Laue-Langevin (ILL), # Grenoble, France). # "magtools" project # Copyright (C) 2017-2018 Tobias WEBER (privately developed). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # ---------------------------------------------------------------------------- # project(magsgbrowser) cmake_minimum_required(VERSION 3.0) find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTOMOC ON) set(CMAKE_CXX_STANDARD 20) add_definitions(-std=c++20) include_directories("${PROJECT_SOURCE_DIR}" "../.." "../../ext/gemmi/include" "../../ext/gemmi/third_party") # ----------------------------------------------------------------------------- # main program add_executable(takin_magsgbrowser main.cpp browser.cpp browser.h ) target_link_libraries(takin_magsgbrowser Qt5::Core Qt5::Gui Qt5::Widgets ) # -----------------------------------------------------------------------------