Debian Codegraph @

src/filter/timeout/CMakeLists.txt

raw
1 # Replace «tutorial» by the library name of your filter
2 # and add the filter directory in src/filter/CMakeLists.txt.
3 set (SOURCES timeout.cpp)
4 set (TARGET timeout)
5
6 if (MSVC)
7 set (SOURCES ${SOURCES} ${FREI0R_DEF})
8 endif (MSVC)
9
10 add_library (${TARGET} MODULE ${SOURCES})
11
12 # No «lib» prefix (name.so instead of libname.so)
13 set_target_properties (${TARGET} PROPERTIES PREFIX "")
14
15 # Do not install a tutorial effect ;)
16 # (Can be installed for testing though.)
17 install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR})