17 lines
438 B
CMake
17 lines
438 B
CMake
# Copyright (c) 2023 marisa <https://git.fwmari.net/marisa/MolecularDynamics2>
|
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
project(molecular_dynamics)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
find_package(Boost REQUIRED COMPONENTS log log_setup)
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
add_subdirectory(src/md)
|
|
|
|
add_executable(molecular_dynamics
|
|
src/main.cpp
|
|
src/log/Log.cpp)
|
|
|
|
target_link_libraries(molecular_dynamics PRIVATE md ${Boost_LIBRARIES}) |