From 59443d517e974475c88b804824dad3a1430b4d71 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Tue, 10 Nov 2020 20:28:53 +0100 Subject: Add CMake file --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CMakeLists.txt 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) -- cgit v1.2.3