Mercurial > minori
diff dep/animia/src/fd.cc @ 201:8f6f8dd2eb23
dep/animia: finish kvm backend
dep/animia: cmake: don't use kvm on unsupported systems, use private and public includes properly
cmake: why are we defining target include directories twice?
author | paper@DavesDouble.local |
---|---|
date | Sun, 19 Nov 2023 19:13:28 -0500 |
parents | 54c5d80a737e |
children | 71832ffe425a |
line wrap: on
line diff
--- a/dep/animia/src/fd.cc Sun Nov 19 17:30:38 2023 -0500 +++ b/dep/animia/src/fd.cc Sun Nov 19 19:13:28 2023 -0500 @@ -8,6 +8,8 @@ # include "animia/fd/xnu.h" #elif defined(LIBUTIL) # include "animia/fd/libutil.h" +#elif defined(LIBKVM) +# include "animia/fd/kvm.h" #endif namespace animia::internal { @@ -20,6 +22,8 @@ xnu::XnuFdTools os_fd; #elif defined(LIBUTIL) libutil::LibutilFdTools os_fd; +#elif defined(LIBKVM) +kvm::KvmFdTools os_fd; #else BaseFdTools os_fd; #endif