aboutsummaryrefslogtreecommitdiff
path: root/random/CMakeLists.txt
blob: 3c4b2dc15d74784170128f68d9bd3e37d86d8b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.5)

project(random)

set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED On)
set(CMAKE_C_EXTENSIONS Off)

add_library(random
  src/mt19937-64.c
  src/normal.c)

target_include_directories(random PUBLIC include)

target_compile_options(random PRIVATE -Wall -Wextra)