Missing documentation how to build without RTTI
Open
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
The `wiki/FAQ` mentions that it's possible to build the library without RTTI. But the `wiki/Install` page does not give clear guidance how to achieve that.
I've been trying to these flags without success:
- `-DFRUIT_ADDITIONAL_CXX_FLAGS:STRING="-fno-exceptions -fno-rtti"` I saw this in the main `CMakeList.txt`, but looks like it's not used when the compiler is checked.
- `-DFRUIT_COMPILE_FLAGS:STRING="-fno-exceptions -fno-rtti"` I've found this in `configuration/CMakeLists.txt` where it assigns to `CMAKE_REQUIRED_FLAGS` before runs the compiler checks.
What would be the right way to disable it?
Contributor guide
Assessment
This issue has not been assessed yet.