abcs/CMakeLists.txt

11 lines
401 B
CMake

cmake_minimum_required(VERSION 3.1)
project(abcs)
set(CMAKE_CXX_STANDARD 11)
add_subdirectory(external/libabacus)
add_executable(abcs src/main.cpp src/string_functions.cpp src/ref.cpp src/abacus.cpp src/types.cpp src/util.cpp src/operator_functions.cpp src/trig_functions.cpp src/other_functions.cpp)
target_link_libraries(abcs abacus mpfr readline)
target_include_directories(abcs PUBLIC include)