28 lines
580 B
CMake
28 lines
580 B
CMake
cmake_minimum_required(VERSION 3.28)
|
|
project(rwsim)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
add_executable(rwsim main.cpp
|
|
functions.cpp
|
|
functions.h
|
|
io.cpp
|
|
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
|
|
sims.cpp
|
|
sims.h
|
|
ranges.cpp
|
|
ranges.h
|
|
motions/tetrahedral.cpp
|
|
motions/tetrahedral.h
|
|
)
|
|
|
|
target_compile_options(rwsim PUBLIC -Werror -Wall -Wextra -Wconversion -O2)
|