]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #24320 : Windows DLL
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 25 Aug 2021 11:40:48 +0000 (13:40 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 25 Aug 2021 11:40:48 +0000 (13:40 +0200)
products/env_scripts/MeshGems.py

index 3dfd2605f02103633189dba98facb2f4de3062be..f320c1485fd3292930deedd026895a07ea86f722 100644 (file)
@@ -30,7 +30,10 @@ def set_distene_licence(env):
 
 def set_DASSAULT_license(env, version):
   env.add_comment("DASSAULT MeshGems KeyGenerator based License")
-  env.set('SALOME_MG_KEYGEN_LIB_PATH', '/home/salome/private/MeshGems/libSalomeMeshGemsKeyGenerator-' + version + '.so')
+  if platform.system() == "Windows" :
+    env.set('SALOME_MG_KEYGEN_LIB_PATH', 'W:\\private\\MeshGems\\libSalomeMeshGemsKeyGenerator-' + version + '.dll')
+  else:
+    env.set('SALOME_MG_KEYGEN_LIB_PATH', '/home/salome/private/MeshGems/libSalomeMeshGemsKeyGenerator-' + version + '.so')
   return
 
 def set_env(env, prereq_dir, version):