mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
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:
parent
dbb0cb3d56
commit
b6237267ce
8 changed files with 134 additions and 46 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue