[UCRT] Add CMake files

This commit is contained in:
Timo Kreuzer 2024-10-11 14:52:11 +03:00
parent ef440b9aef
commit 7bb12665d6
21 changed files with 654 additions and 1 deletions

View file

@ -0,0 +1,25 @@
list(APPEND UCRT_FILESYSTEM_SOURCES
filesystem/access.cpp
filesystem/chmod.cpp
filesystem/findfile.cpp
filesystem/fullpath.cpp
filesystem/makepath.cpp
filesystem/mkdir.cpp
filesystem/rename.cpp
filesystem/rmdir.cpp
filesystem/splitpath.cpp
filesystem/stat.cpp
filesystem/unlink.cpp
filesystem/waccess.cpp
filesystem/wchmod.cpp
filesystem/wmkdir.cpp
filesystem/wrename.cpp
filesystem/wrmdir.cpp
filesystem/wunlink.cpp
)
if(MSVC)
# Disable warning C4838: conversion from 'int' to 'size_t' requires a narrowing conversion
set_source_files_properties(filesystem/splitpath.cpp PROPERTIES COMPILE_FLAGS "/wd4838")
endif()