Add examples dir and create function to dynamically load new modules
This commit is contained in:
1 parent
193c41fddd
commit
ae0f861988
12 files changed
+336
-12
No files matched your search
@@ -0,0 +1,19 @@
|
||||
###
|
||||
### CMakeLists for modules_example
|
||||
###
|
||||
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.9 )
|
||||
|
||||
PROJECT( "modules_example" )
|
||||
|
||||
FIND_PACKAGE( PlaYUVer )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${PLAYUVER_INCLUDE_DIRS} )
|
||||
|
||||
ADD_LIBRARY(FrameBinarization SHARED FrameBinarization_APIv1.cpp)
|
||||
TARGET_LINK_LIBRARIES( FrameBinarization ${PLAYUVER_LINKER_LIBS} )
|
||||
|
||||
ADD_LIBRARY(AbsoluteFrameDifference SHARED AbsoluteFrameDifference_APIv2.cpp)
|
||||
TARGET_LINK_LIBRARIES( AbsoluteFrameDifference ${PLAYUVER_LINKER_LIBS} )
|
||||
|
||||
Reference in new issue
Block a user