This repository has been archived on 2025-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
mathematical-algorithms-cpp/CMakeLists.txt
2025-03-24 16:30:01 +09:00

13 lines
434 B
CMake

cmake_minimum_required(VERSION 3.10)
project(mathematical-algorithms)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED true)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -funroll-loops")
add_compile_options(-Wall -Wextra -Wpedantic -O2 -funroll-loops)
add_executable(karatsuba src/karatsuba.cpp)
add_executable(pseudorandom src/pseudorandom.cpp)
add_executable(types src/types.cpp)