File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ option(AVM_VERBOSE_ABORT "Print module and line number on VM abort" OFF)
3333option (AVM_RELEASE "Build an AtomVM release" OFF )
3434option (AVM_CREATE_STACKTRACES "Create stacktraces" ON )
3535option (COVERAGE "Build for code coverage" OFF )
36+ option (RUN_DIALYZER "Run dialyzer on BEAM modules" ON )
3637
3738if ((${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" ) OR
3839 (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" ) OR
Original file line number Diff line number Diff line change 4040 pack_lib(atomvmlib eavmlib estdlib alisp)
4141endif ()
4242
43- if (Dialyzer_FOUND)
43+ if (Dialyzer_FOUND AND RUN_DIALYZER )
4444 add_custom_command (
4545 OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /atomvmlib.plt
4646 DEPENDS atomvmlib
@@ -54,7 +54,7 @@ if (Dialyzer_FOUND)
5454 DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /atomvmlib.plt
5555 )
5656else ()
57- message ("Unable to find dialyzer -- skipping PLT build" )
57+ message ("Dialyzer is not enabled -- skipping PLT build" )
5858endif ()
5959
6060install (
You can’t perform that action at this time.
0 commit comments