SOFA_DUMP_VISITOR_INFO : enabling this option allows to get more debugging information at each step of the simulations. More technically, this will respectively activate or deactivate the macro SOFA_WITH_DOUBLE and SOFA_WITH_FLOAT in the code. Note that using double will significantly reduce compilation time, but then you will only be able to simulate scenes that contain exclusively components using template parameters based on double (Vec3d, Rigid3d, …). This option also defines which “versions” of each templated component will be compiled (float, double or both instantiations). SOFA_FLOATING_POINT_TYPE : this option determines the type(s) (float, double or both) used almost everywhere in SOFA when a floating point type is explicitly needed: the SReal type. For more information, please go to the Tests page. SOFA_BUILD_TESTS : this option activates unit tests for SOFA. SOFA_BUILD_TUTORIALS : this options activates the build of all tutorials located in applications/tutorials. For more information, please read the documentation about Building a plugin. SOFA_EXTERNAL_DIRECTORIES: path to external directories, this can be especially useful to build external plugins with SOFA. RelWithDebInfo is similar to Release, but keeps the symbol files for debugging. Debug value makes it compile with the debugging symbol activated and no code optimization. Like the value is indicating, Release value indicates to compile in Release mode, with optimizations for speed, size of binaries. SOFA CMake optionsĬMAKE_BUILD_TYPE : the typical values for that field are Release, RelWithDebInfo and Debug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |