Only build Arcus, Savitar and pynest2d shared

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-25 18:40:27 +02:00 committed by Jelle Spijker
parent 30135072de
commit 5f6d59c63d
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
2 changed files with 3 additions and 31 deletions

View file

@ -84,20 +84,9 @@ class CuraConan(ConanFile):
return ["requirements.txt", "requirements-ultimaker.txt"]
def configure(self):
self.options["*"].shared = True
self.options["bzip2"].shared = False
self.options["expat"].shared = False
self.options["openssl"].shared = False
self.options["sqlite3"].shared = False
self.options["tcl"].shared = False
self.options["tk"].shared = False
self.options["xz_utils"].shared = False
self.options["zlib"].shared = False
if self.settings.os == "Windows":
# Needed to compile CPython on Windows with our configuration for Visual Studio
self.options["mpdecimal"].cxx = True
self.options["mpdecimal"].shared = False
self.options["libffi"].shared = False
self.options["arcus"].shared = True
self.options["savitar"].shared = True
self.options["pynest2d"].shared = True
def validate(self):
if self.version and tools.Version(self.version) <= tools.Version("4"):