36 lines
896 B
CMake
36 lines
896 B
CMake
cmake_minimum_required(VERSION 3.18)
|
|
project(RWSim VERSION 1.0)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
add_executable(rwsim main.cpp
|
|
utils/functions.h
|
|
utils/functions.cpp
|
|
utils/io.cpp
|
|
utils/io.h
|
|
motions/base.cpp
|
|
motions/base.h
|
|
motions/random.cpp
|
|
motions/random.h
|
|
times/base.cpp
|
|
times/base.h
|
|
times/delta.cpp
|
|
times/delta.h
|
|
simulation/sims.cpp
|
|
simulation/sims.h
|
|
utils/ranges.cpp
|
|
utils/ranges.h
|
|
motions/tetrahedral.cpp
|
|
motions/tetrahedral.h
|
|
motions/isosmallangle.cpp
|
|
motions/isosmallangle.h
|
|
motions/coordinates.cpp
|
|
motions/coordinates.h
|
|
motions/bimodalangle.cpp
|
|
motions/bimodalangle.h
|
|
times/lognormal.cpp
|
|
times/lognormal.h
|
|
)
|
|
|
|
target_compile_options(rwsim PUBLIC -Werror -Wall -Wextra -Wconversion -O2)
|