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

14 lines
440 B
Text
Raw Permalink Normal View History

2025-03-23 21:28:03 +09:00
cmake_minimum_required(VERSION 3.10)
project(mathematical-algorithms)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED true)
2025-03-23 23:14:25 +09:00
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2025-03-24 16:30:01 +09:00
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -funroll-loops")
2025-03-23 23:14:25 +09:00
2025-03-24 16:30:01 +09:00
add_compile_options(-Wall -Wextra -Wpedantic -O2 -funroll-loops)
2025-03-23 21:28:03 +09:00
2025-03-24 16:30:01 +09:00
add_executable(karatsuba src/karatsuba.cpp)
add_executable(pseudorandom src/pseudorandom.cpp)
2025-03-31 17:03:07 +09:00
add_executable(multivar src/multivar.cpp)