From 11bdc5e8a2be4befc56a917379f89c7c621911cd Mon Sep 17 00:00:00 2001 From: Mark Street <22226349+mkst@users.noreply.github.com> Date: Mon, 18 Jul 2022 14:54:17 +0100 Subject: [PATCH] move dlls into dll/ dir (#16) --- CMakeLists.txt | 13 +++++++------ advapi32.cpp => dll/advapi32.cpp | 0 kernel32.cpp => dll/kernel32.cpp | 0 lmgr.cpp => dll/lmgr.cpp | 0 ole32.cpp => dll/ole32.cpp | 0 user32.cpp => dll/user32.cpp | 0 version.cpp => dll/version.cpp | 0 7 files changed, 7 insertions(+), 6 deletions(-) rename advapi32.cpp => dll/advapi32.cpp (100%) rename kernel32.cpp => dll/kernel32.cpp (100%) rename lmgr.cpp => dll/lmgr.cpp (100%) rename ole32.cpp => dll/ole32.cpp (100%) rename user32.cpp => dll/user32.cpp (100%) rename version.cpp => dll/version.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b66574..306f94d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,16 +7,17 @@ find_package(Filesystem REQUIRED) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32 -Wall") +include_directories(.) add_executable(wibo - advapi32.cpp + dll/advapi32.cpp + dll/kernel32.cpp + dll/lmgr.cpp + dll/ole32.cpp + dll/user32.cpp + dll/version.cpp files.cpp - kernel32.cpp - lmgr.cpp loader.cpp main.cpp - ole32.cpp - user32.cpp - version.cpp ) target_link_libraries(wibo PRIVATE std::filesystem) install(TARGETS wibo DESTINATION bin) diff --git a/advapi32.cpp b/dll/advapi32.cpp similarity index 100% rename from advapi32.cpp rename to dll/advapi32.cpp diff --git a/kernel32.cpp b/dll/kernel32.cpp similarity index 100% rename from kernel32.cpp rename to dll/kernel32.cpp diff --git a/lmgr.cpp b/dll/lmgr.cpp similarity index 100% rename from lmgr.cpp rename to dll/lmgr.cpp diff --git a/ole32.cpp b/dll/ole32.cpp similarity index 100% rename from ole32.cpp rename to dll/ole32.cpp diff --git a/user32.cpp b/dll/user32.cpp similarity index 100% rename from user32.cpp rename to dll/user32.cpp diff --git a/version.cpp b/dll/version.cpp similarity index 100% rename from version.cpp rename to dll/version.cpp