| 1234567891011121314151617181920212223242526272829303132 |
- -- Audio Capturer 子模块配置
- -- 此文件被 capturer 模块通过 includes("audio") 引入
- -- Audio Capturer 库
- target("audio_capturer")
- add_rules("qt.static")
- if is_plat("windows") then
- add_defines("UNICODE", "_UNICODE")
- end
- -- 源文件
- add_files("*.cpp")
- add_files("*.h")
- -- 头文件
- add_headerfiles("*.h")
-
- -- 包含目录
- add_includedirs("../..", {public = true})
- add_includedirs(".", {public = true})
-
- -- Qt 配置
-
- -- FFmpeg 配置
- add_ffmpeg_config()
-
- -- Windows 特定链接库
- if is_plat("windows") then
- add_syslinks("winmm", "ole32", "oleaut32")
- add_syslinks("user32", "advapi32")
- end
- add_frameworks("QtCore", "QtGui", "QtWidgets", "QtNetwork", "QtMultimedia")
- target_end()
|