# # CMakeLists.txt # # LGPL Version 2.1 HEADER START # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301 USA # # LGPL Version 2.1 HEADER END # # # Copyright (c) 2021, Regents of the University of Minnesota. # All rights reserved. # # Contributors: # Ryan S. Elliott # Yaser Afshar # cmake_minimum_required(VERSION 3.10) list(APPEND CMAKE_PREFIX_PATH $ENV{KIM_API_CMAKE_PREFIX_DIR}) find_package(KIM-API-ITEMS 2.2 REQUIRED CONFIG) kim_api_items_setup_before_project(ITEM_TYPE "modelDriver") project(EDIP_LAMMPS__MD_783584031339_000 LANGUAGES CXX) kim_api_items_setup_after_project(ITEM_TYPE "modelDriver") # This model driver requires C++11 set(CMAKE_CXX_STANDARD 11) add_kim_api_model_driver_library( NAME ${PROJECT_NAME} CREATE_ROUTINE_NAME "ModelDriverCreateRoutine" CREATE_ROUTINE_LANGUAGE "cpp" ) target_sources(${PROJECT_NAME} PRIVATE edip.cpp edip_implementation.cpp edip_c.cpp edip_multi.cpp edip_single.cpp )