Skip to content

Commit

Permalink
Issue #9: activated newly added profiling app in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Oct 30, 2018
1 parent de4cd90 commit 3f0e011
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@ endif(USE_FILES)

# VideoSourceFactory leak checker
ADD_SUBDIRECTORY(videosourcefactory)

# Simple colour space conversion profiling
ADD_SUBDIRECTORY(rgbswap)
11 changes: 11 additions & 0 deletions src/tests/rgbswap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SET(ARGB_TO_BGRA_PROFILER argb_to_bgra_profiler)
ADD_EXECUTABLE(
${ARGB_TO_BGRA_PROFILER}
${CMAKE_SOURCE_DIR}/tests/rgbswap/profile_argb_to_bgra.cpp
)
if(USE_FFMPEG)
SET(ARGB_TO_BGRA_PROFILER_LIBS ${FFmpeg_LIBS})
endif(USE_FFMPEG)
TARGET_LINK_LIBRARIES(
${ARGB_TO_BGRA_PROFILER} ${ARGB_TO_BGRA_PROFILER_LIBS}
)

0 comments on commit 3f0e011

Please sign in to comment.