cmake notes
Take notes!
Use pkg-config in cmake
1 | #require gstreamer and check version, ${GST} is an user defined prefix for _LIBRARIES/_INCLUDE_DIRS/_CFLAGS_OTHER |
Add all files under a folder(i.e. add all source files)
1 | #option 1: use file(), store files into variable SRC_FILES |