early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,25 @@
get_filename_component(_dstorage_root "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_dstorage_root "${_dstorage_root}" PATH)
get_filename_component(_dstorage_root "${_dstorage_root}" PATH)
set(_dstorage_root_lib "${_dstorage_root}/lib/dstorage.lib")
if (EXISTS "${_dstorage_root_lib}")
add_library(Microsoft::DirectStorage SHARED IMPORTED)
set_target_properties(Microsoft::DirectStorage PROPERTIES
IMPORTED_LOCATION "${_dstorage_root}/bin/dstorage.dll"
IMPORTED_IMPLIB "${_dstorage_root_lib}"
INTERFACE_INCLUDE_DIRECTORIES "${_dstorage_root}/include"
IMPORTED_LINK_INTERFACE_LANGUAGES "C")
set(dstorage_FOUND TRUE)
else()
set(dstorage_FOUND FALSE)
endif()
unset(_dstorage_root_lib)
unset(_dstorage_root)