File tree Expand file tree Collapse file tree 9 files changed +73
-0
lines changed Expand file tree Collapse file tree 9 files changed +73
-0
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,4 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -fPIC -pg -g")
19
19
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC -O3" )
20
20
21
21
add_subdirectory (src )
22
+ add_subdirectory (app )
Original file line number Diff line number Diff line change
1
+ add_subdirectory (cpp/avInfo )
2
+ add_subdirectory (cpp/avMeta )
3
+ add_subdirectory (cpp/avplay )
4
+ add_subdirectory (cpp/avTranscoder )
5
+ add_subdirectory (cpp/genericProcessor )
6
+ add_subdirectory (cpp/optionChecker )
7
+ add_subdirectory (cpp/presetChecker )
Original file line number Diff line number Diff line change
1
+ ### cpp/avInfo
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} )
4
+ add_executable (avinfo avInfo.cpp )
5
+ target_link_libraries (avinfo avtranscoder-shared )
6
+
7
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avinfo DESTINATION "bin/" )
8
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /avinfo.man DESTINATION "share/man/man1/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avMeta
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
4
+ add_executable (avmeta avMeta.cpp )
5
+ target_link_libraries (avmeta avtranscoder-shared )
6
+
7
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avmeta DESTINATION "bin/" )
8
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /avmeta.man DESTINATION "share/man/man1/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avTranscoder
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
4
+ add_executable (avtranscoder avTranscoder.cpp )
5
+ target_link_libraries (avtranscoder avtranscoder-shared )
6
+
7
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avtranscoder DESTINATION "bin/" )
8
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /av++.man DESTINATION "share/man/man1/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avplay
2
+
3
+ find_package (OpenGL REQUIRED )
4
+ find_package (GLUT REQUIRED )
5
+
6
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
7
+ include_directories ( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} )
8
+
9
+ file (GLOB AVPLAY_SRC_FILES "*.cpp" "*.hpp" )
10
+ add_executable (avplay ${AVPLAY_SRC_FILES} )
11
+ target_link_libraries (avplay avtranscoder-shared ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} )
12
+
13
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avplay DESTINATION "bin/" )
14
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /avplayer.man DESTINATION "share/man/man1/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avProcessor
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
4
+ add_executable (avprocessor genericProcessor.cpp )
5
+ target_link_libraries (avprocessor avtranscoder-shared )
6
+
7
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avprocessor DESTINATION "bin/" )
8
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /avprocessor.man DESTINATION "share/man/man1/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avOptionChecker
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
4
+ # Add C++11 flag
5
+ set (CMAKE_CXX_FLAGS "-std=c++0x" )
6
+ add_executable (avoptionchecker optionChecker.cpp )
7
+ target_link_libraries (avoptionchecker avtranscoder-shared )
8
+
9
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avoptionchecker DESTINATION "bin/" )
Original file line number Diff line number Diff line change
1
+ ### cpp/avPresetChecker
2
+
3
+ include_directories (${AVTRANSCODER_SRC_PATH} ${FFMPEG_INCLUDE_DIR} )
4
+ # Add C++11 flag
5
+ set (CMAKE_CXX_FLAGS "-std=c++0x" )
6
+ add_executable (avpresetchecker presetChecker.cpp )
7
+ target_link_libraries (avpresetchecker avtranscoder-shared )
8
+
9
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /avpresetchecker DESTINATION "bin/" )
10
+ install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /avprofiles.man DESTINATION "share/man/man1/" )
You can’t perform that action at this time.
0 commit comments