Commit c584b10b authored by Dominik Charousset's avatar Dominik Charousset

Add option to set CAF_ENABLE_TYPE_ID_CHECKS

parent 7edfed6e
...@@ -45,6 +45,10 @@ Usage: $0 [OPTION]... [VAR=VALUE]... ...@@ -45,6 +45,10 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--warnings-as-errors build with '-Werror' --warnings-as-errors build with '-Werror'
--with-ccache use ccache to improve build performance --with-ccache use ccache to improve build performance
Opt-in Features:
--enable-type-id-checks raise errors when sending types without type IDs
Optional Targets: Optional Targets:
--with-qt-examples build Qt example(s) --with-qt-examples build Qt example(s)
--with-protobuf-examples build Google Protobuf example(s) --with-protobuf-examples build Google Protobuf example(s)
...@@ -85,7 +89,8 @@ Usage: $0 [OPTION]... [VAR=VALUE]... ...@@ -85,7 +89,8 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
Convenience options: Convenience options:
--dev-mode sets --build-type=debug, --no-examples, --dev-mode sets --build-type=debug, --no-examples,
--no-tools, --with-runtime-checks, --no-tools, --with-runtime-checks,
--log-level=trace, and --enable-asan --log-level=trace, --enable-asan,
and --enable-type-id-checks
Influential Environment Variables (only on first invocation): Influential Environment Variables (only on first invocation):
CXX C++ compiler command CXX C++ compiler command
...@@ -247,6 +252,9 @@ while [ $# -ne 0 ]; do ...@@ -247,6 +252,9 @@ while [ $# -ne 0 ]; do
--enable-asan) --enable-asan)
append_cache_entry CAF_ENABLE_ADDRESS_SANITIZER BOOL yes append_cache_entry CAF_ENABLE_ADDRESS_SANITIZER BOOL yes
;; ;;
--enable-type-id-checks)
append_cache_entry CAF_ENABLE_TYPE_ID_CHECKS BOOL yes
;;
--with-gcov) --with-gcov)
append_cache_entry CAF_ENABLE_GCOV BOOL yes append_cache_entry CAF_ENABLE_GCOV BOOL yes
;; ;;
...@@ -380,6 +388,7 @@ while [ $# -ne 0 ]; do ...@@ -380,6 +388,7 @@ while [ $# -ne 0 ]; do
append_cache_entry CAF_LOG_LEVEL STRING TRACE append_cache_entry CAF_LOG_LEVEL STRING TRACE
append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL yes append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL yes
append_cache_entry CAF_ENABLE_ADDRESS_SANITIZER BOOL yes append_cache_entry CAF_ENABLE_ADDRESS_SANITIZER BOOL yes
append_cache_entry CAF_ENABLE_TYPE_ID_CHECKS BOOL yes
;; ;;
*) *)
echo "Invalid option '$1'. Try $0 --help to see available options." echo "Invalid option '$1'. Try $0 --help to see available options."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment