list(APPEND source_files Win32Util.cpp)
endif()
+file(GLOB headers *.hpp)
+list(APPEND source_files ${headers})
+
add_library(ccache_framework STATIC ${source_files})
if(WIN32)
types.cpp
)
+file(GLOB headers *.hpp)
+list(APPEND sources ${headers})
+
target_sources(ccache_framework PRIVATE ${sources})
Storage.cpp
)
+file(GLOB headers *.hpp)
+list(APPEND sources ${headers})
+
target_sources(ccache_framework PRIVATE ${sources})
util.cpp
)
+file(GLOB headers *.hpp)
+list(APPEND sources ${headers})
+
target_sources(ccache_framework PRIVATE ${sources})
list(APPEND sources RedisStorage.cpp)
endif()
+file(GLOB headers *.hpp)
+list(APPEND sources ${headers})
+
target_sources(ccache_framework PRIVATE ${sources})
target_sources(third_party PRIVATE minitrace.c)
endif()
+file(GLOB headers *.h fmt/*.h nonstd/*.hpp win32/*.h)
+target_sources(third_party PRIVATE ${headers})
+
set(xxhdispatchtest [=[
#include "xxh_x86dispatch.c"
target_compile_definitions(blake3 PRIVATE BLAKE3_USE_NEON)
endif()
endif()
+
+file(GLOB headers *.h)
+target_sources(blake3 PRIVATE ${headers})
zstd.cpp
)
+file(GLOB headers *.hpp)
+list(APPEND sources ${headers})
+
target_sources(ccache_framework PRIVATE ${sources})
list(APPEND source_files test_bsdmkstemp.cpp test_Win32Util.cpp)
endif()
+file(GLOB headers *.hpp)
+list(APPEND source_files ${headers})
+
add_executable(unittest ${source_files})
if(MSVC)