mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-15 19:36:59 +00:00
build: Refactor CMake build system
This new architecture decomposes the project into several distict static libraries: common, host, kvm, and frontend. By using static libraries, changes within one module will only require that library to be re-linked, rather than recompiling and re-linking the entire executable. The third party library ImGui is now built as a static library target. Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
8b483849f4
commit
a3ed44003b
16 changed files with 133 additions and 302 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include "IoFile.h"
|
||||
|
||||
#include "Assert.h"
|
||||
#include "Error.h"
|
||||
#include "Logging/Log.h"
|
||||
#include "PathUtil.h"
|
||||
|
|
@ -287,7 +286,6 @@ uptr IOFile::GetFileMapping()
|
|||
mapping = hfile;
|
||||
|
||||
fileMapping = std::bit_cast<uptr>(mapping);
|
||||
ASSERT_MSG(fileMapping, "{}", Base::GetLastErrorMsg());
|
||||
return fileMapping;
|
||||
#else
|
||||
fileMapping = fileno(file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue