summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 79b78c4d322f3cd936ba572f2868a5222fd12cf5 (plain)
1
2
3
4
5
6
7
8
9
10
cmake_minimum_required(VERSION 3.0)
project(uvc-gadget)
set(CMAKE_BUILD_TYPE Release)

#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Werror")

add_subdirectory(lib)
add_executable(uvc-gadget main.c)
target_link_libraries(uvc-gadget uvcgadget)
install(TARGETS uvc-gadget DESTINATION bin)