diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-17 02:55:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-30 19:36:33 +0100 |
commit | 6a6bb703bce2d844175950ede4bda5d06dc5a8ae (patch) | |
tree | 0e48877816f4596e506867b6b4f89144a0374143 /build.sh | |
parent | a7e0dbd83381377bd05a3fa988511d3713996370 (diff) |
wip intel
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,16 +1,18 @@ #!/bin/sh -e +#libdrm dependencies="libavcodec libavformat libavutil x11 xcomposite xrandr libpulse libswresample" includes="$(pkg-config --cflags $dependencies)" libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm" gcc -c src/capture/capture.c -O2 -g0 -DNDEBUG $includes gcc -c src/capture/nvfbc.c -O2 -g0 -DNDEBUG $includes -gcc -c src/capture/xcomposite.c -O2 -g0 -DNDEBUG $includes -gcc -c src/gl.c -O2 -g0 -DNDEBUG $includes +gcc -c src/capture/xcomposite_cuda.c -O2 -g0 -DNDEBUG $includes +gcc -c src/capture/xcomposite_drm.c -O2 -g0 -DNDEBUG $includes +gcc -c src/egl.c -O2 -g0 -DNDEBUG $includes gcc -c src/cuda.c -O2 -g0 -DNDEBUG $includes gcc -c src/window_texture.c -O2 -g0 -DNDEBUG $includes gcc -c src/time.c -O2 -g0 -DNDEBUG $includes g++ -c src/sound.cpp -O2 -g0 -DNDEBUG $includes g++ -c src/main.cpp -O2 -g0 -DNDEBUG $includes -g++ -o gpu-screen-recorder -O2 capture.o nvfbc.o gl.o cuda.o window_texture.o time.o xcomposite.o sound.o main.o -s $libs -echo "Successfully built gpu-screen-recorder"
\ No newline at end of file +g++ -o gpu-screen-recorder -O2 capture.o nvfbc.o egl.o cuda.o window_texture.o time.o xcomposite_cuda.o xcomposite_drm.o sound.o main.o -s $libs +echo "Successfully built gpu-screen-recorder" |