-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Also fix additional warnings Signed-off-by: Cody W. Eilar <[email protected]>
- Loading branch information
Showing
7 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
set(prog_name playback_video) | ||
|
||
|
||
# Google Tests | ||
add_executable(${prog_name} ${prog_name}.cpp) | ||
install(TARGETS ${prog_name} DESTINATION bin) | ||
|
||
target_link_libraries(${prog_name} | ||
${OpenCV_LIBS} | ||
readers) | ||
|
||
set(prog_name extract_features) | ||
add_executable(${prog_name} ${prog_name}.cpp) | ||
target_link_libraries(${prog_name} | ||
${OpenCV_LIBS} | ||
readers) | ||
install(TARGETS ${prog_name} DESTINATION bin) | ||
|
||
set(prog_name farneback_flow) | ||
add_executable(${prog_name} ${prog_name}.cpp) | ||
target_link_libraries(${prog_name} | ||
${OpenCV_LIBS} | ||
) | ||
) | ||
install(TARGETS ${prog_name} DESTINATION bin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
set(lib_name readers) | ||
|
||
add_library(${lib_name} STATIC video_file_reader.cpp) | ||
install(TARGETS ${lib_name} DESTINATION lib) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
set(lib_name utilities) | ||
|
||
add_library(${lib_name} STATIC utilities.cpp) | ||
install(TARGETS ${lib_name} DESTINATION lib) | ||
|
||
|
||
add_executable(${lib_name}_tests tests/${lib_name}_tests.cpp) | ||
|
||
target_link_libraries(${lib_name}_tests | ||
gtest gtest_main | ||
gtest gtest_main | ||
${OpenCV_LIBS}) | ||
add_test(NAME ${lib_name}_tests COMMAND ${lib_name}_tests) | ||
|
||
add_test(NAME ${lib_name}_tests COMMAND ${lib_name}_tests) |