opencascade.env.in 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #
  2. # This file sets needed and optional environment variables for
  3. # Open CASCADE Technology
  4. #
  5. # See: https://dev.opencascade.org/doc/overview/html/index.html#OCCT_OVW_SECTION_4_2
  6. # for further documentation.
  7. #
  8. # Some of the values are set at compile time depending on what USE flags
  9. # were enabled. Those values are marked as such.
  10. # define the root directory of Open CASCADE Technology (needed)
  11. CASROOT="VAR_CASROOT"
  12. PATH="VAR_CASROOT/lib/opencascade/bin"
  13. LDPATH="VAR_CASROOT/lib/opencascade"
  14. #############################################################################
  15. # The MMGT_* variables are used to determine how memory management will work
  16. # in OCCT. All of those are optional. If they are not set here, their default
  17. # values will be used.
  18. #
  19. # Uncomment or change the ones you need to adapt from its default.
  20. #############################################################################
  21. # MMGT_OPT = {0,1,2} (default: 0) set at compile time
  22. # if set to 0 (the default), every memory block is allocated in C
  23. # memory heap directly (via malloc() and free()). Will be set, if
  24. # neither the the 'optimize' nor the 'tbb' USE flags are set.
  25. # if set to 1, the memory manager performs it's own internal optimization.
  26. # Will be set, if the 'optimize' USE flag is set.
  27. # if set to 2, Intel(R) TBB optimized memory manager is used. Will be set,
  28. # if the 'tbb' USE flag is set.
  29. #MMGT_OPT=0
  30. # MMGT_CLEAR = {0,1} (default: 1)
  31. # if set to 0, memory block is returned as it is. Will be set, if the
  32. # 'optimize' USE flag is set
  33. # if set to 1, every allocated memory block is cleared by zeros
  34. #MMGT_CLEAR=1
  35. # MMGT_CELLSIZE (default: 200)
  36. # defines the maximal size of blocks allocated in large pools of memory.
  37. #MMGT_CELLSIZE=200
  38. # MMGT_NBPAGES (default: 10000)
  39. # defines the size of memory chunks allocated for small blocks in pages
  40. # (OS dependant)
  41. #MMGT_NBPAGES=10000
  42. # MMGT_THRESHOLD (default: 40000)
  43. # defines the maximal size of blocks that are recycled internally instead
  44. # of being returned to the heap.
  45. #MMGT_THRESHOLD=40000
  46. # MMGT_MMAP = {0,1} (default: 1)
  47. # if set to 0, large memory blocks will be allocated in the C heap by
  48. # malloc()
  49. # if set to 1, large memory blocks are allocated using memory mapping
  50. # functions of the operating system.
  51. #MMGT_MMAP=1
  52. # CSF_LANGUAGE (default: us) optional
  53. # defines the default language of messages indicated by a two-letter
  54. # country code. Currently it's not verified if this work with other
  55. # than the default languages, so we keep it commented.
  56. #CSF_LANGUAGE=us
  57. # CSF_DEBUG_BOP (default: undefined) optional
  58. # if defined then it should specify the directory where diagnostic data
  59. # on problems occured in Boolean operations will be saved. Not defined by
  60. # default.
  61. #
  62. # NOTE: Only enable for debugging purposes. If set, this variable has a
  63. # large impact on the performance of boolean operations.
  64. #CSF_DEBUG_BOP="/var/tmp"
  65. # CSF_EXCEPTION_PROMPT (default: 1) optional
  66. # not documented upstream (maybe a flag indicating whether the user shall
  67. # be prompted in the case of exceptions)
  68. #CSF_EXCEPTION_PROMPT=1
  69. # The following CSF_* variables define various directories and files where
  70. # OCCT is looking for resources.
  71. CSF_GraphicShr="VAR_CASROOT/lib/opencascade/libTKOpenGl.so"
  72. CSF_MIGRATION_TYPES="VAR_CASROOT/share/opencascade/resources/StdResource/MigrationSheet.txt"
  73. CSF_MDTVTexturesDirectory="VAR_CASROOT/share/opencascade/resources/Textures"
  74. CSF_PluginDefaults="VAR_CASROOT/share/opencascade/resources/StdResource"
  75. CSF_StandardDefaults="VAR_CASROOT/share/opencascade/resources/StdResource"
  76. CSF_StandardLiteDefaults="VAR_CASROOT/share/opencascade/resources/StdResource"
  77. CSF_XCAFDefaults="VAR_CASROOT/share/opencascade/resources/StdResource"
  78. CSF_XmlOcafResource="VAR_CASROOT/share/opencascade/resources/XmlOcafResource"
  79. # The below values might be optional.
  80. CSF_IGESDefaults="VAR_CASROOT/share/opencascade/resources/XSTEPResource"
  81. CSF_ShadersDirectory="VAR_CASROOT/share/opencascade/resources/Shaders"
  82. CSF_SHMessage="VAR_CASROOT/share/opencascade/resources/SHMessage"
  83. CSF_STEPDefaults="VAR_CASROOT/share/opencascade/resources/XSTEPResource"
  84. CSF_UnitsDefinition="VAR_CASROOT/share/opencascade/resources/UnitsAPI/Units.dat"
  85. CSF_XSMessage="VAR_CASROOT/share/opencascade/resources/XSMessage"
  86. # TODO: check those
  87. # they were defined in the original ebuild but the directories and files
  88. # are not present in the current installation.
  89. #CSF_MDTVFontDirectory="VAR_CASROOT/src/FontMFT"
  90. #CSF_UnitsLexicon="VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat"