Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
3c5089f7
Commit
3c5089f7
authored
2 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Allow disabling tests via env var
parent
a98cfd3e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/cmake/Variables.cmake
+14
-6
14 additions, 6 deletions
indra/cmake/Variables.cmake
with
14 additions
and
6 deletions
indra/cmake/Variables.cmake
+
14
−
6
View file @
3c5089f7
...
...
@@ -31,6 +31,12 @@ set(VIEWER_PREFIX)
set
(
INTEGRATION_TESTS_PREFIX
)
option
(
LL_TESTS
"Build and run unit and integration tests (disable for build timing runs to reduce variation"
ON
)
if
(
DEFINED ENV{LL_TESTS}
)
set
(
LL_TESTS $ENV{LL_TESTS} CACHE STRING
"Build and run unit and integration tests (disable for build timing runs to reduce variation"
FORCE
)
else
()
set
(
LL_TESTS
""
CACHE STRING
"Build and run unit and integration tests (disable for build timing runs to reduce variation"
)
endif
()
option
(
ENABLE_MEDIA_PLUGINS
"Turn off building media plugins if they are imported by third-party library mechanism"
ON
)
# Compiler and toolchain options
...
...
@@ -53,9 +59,6 @@ option(USE_VLC "Enable VLC media plugin" ON)
#Discord Integration
option
(
USE_DISCORD
"Enable Discord client integration"
OFF
)
if
(
DEFINED ENV{USE_DISCORD}
)
set
(
USE_DISCORD $ENV{USE_DISCORD} CACHE BOOL
""
FORCE
)
endif
()
if
(
DEFINED ENV{DISCORD_CLIENTID}
)
set
(
DISCORD_CLIENTID $ENV{DISCORD_CLIENTID} CACHE STRING
"Discord Client ID"
FORCE
)
...
...
@@ -73,11 +76,12 @@ if (INSTALL_PROPRIETARY)
endif
()
endif
()
if
(
DEFINED ENV{USE_DISCORD}
)
set
(
USE_DISCORD $ENV{USE_DISCORD} CACHE BOOL
""
FORCE
)
endif
()
#Crash reporting
option
(
USE_SENTRY
"Use the Sentry crash reporting system"
OFF
)
if
(
DEFINED ENV{USE_SENTRY}
)
set
(
USE_SENTRY $ENV{USE_SENTRY} CACHE BOOL
""
FORCE
)
endif
()
if
(
DEFINED ENV{SENTRY_DSN}
)
set
(
SENTRY_DSN $ENV{SENTRY_DSN} CACHE STRING
"Sentry DSN"
FORCE
)
...
...
@@ -94,6 +98,10 @@ else ()
set
(
USE_SENTRY OFF CACHE BOOL
"Use the Sentry crash reporting system"
FORCE
)
endif
()
if
(
DEFINED ENV{USE_SENTRY}
)
set
(
USE_SENTRY $ENV{USE_SENTRY} CACHE BOOL
""
FORCE
)
endif
()
if
(
LIBS_CLOSED_DIR
)
file
(
TO_CMAKE_PATH
"
${
LIBS_CLOSED_DIR
}
"
LIBS_CLOSED_DIR
)
else
(
LIBS_CLOSED_DIR
)
...
...
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