Move main source files into src/

This commit is contained in:
Luke Street 2025-10-04 13:34:31 -06:00
parent 390f26b28d
commit 166399f143
22 changed files with 17 additions and 16 deletions

View File

@ -73,17 +73,18 @@ add_executable(wibo
dll/user32.cpp dll/user32.cpp
dll/vcruntime.cpp dll/vcruntime.cpp
dll/version.cpp dll/version.cpp
access.cpp src/access.cpp
errors.cpp src/errors.cpp
files.cpp src/files.cpp
handles.cpp src/handles.cpp
loader.cpp src/loader.cpp
resources.cpp src/resources.cpp
module_registry.cpp src/module_registry.cpp
main.cpp src/main.cpp
processes.cpp src/processes.cpp
strutil.cpp src/strutil.cpp
) )
target_include_directories(wibo PRIVATE dll src)
target_link_libraries(wibo PRIVATE std::filesystem mimalloc-static) target_link_libraries(wibo PRIVATE std::filesystem mimalloc-static)
install(TARGETS wibo DESTINATION bin) install(TARGETS wibo DESTINATION bin)

View File

@ -1,6 +1,6 @@
#include "wow64apiset.h" #include "wow64apiset.h"
#include "common.h" #include "common.h"
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include "errors.h" #include "errors.h"
#include "handles.h" #include "handles.h"

View File

@ -1,5 +1,5 @@
#include "common.h" #include "common.h"
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include <algorithm> #include <algorithm>
#include <array> #include <array>
#include <cerrno> #include <cerrno>

View File

@ -1,5 +1,5 @@
#include "common.h" #include "common.h"
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include "errors.h" #include "errors.h"
#include "files.h" #include "files.h"
#include "handles.h" #include "handles.h"

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "common.h" #include "common.h"
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include <cstdio> #include <cstdio>
#include <filesystem> #include <filesystem>

View File

@ -1,6 +1,6 @@
#include "processes.h" #include "processes.h"
#include "common.h" #include "common.h"
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include "files.h" #include "files.h"
#include "handles.h" #include "handles.h"
#include <algorithm> #include <algorithm>

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "dll/kernel32/internal.h" #include "kernel32/internal.h"
#include <filesystem> #include <filesystem>
#include <optional> #include <optional>