Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,11 @@ if(WIN32 AND LEONIDA_BUILD_WINDOWS_RUNTIME)
target_compile_definitions(title_write_watch_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX UNICODE _UNICODE)
target_compile_options(title_write_watch_test PRIVATE /W4 /permissive- /utf-8)

# ShadowPages (src/shadow_pages.h): two trackers over overlapping pages copy what the title wrote, and nothing else.
add_executable(shadow_pages_test test/shadow_pages_test.cpp)
target_compile_definitions(shadow_pages_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX UNICODE _UNICODE)
target_compile_options(shadow_pages_test PRIVATE /W4 /permissive- /utf-8)

# title_memory_map (src/title_page_watch.h): map changes by range, and the texture pass that probes only what they hit.
add_executable(title_memory_map_test test/title_memory_map_test.cpp)
target_compile_definitions(title_memory_map_test PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX UNICODE _UNICODE)
Expand Down Expand Up @@ -1713,6 +1718,9 @@ if(BUILD_TESTING)
if(WIN32 AND TARGET guarded_copy_test)
add_test(NAME guarded_copy COMMAND guarded_copy_test)
endif()
if(WIN32 AND TARGET shadow_pages_test)
add_test(NAME shadow_pages COMMAND shadow_pages_test)
endif()
if(WIN32 AND TARGET title_memory_map_test)
add_test(NAME title_memory_map COMMAND title_memory_map_test)
endif()
Expand Down
Loading