diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-01 13:45:12 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-22 12:12:02 +0000 |
commit | c301075386ff72d4b8e1672d8cdad2d815a9d4b0 (patch) | |
tree | 1473aa5a657c6cc04820946cf03d0e6d42b6f6d9 /CMakeLists.txt | |
parent | b101cefde93dc8e01d591913df2d5039a14c0289 (diff) |
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 <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
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) |