ifnow/CMakeLists.txt
2024-01-05 13:12:09 -08:00

9 lines
274 B
CMake

cmake_minimum_required(VERSION 3.18)
project('ifname')
add_executable(ifnow src/main.c src/tun.c src/now.c)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -ggdb")
target_include_directories(ifnow PUBLIC ./include/)
set_target_properties(ifnow PROPERTIES LINK_LIBRARIES -pthread)