This repository has been archived on 2022-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
elf-padder/CMakeLists.txt
2022-03-22 19:17:15 -04:00

14 lines
335 B
CMake

cmake_minimum_required(VERSION 3.13.0)
# Project
project(elf-padder)
# Warnings
add_compile_options(-Wall -Wextra -Werror -Wpointer-arith -Wshadow -Wnull-dereference)
add_link_options(-Wl,--no-undefined)
add_definitions(-D_GNU_SOURCE)
set(CMAKE_C_STANDARD 99)
# Build
add_executable(elf-padder src/main.c src/elf_32.c src/elf_64.c)