Linux support. (#3)

* Compiling and running on Linux.

* Fix xpointer constructor.

* Convert dependencies to submodules.

* Fix wchar_t usage for Linux.
This commit is contained in:
Skyth (Asilkan)
2024-12-21 00:49:06 +03:00
committed by GitHub
parent 45c00cfec6
commit 4650dc69fb
19 changed files with 295 additions and 201 deletions

13
thirdparty/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,13 @@
add_subdirectory(${THIRDPARTY_ROOT}/disasm)
if (NOT TARGET fmt::fmt)
add_subdirectory(${THIRDPARTY_ROOT}/fmt)
endif()
if (NOT TARGET tomlplusplus::tomlplusplus)
add_subdirectory(${THIRDPARTY_ROOT}/tomlplusplus)
endif()
if (NOT TARGET xxHash::xxhash)
add_subdirectory(${THIRDPARTY_ROOT}/xxHash/cmake_unofficial)
endif()

View File

@@ -1,5 +1,9 @@
#include "dis-asm.h"
#ifndef EIO
#define EIO 5
#endif
/* Get LENGTH bytes from info's buffer, at target address memaddr.
Transfer them to myaddr. */
int

1
thirdparty/fmt vendored Submodule

Submodule thirdparty/fmt added at 873670ba3f

1
thirdparty/tomlplusplus vendored Submodule

Submodule thirdparty/tomlplusplus added at c4369ae1d8

1
thirdparty/xxHash vendored Submodule

Submodule thirdparty/xxHash added at 2bf8313b93