<div dir="ltr">Hi, <br><br>I&#39;m looking for a cross-platform way of detecting the build type from C++ code. <br><br>The idea is that if the code is being compiled for release, that certain testing things we do can be eliminated from the release build of our Paraview. <br>
<br>Something like<br><br>#ifdef (CMAKE_RELEASE)<br>&nbsp; // do some stuff<br>#else<br>&nbsp; // do other stuff<br>#endif<br><br>would do the trick. Does anyone know the name of the define that I&#39;m looking for?<br clear="all">
<br>-- <br>Chris Cameron<br>Mirarco Mining Innovation - e2vo<br>705-675-1151<br>x5113 <br>
</div>