Porting plugin to R20, disable style guide?
-
Hi!
I am finally taking the plunge and moving my development to R20. To get started I am porting an old plugin to R20. I have successfully compiled the sdk examples for R20. However, when compiling my own plugin, I get errors related to the style guide, e.g.:error : Style guide requires whitespace before =.
The "projectdefinition.txt" file for my plugin looks as follows:
// Supported platforms - can be [Win64;OSX] Platform=Win64;OSX // Type of project - can be [Lib;DLL;App] Type=DLL // API dependencies APIS=cinema.framework;mesh_misc.framework;math.framework;crypt.framework;python.framework;core.framework; // C4D component C4D=true stylecheck=false //stylecheck.level=0 // must be set after c4d=true stylecheck.enum-registration=false stylecheck.enum-class=false // Custom ID ModuleId=com.filipmalmberg.solidchamfer
I thought the setting stylecheck=false would disable the stylecheck completely? Am I doing something wrong?
Best regards
/Filip -
Hello,
using
stylecheck=false
or
stylecheck.level=0
disables the style check. But then you write:
stylecheck.enum-registration=false stylecheck.enum-class=false
which apparently turns the stylecheck on again. So if you remove these two lines, style check should be disabled.
You can also turn errors into warnings using
stylecheck.aswarnings=true
.best wishes,
Sebastian -
Thanks Sebastian, I will try that!
/Filip
-
This post is deleted!