printing all frames
This commit is contained in:
+14
-1
@@ -2,10 +2,21 @@ cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(ThumbnailGenerator)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(LIBAV REQUIRED IMPORTED_TARGET
|
||||
libavdevice
|
||||
libavfilter
|
||||
libavformat
|
||||
libavcodec
|
||||
libswresample
|
||||
libswscale
|
||||
libavutil
|
||||
)
|
||||
|
||||
# compile_commands.json
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set (source_dir "./src")
|
||||
file (GLOB source_files "${source_dir}/*.cpp")
|
||||
@@ -14,3 +25,5 @@ add_executable(ThumbnailGenerator ${source_files})
|
||||
|
||||
file (GLOB header_files "${source_dir}/*.hpp")
|
||||
target_include_directories(ThumbnailGenerator PUBLIC ${source_dir})
|
||||
|
||||
target_link_libraries(ThumbnailGenerator PkgConfig::LIBAV)
|
||||
|
||||
Reference in New Issue
Block a user