summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-11-10 20:28:53 +0100
committerBond_009 <bond.009@outlook.com>2020-11-10 20:28:53 +0100
commit59443d517e974475c88b804824dad3a1430b4d71 (patch)
tree413950649e7b89379ba95f4972173c72d308992a
parenta60756781dcfe990fa94905fe3d71508e0321bbe (diff)
Add CMake filev1.0.0
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..30942d6
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 3.1)
+project(ifo_dump LANGUAGES C VERSION 1.0.0 DESCRIPTION "ifo_dump")
+
+set(SOURCES ifo_dump.c)
+
+# Add the executable
+add_executable(ifo_dump ${SOURCES})
+target_compile_options(ifo_dump PUBLIC -std=c89 -Wall -Wextra -Weverything -Wstrict-aliasing -pedantic -fstrict-aliasing)
+
+# Include libdvdread
+target_link_libraries(ifo_dump dvdread)