SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: templates/yaf_revision.h.cmake
  2. ===================================================================
  3. --- templates/yaf_revision.h.cmake  (revisión: 0)
  4. +++ templates/yaf_revision.h.cmake  (revisión: 0)
  5. @@ -0,0 +1,6 @@
  6. +#ifndef Y_REV_H
  7. +#define Y_REV_H
  8. +#define YAF_SVN_REV "@YAF_SVN_REV@"
  9. +#define LIBPATH "@CMAKE_INSTALL_PREFIX@/lib"
  10. +#define Y_PLUGINPATH "@CMAKE_INSTALL_PREFIX@/@YAF_PLUGIN_PATH@"
  11. +#endif
  12. Index: templates/yafray_user_config.h.cmake
  13. ===================================================================
  14. --- templates/yafray_user_config.h.cmake    (revisión: 0)
  15. +++ templates/yafray_user_config.h.cmake    (revisión: 0)
  16. @@ -0,0 +1,10 @@
  17. +// Add extra information to the version string of this build
  18. +#define YAF_EXTRA_VERSION "@YAF_EXTRA_VERSION@"
  19. +
  20. +// put code/defines outside of the yafray namespace here
  21. +
  22. +__BEGIN_YAFRAY
  23. +// put code/defines inside the yafray namespace here
  24. +
  25. +__END_YAFRAY
  26. +
  27. Index: templates/yafray_config.h.cmake
  28. ===================================================================
  29. --- templates/yafray_config.h.cmake (revisión: 0)
  30. +++ templates/yafray_config.h.cmake (revisión: 0)
  31. @@ -0,0 +1,18 @@
  32. +#ifndef Y_CONFIG_H
  33. +#define Y_CONFIG_H
  34. +#include "yafray_constants.h"
  35. +
  36. +#define MIN_RAYDIST 0.00005
  37. +
  38. +#define Y_DEBUG(DebugLevel) if (DebugLevel <= env->Debug) std::cout << "DEBUG["<< DebugLevel << "]: "
  39. +#define Y_INFO std::cout << "INFO: "
  40. +#define Y_WARNING std::cout << "WARNING: "
  41. +#define Y_ERROR std::cout << "ERROR: "
  42. +
  43. +__BEGIN_YAFRAY
  44. +typedef float CFLOAT;
  45. +typedef float GFLOAT;
  46. +typedef float PFLOAT;
  47. +__END_YAFRAY
  48. +#include "yafray_user_config.h"
  49. +#endif
RAW Paste Data
Top