Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.66 KB | None | 0 0
  1. ################################################################################
  2. # UserConfig File #
  3. ################################################################################
  4. # Copy this file as UserConfig.txt inside this directory to configure the #
  5. # options and paths for your build #
  6. # #
  7. # Uncoment and set the values of the following lines #
  8. # to configure your build #
  9. # #
  10. # NOTE: the defaults work perfectly on most cases #
  11. # don't change anything unless you know what you're doing #
  12. # #
  13. ################################################################################
  14.  
  15. ############################## Build configuration #############################
  16. # #
  17. # Build font rendering with FreeType #
  18. # #
  19. # Default: ON #
  20. # #
  21.  
  22. set(WITH_Freetype ON)
  23.  
  24. # #
  25. # Build OpenEXR image I/O plugin #
  26. # #
  27. # Default: ON #
  28. # #
  29.  
  30. set(WITH_OpenEXR ON)
  31.  
  32. # #
  33. # Build JPEG image I/O plugin #
  34. # #
  35. # Default: ON #
  36. # #
  37.  
  38. set(WITH_JPEG ON)
  39.  
  40. # #
  41. # Build PNG image I/O plugin #
  42. # #
  43. # Default: ON #
  44. # #
  45.  
  46. set(WITH_PNG ON)
  47.  
  48. # #
  49. # Build TIFF image I/O plugin #
  50. # #
  51. # Default: ON #
  52. # #
  53.  
  54. set(WITH_TIFF ON)
  55.  
  56. # #
  57. # Enable Qt Gui build #
  58. # #
  59. # Default: ON #
  60. # #
  61.  
  62. set(WITH_QT OFF)
  63.  
  64. # #
  65. # Enable the YafaRay Python bindings #
  66. # #
  67. # Default: ON #
  68. # #
  69.  
  70. set(WITH_YAF_PY_BINDINGS ON)
  71.  
  72. # #
  73. # Enable the YafaRay Ruby bindings #
  74. # #
  75. # Default: OFF #
  76. # #
  77.  
  78. set(WITH_YAF_RUBY_BINDINGS OFF)
  79.  
  80. # #
  81. # Enable release mode building of YafaRay #
  82. # NOTE: This is only to build YafaRay releases, it controls the version number #
  83. # shown in yafaray-xml and the "draw parameters" parameters badge #
  84. # #
  85. # Default: OFF #
  86. # #
  87.  
  88. set(BUILDRELEASE ON)
  89.  
  90. # #
  91. # Enable debug build mode #
  92. # #
  93. # Default: OFF #
  94. # #
  95.  
  96. set(DEBUG_BUILD OFF)
  97.  
  98. # #
  99. # Embed font for QT GUI (useful for some buggy QT installations) #
  100. # #
  101. # Default: OFF #
  102. # #
  103.  
  104. set(EMBED_FONT_QT OFF)
  105.  
  106. ############################ Path setting variables ############################
  107. # #
  108. # The general install prefix #
  109. # #
  110. # Default: #
  111. # "/usr/local" on *NIX platforms #
  112. # "C:\<Program_Files_Dir>" on Windows platforms #
  113.  
  114. set(USER_INSTALL_PREFIX "D:/BlenderBuilds/Yafaray/YafarayBuild-64bitVS")
  115.  
  116. # #
  117. # The executables instalation dir #
  118. # #
  119. # this will install the binary executables in ${USER_INSTALL_PREFIX}/bin #
  120. # NOTE: under windows platforms this is the installation path #
  121. # and YAF_LIB_DIR is ignored #
  122. # #
  123. # Default: bin #
  124. # #
  125.  
  126. #set(YAF_BIN_DIR bin)
  127.  
  128. # #
  129. # The libraries instalation dir #
  130. # #
  131. # Default: lib #
  132. # #
  133. # this will install the libraries and plugins in ${USER_INSTALL_PREFIX}/lib #
  134. # NOTE: under windows platforms this variable is ignored #
  135. # #
  136.  
  137. #set(YAF_LIB_DIR lib)
  138.  
  139. # #
  140. # The bindings instalation dir
  141. # #
  142. # Default: ${CMAKE_SOURCE_DIR}/bindings/python
  143. # #
  144. # this will install the Python bindings on ${CMAKE_SOURCE_DIR}/bindings/python
  145. # you can set this path to your local blender scripts directory
  146. # or what ever suits you best
  147. # #
  148.  
  149. #set(YAF_BINDINGS_PY_DIR ${CMAKE_SOURCE_DIR}/bindings/python)
  150.  
  151. # #
  152. # More than one path can be set separated by spaces ie. #
  153. # #
  154. # set(YAF_USER_INCLUDE_DIRS C:/include D:/mydev/include) #
  155. # #
  156.  
  157. set(YAF_USER_INCLUDE_DIRS "D:/BlenderBuilds/Yafaray/win64libsVS/include")
  158. set(YAF_USER_LIBRARY_DIRS "D:/BlenderBuilds/Yafaray/win64libsVS/lib")
  159.  
  160. # #
  161. # Set this variables if you wish to append extra compiler flags to your build #
  162. # #
  163.  
  164. #set(USER_RELFLAGS "")
  165. #set(USER_DBGFLAGS "")
  166.  
  167. ######################## Executable location variables #########################
  168. # #
  169. # Here you can set the paths to search for executables, you can leave blank #
  170. # the ones you don't need #
  171. # #
  172. # Path to qmake executable #
  173. # #
  174.  
  175. #set(YAF_USER_QT_BIN_DIR "")
  176.  
  177. # #
  178. # Path to swig executable #
  179. # #
  180.  
  181. set(YAF_USER_SWIG_BIN_DIR "C:/swigwin")
  182.  
  183. ########################### Extra linking variables ############################
  184. # #
  185. # the variable YAF_USER_EXTRA_LIBS can be used to add extra linkage in case #
  186. # one of your dependencies has a dynamic link that is not included in the #
  187. # default YafaRay configuration, for example libXML2 can be dynamically #
  188. # linked against some libs like iconv and the default config doesn't include #
  189. # iconv as a linking lib, therefore you can use: #
  190. # #
  191. # set(YAF_USER_EXTRA_LIBS -liconv) *Syntax for GCC linker #
  192. # or #
  193. # set(YAF_USER_EXTRA_LIBS libiconv.lib) *Syntax for MSVC linker #
  194. # #
  195. # to add iconv to the library linkage list, again you can specify several libs #
  196. # at once in a list separated by spaces ie. #
  197. # #
  198. # set(YAF_USER_EXTRA_LIBS -lmylib1 -lmylib2 -lmylib2) #
  199. # or #
  200. # set(YAF_USER_EXTRA_LIBS libmylib1.lib libmylib2.lib libmylib2.lib) #
  201. # #
  202.  
  203. #set(YAF_USER_EXTRA_LIBS "")
  204.  
  205. ############################ Extra defines variable ############################
  206. # #
  207. # Use this variable to set extra defines that your build might require #
  208. # #
  209.  
  210. #set(YAF_USER_EXTRA_DEFS "")
  211. set(YAF_USER_EXTRA_DEFS -DOPENEXR_DLL -DMS_WIN64)
  212.  
  213. ########################### Required Python version ############################
  214. # #
  215. # Use this variable to set the Python version you want to use for the bindings #
  216. # Default: 2.6 #
  217. # #
  218.  
  219. set(YAF_PY_VERSION 3.1)
  220.  
  221. set(YAF_REVISION "0.1.2-Beta2")
  222.  
  223. ################################# End of file ##################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement