19 lines
531 B
CMake
19 lines
531 B
CMake
project(ffConv)
|
|
add_executable(ffConv ffConv.cpp)
|
|
add_dependencies(ffConv ffcpp)
|
|
target_link_libraries(ffConv ffcpp)
|
|
|
|
project(ffPreview)
|
|
add_executable(ffPreview ffPreview.cpp)
|
|
add_dependencies(ffPreview ffcpp)
|
|
target_link_libraries(ffPreview ffcpp)
|
|
|
|
project(ffPlayer)
|
|
find_package(SDL2 REQUIRED)
|
|
if(NOT SDL2_FOUND)
|
|
message(FATAL_ERROR "SDL2 not found")
|
|
endif()
|
|
include_directories(${SDL2_INCLUDE_DIR})
|
|
add_executable(ffPlayer ffPlayer.cpp)
|
|
add_dependencies(ffPlayer ffcpp)
|
|
target_link_libraries(ffPlayer ffcpp ${SDL2_LIBRARY}) |