Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: templates/yaf_revision.h.cmake
- ===================================================================
- --- templates/yaf_revision.h.cmake (revisión: 0)
- +++ templates/yaf_revision.h.cmake (revisión: 0)
- @@ -0,0 +1,6 @@
- +#ifndef Y_REV_H
- +#define Y_REV_H
- +#define YAF_SVN_REV "@YAF_SVN_REV@"
- +#define LIBPATH "@CMAKE_INSTALL_PREFIX@/lib"
- +#define Y_PLUGINPATH "@CMAKE_INSTALL_PREFIX@/@YAF_PLUGIN_PATH@"
- +#endif
- Index: templates/yafray_user_config.h.cmake
- ===================================================================
- --- templates/yafray_user_config.h.cmake (revisión: 0)
- +++ templates/yafray_user_config.h.cmake (revisión: 0)
- @@ -0,0 +1,10 @@
- +// Add extra information to the version string of this build
- +#define YAF_EXTRA_VERSION "@YAF_EXTRA_VERSION@"
- +
- +// put code/defines outside of the yafray namespace here
- +
- +__BEGIN_YAFRAY
- +// put code/defines inside the yafray namespace here
- +
- +__END_YAFRAY
- +
- Index: templates/yafray_config.h.cmake
- ===================================================================
- --- templates/yafray_config.h.cmake (revisión: 0)
- +++ templates/yafray_config.h.cmake (revisión: 0)
- @@ -0,0 +1,18 @@
- +#ifndef Y_CONFIG_H
- +#define Y_CONFIG_H
- +#include "yafray_constants.h"
- +
- +#define MIN_RAYDIST 0.00005
- +
- +#define Y_DEBUG(DebugLevel) if (DebugLevel <= env->Debug) std::cout << "DEBUG["<< DebugLevel << "]: "
- +#define Y_INFO std::cout << "INFO: "
- +#define Y_WARNING std::cout << "WARNING: "
- +#define Y_ERROR std::cout << "ERROR: "
- +
- +__BEGIN_YAFRAY
- +typedef float CFLOAT;
- +typedef float GFLOAT;
- +typedef float PFLOAT;
- +__END_YAFRAY
- +#include "yafray_user_config.h"
- +#endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement