![]() When building for previous Cinema 4D releases).Ĭraftr can however take the following information from the Target is no longer required and will do nothing (for backwards compatibility With R20, Maxon introduced a tool to produce project files from a plugin_suffix,ĭepend on the 4d:legacy target instead if your project uses Set it to true to enable RTTI.Ĭ4d = require( target( builders =) def plugin(): Usually the Cinema 4D SDK is compiled without RTTI, thus the default value for this option is false. In case no Cinema 4D Application directory was specified and none was automatically determined, the Cinema 4D SDK matching this release will be downloaded (if available). Specify the Cinema 4D release number if it can not be determined automatically from the directory option. If this option is not set, it will be automatically determined from the install location of the package. The directory of the Cinema 4D installation. R20 Python: Choose the correct link targets on Mac/Linux.R20 Linux: Plugin suffix? Compile errors with StrongCOWHandler in cpython.h.R20 projectdefinition: Handle more of the projectdefinition.txt properties.aims to provide R19Ĭompatible iferr() and ifnoerr() macros). The pre-R20 enumerations (generated using the scripts/r20enums.py script)īut encrouages use of API that is more similar to R20 (eg. Must be explicitly included with the "c4d_apibridge.h" header. This Craftr module provides a bridge API – meaning that it is a newĪnd separate API that is compatible with the pre-R20 and R20 SDK. Implicitly cast to the type T*, rendering all existing code using these Return a maxon::ResultPtr instead of a raw pointer which can not be Macros like NewObj()/ NewMem() and functions like String::GetCStringCopy() Most prominent are theĬhanges to enumerations which all changed to enum class declarations. With R20, the Cinema 4D SDK changed drastically. The R16 SDK uses #define override on Windows which is actually invalidĪnd Visual Studio 2015 (aka. You can also depend on the 4d:legacy target instead which willĪdd the c4d_legacy.h as a prefix header, thus you won't need to manually It will beĪvailable by adding the 4d:addons target to your plugins' Which allows you to use much of the old API even in R17 to R19. This Craftr module provides the old C4D legacy API header as "c4d_legacy.h", _LEGACY_API preprocessor switch that enabled most of the old names, however Many symbol names in the C4D SDK changed drastically in R15. To a directory that is called Cinema 4D RX.YYY) Can automatically detect your Cinema 4D release and compiler version toĪdjust command-line flags accordingly (given that you installed Cinema 4D.Compiles plugins on Windows (MSVC), macOS (Clang) and Linux (GCC).Provides legacy / dual API headers 1) More info below.Supports compiling plugins for Cinema 4D R12 – R20.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |