mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Enable Sentry for the engine if the conan con sentry_url is set
If you want to test this locally do a conan install with: ``` -c user.curaengine:sentry_url=<sentry_url> ``` The URL is stored in the CuraEngine repository variables Contributes to CURA-11364
This commit is contained in:
parent
a7d4ba0528
commit
3052c6be3b
@ -306,6 +306,8 @@ class CuraConan(ConanFile):
|
||||
self.options["boost"].header_only = True
|
||||
if self.settings.os == "Linux":
|
||||
self.options["curaengine_grpc_definitions"].shared = True
|
||||
if self.conf.get("user.curaengine:sentry_url", "", check_type = str) != "":
|
||||
self.options["curaengine"].enable_sentry = True
|
||||
|
||||
def validate(self):
|
||||
version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user