summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorNamilsk <alive6863@gmail.com>2025-09-13 17:57:02 +0300
committerNamilsk <alive6863@gmail.com>2025-09-13 17:58:17 +0300
commit8465c253c561c08bfaa6f75b29b9798619bf7be3 (patch)
tree6b7e8bfcdaef039ff89146003d18d0c4f4f59152 /CMakeLists.txt
parent7978ca7da34f7e9665f30077cce62d9cb06f752f (diff)
Implemented args: -i -d
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..a2d0046
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wall -Wextra -Werror -v")
+
+project(termpi)
+
+set(CMAKE_C_STANDART 99)
+set(CC clang)
+
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(MPFR REQUIRED mpfr)
+
+set(SOURCES
+ main.c
+ config.c
+)
+
+add_executable(${PROJECT_NAME} ${MPFR_LIBRARIES})
+