From c301075386ff72d4b8e1672d8cdad2d815a9d4b0 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 1 Nov 2022 13:45:12 +0000 Subject: src: Move main to src Move the main uvc-gadget application to src/ to make it clear there is a separation between library and application code. Reviewed-by: Daniel Scally Signed-off-by: Kieran Bingham --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cb8c20..5291256 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,11 +7,8 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Werror" include_directories(${CMAKE_BINARY_DIR}/generated) add_subdirectory(lib) +add_subdirectory(src) # Generate config.h configure_file(${CMAKE_SOURCE_DIR}/include/config.h.in ${CMAKE_BINARY_DIR}/generated/config.h) - -add_executable(uvc-gadget main.c) -target_link_libraries(uvc-gadget uvcgadget) -install(TARGETS uvc-gadget DESTINATION bin) -- cgit v1.2.3