some refactoring with optional_function

- wrapped std::function into utils::optional_function
-- cleaned the code accordingly in windows_emulator
- using the 'emulator'/'windows_emulator' dependency implies the emulator_common as well.
This commit is contained in:
Elias Bachaalany
2025-01-21 19:25:51 -08:00
parent eb613b2214
commit 5bf325c77f
7 changed files with 66 additions and 47 deletions

View File

@@ -8,4 +8,5 @@ list(SORT SRC_FILES)
add_library(emulator ${SRC_FILES})
target_link_libraries(emulator PUBLIC emulator-common)
target_include_directories(emulator INTERFACE "${CMAKE_CURRENT_LIST_DIR}")