initial commit for linux support

This commit is contained in:
Boof2015
2026-04-05 23:11:56 -04:00
parent 4738045c9c
commit 0a9e032e85
19 changed files with 1608 additions and 377 deletions
+10 -4
View File
@@ -21,7 +21,8 @@
["OS=='mac'", {
"sources": [
"src/macos_capture.mm",
"src/windows_capture_stub.cpp"
"src/windows_capture_stub.cpp",
"src/linux_capture_stub.cpp"
],
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
@@ -38,7 +39,8 @@
["OS=='win'", {
"sources": [
"src/macos_capture_stub.cpp",
"src/windows_capture.cpp"
"src/windows_capture.cpp",
"src/linux_capture_stub.cpp"
],
"defines": [
"WIN32_LEAN_AND_MEAN",
@@ -59,9 +61,13 @@
["OS=='linux'", {
"sources": [
"src/macos_capture_stub.cpp",
"src/windows_capture_stub.cpp"
"src/windows_capture_stub.cpp",
"src/linux_capture.cpp"
],
"cflags_cc": ["-std=c++17", "-O3", "-ffast-math", "-fPIC"]
"cflags_cc": ["-std=c++17", "-O3", "-ffast-math", "-fPIC"],
"libraries": [
"-lpulse"
]
}]
]
}