Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibAVQt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nik | Klampfradler
LibAVQt
Commits
ee470728
Commit
ee470728
authored
3 years ago
by
Silas Della Contrada
Browse files
Options
Downloads
Patches
Plain Diff
Added platform specific cmake config
parent
50c12832
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AVQt/AVQt
+3
-0
3 additions, 0 deletions
AVQt/AVQt
AVQt/CMakeLists.txt
+33
-22
33 additions, 22 deletions
AVQt/CMakeLists.txt
with
36 additions
and
22 deletions
AVQt/AVQt
+
3
−
0
View file @
ee470728
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#include "output/OpenGLRenderer.h"
#include "output/OpenGLRenderer.h"
#include "output/OpenALAudioOutput.h"
#include "output/OpenALAudioOutput.h"
#ifdef Q_OS_LINUX
#ifdef Q_OS_LINUX
#include "filter/DecoderVAAPI.h"
#include "filter/DecoderVAAPI.h"
...
@@ -20,7 +21,9 @@
...
@@ -20,7 +21,9 @@
#include "filter/EncoderVAAPI.h"
#include "filter/EncoderVAAPI.h"
#elif Q_OS_WIN
#elif Q_OS_WIN
#include "filter/DecoderDXVA2.h"
#include "filter/DecoderDXVA2.h"
#endif
#endif
#include "filter/AudioDecoder.h"
#include "filter/AudioDecoder.h"
...
...
This diff is collapsed.
Click to expand it.
AVQt/CMakeLists.txt
+
33
−
22
View file @
ee470728
...
@@ -37,35 +37,15 @@ set(SOURCES
...
@@ -37,35 +37,15 @@ set(SOURCES
filter/IDecoder.h
filter/IDecoder.h
filter/IEncoder.h
filter/IEncoder.h
filter/DecoderVAAPI.h
filter/private/DecoderVAAPI_p.h
filter/DecoderVAAPI.cpp
filter/DecoderQSV.h
filter/DecoderQSV.h
filter/private/DecoderQSV_p.h
filter/private/DecoderQSV_p.h
filter/DecoderQSV.cpp
filter/DecoderQSV.cpp
filter/DecoderDXVA2.h
filter/private/DecoderDXVA2_p.h
filter/DecoderDXVA2.cpp
filter/DecoderMMAL.h
filter/private/DecoderMMAL_p.h
filter/DecoderMMAL.cpp
filter/AudioDecoder.h
filter/AudioDecoder.h
filter/private/AudioDecoder_p.h
filter/private/AudioDecoder_p.h
filter/private/OpenALErrorHandler.h
filter/private/OpenALErrorHandler.h
filter/AudioDecoder.cpp
filter/AudioDecoder.cpp
# output/FrameFileSaver.h
# output/private/FrameFileSaver_p.h
# output/FrameFileSaver.cpp
filter/EncoderVAAPI.h
filter/private/EncoderVAAPI_p.h
filter/EncoderVAAPI.cpp
filter/EncoderQSV.h
filter/EncoderQSV.h
filter/private/EncoderQSV_p.h
filter/private/EncoderQSV_p.h
filter/EncoderQSV.cpp
filter/EncoderQSV.cpp
...
@@ -85,10 +65,40 @@ set(SOURCES
...
@@ -85,10 +65,40 @@ set(SOURCES
output/Muxer.h
output/Muxer.h
output/private/Muxer_p.h
output/private/Muxer_p.h
output/Muxer.cpp
output/Muxer.cpp
# output/FrameFileSaver.h
# output/private/FrameFileSaver_p.h
# output/FrameFileSaver.cpp
)
set
(
SOURCES_LINUX
filter/DecoderVAAPI.h
filter/private/DecoderVAAPI_p.h
filter/DecoderVAAPI.cpp
filter/DecoderMMAL.h
filter/private/DecoderMMAL_p.h
filter/DecoderMMAL.cpp
filter/EncoderVAAPI.h
filter/private/EncoderVAAPI_p.h
filter/EncoderVAAPI.cpp
)
set
(
SOURCES_WINDOWS
filter/DecoderDXVA2.h
filter/private/DecoderDXVA2_p.h
filter/DecoderDXVA2.cpp
)
)
add_library
(
AVQt SHARED
${
SOURCES
}
)
if
(
WIN32
)
add_library
(
AVQtStatic STATIC
${
SOURCES
}
)
add_library
(
AVQt SHARED
${
SOURCES
}
${
SOURCES_WINDOWS
}
)
add_library
(
AVQtStatic STATIC
${
SOURCES
}
${
SOURCES_WINDOWS
}
)
elseif
(
UNIX
)
add_library
(
AVQt SHARED
${
SOURCES
}
${
SOURCES_LINUX
}
)
add_library
(
AVQtStatic STATIC
${
SOURCES
}
${
SOURCES_LINUX
}
)
else
()
message
(
FATAL_ERROR
"LibAVQt doesn't support other platforms than Windows (10 and up, Build 1809 and up) and Linux"
)
endif
()
set_target_properties
(
AVQtStatic PROPERTIES OUTPUT_NAME AVQt_static
)
set_target_properties
(
AVQtStatic PROPERTIES OUTPUT_NAME AVQt_static
)
if
(
!WIN32
)
if
(
!WIN32
)
...
@@ -141,6 +151,7 @@ if (!WIN32)
...
@@ -141,6 +151,7 @@ if (!WIN32)
-Werror=all
-Werror=all
-Werror=extra
-Werror=extra
-Werror=pedantic
-Werror=pedantic
-Wno-float-equal
-ansi
-ansi
-Werror=init-self
-Werror=init-self
-Werror=old-style-cast
-Werror=old-style-cast
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment