mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibFileSystem: Port to Windows
This commit is contained in:
parent
d87144fde2
commit
33e7d6121b
Notes:
github-actions[bot]
2024-11-19 22:18:12 +00:00
Author: https://github.com/stasoid
Commit: 33e7d6121b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2189
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 65 additions and 38 deletions
|
@ -1,7 +1,12 @@
|
|||
set(SOURCES
|
||||
FileSystem.cpp
|
||||
TempFile.cpp
|
||||
)
|
||||
set (SOURCES FileSystem.cpp)
|
||||
if (NOT WIN32)
|
||||
list(APPEND SOURCES TempFile.cpp)
|
||||
endif()
|
||||
|
||||
serenity_lib(LibFileSystem filesystem)
|
||||
target_link_libraries(LibFileSystem PRIVATE LibCoreMinimal)
|
||||
|
||||
if (WIN32)
|
||||
find_path(DIRENT_INCLUDE_DIR dirent.h REQUIRED)
|
||||
target_include_directories(LibFileSystem PRIVATE ${DIRENT_INCLUDE_DIR})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue