mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Initial commit
This commit is contained in:
12
cmake/CTestCustom.cmake
Normal file
12
cmake/CTestCustom.cmake
Normal file
@@ -0,0 +1,12 @@
|
||||
file (STRINGS "@CMAKE_BINARY_DIR@/CTestTestfile.cmake" LINES)
|
||||
|
||||
# overwrite the file....
|
||||
file(WRITE "@CMAKE_BINARY_DIR@/CTestTestfile.cmake" "")
|
||||
|
||||
# loop through the lines,
|
||||
foreach(LINE IN LISTS LINES)
|
||||
# remove unwanted parts
|
||||
string(REGEX REPLACE ".*third_party.*" "" STRIPPED "${LINE}")
|
||||
# and write the (changed) line ...
|
||||
file(APPEND "@CMAKE_BINARY_DIR@/CTestTestfile.cmake" "${STRIPPED}\n")
|
||||
endforeach()
|
||||
Reference in New Issue
Block a user