Workaround nuke not autoaddling dep lib (#859)

* #pragma comment(lib, <minhook lib>)

* Fix logging path, and make common files not use pch

* Move lib import to vcproj from pragma

* a

* Make copy of vcxproj for minhook from submodule to lib dir

* nuke it

* .
This commit is contained in:
kizer 2022-05-30 02:18:00 +09:00 committed by GitHub
parent dbb0cb3d56
commit b6237267ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 134 additions and 46 deletions

View file

@ -1,15 +1,13 @@
#pragma once
#include <filesystem>
#include <format>
#include <numeric>
#include <string>
#include <fstream>
#include "unicode.h"
namespace logging {
inline std::ofstream log_file;
enum Level : int {
Verbose = 0,
V = 0,
@ -65,5 +63,7 @@ namespace logging {
print(level, std::format(pcszFormat, std::forward<Arg>(arg1), std::forward<Args>(args)...));
}
void start_file_logging(const std::filesystem::path& path);
void update_dll_load_status(bool loaded);
};