added MOMO_BUILD_AS_LIBRARY

this allows to build the emulator as a static library.
useful for using the project as a library
This commit is contained in:
Elias Bachaalany
2025-01-12 11:43:02 -08:00
parent aaf2e67526
commit c58abdc5fe
3 changed files with 15 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.26.4)
##########################################
option(MOMO_ENABLE_SANITIZER "Enable sanitizer" OFF)
option(MOMO_BUILD_AS_LIBRARY "Configure and Build the emulator as a shared library (without the samples and tests)" OFF)
##########################################