ifnow/CMakeLists.txt

10 lines
274 B
Text
Raw Normal View History

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)