You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
319 B
13 lines
319 B
10 years ago
|
|
||
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||
|
|
||
|
file(GLOB sources "*.cpp")
|
||
|
|
||
|
set(libs common avformat avcodec avutil swscale ${Boost_LIBRARIES})
|
||
|
|
||
|
foreach(source ${sources})
|
||
|
get_filename_component(exec ${source} NAME_WE)
|
||
|
add_executable(${exec} ${source})
|
||
|
target_link_libraries(${exec} ${libs})
|
||
|
endforeach()
|