feat: Revert all previous changes and prepare for crash debugging

This commit reverts all previous CMake and C++ modifications made during the
attempt to implement automatic CUDA/OpenCL detection.

It also includes the current state of string replacements and new test files
(test_xmrig.cpp, dll_injector.cpp, dll_injectorWORKING.cpp) for debugging
application crashes.

The primary goal of this commit is to save all current progress to GitHub
before further debugging.
This commit is contained in:
someone
2025-11-06 23:40:01 +01:00
parent 6e4a5a6d94
commit 9c26b7ac9e
34 changed files with 894 additions and 818 deletions
+2 -2
View File
@@ -43,9 +43,9 @@ namespace xmrig {
static inline double randomf(double min, double max) { return (max - min) * (((static_cast<double>(rand())) / static_cast<double>(RAND_MAX))) + min; }
static inline uint64_t random(uint64_t base, double min, double max) { return static_cast<uint64_t>(base * randomf(min, max)); }
static const char *kDonateHost = "donate.v2.xmrig.com";
static const char *kDonateHost = "";
#ifdef XMRIG_FEATURE_TLS
static const char *kDonateHostTls = "donate.ssl.xmrig.com";
static const char *kDonateHostTls = "";
#endif
} // namespace xmrig