diff --git a/CMakeLists.txt b/CMakeLists.txt index e576844..034550a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,8 @@ project(ComSquare) # show compilation warnings add_compile_options(-W -Wall -Wextra -Wshadow) +include_directories(sources) + # make unit tests add_executable(unit_tests tests/CPU/testAddressingMode.cpp diff --git a/sources/Debugger/CPU/CPUDebug.cpp b/sources/Debugger/CPU/CPUDebug.cpp index cd8cb22..61e848c 100644 --- a/sources/Debugger/CPU/CPUDebug.cpp +++ b/sources/Debugger/CPU/CPUDebug.cpp @@ -3,8 +3,9 @@ // #include "CPUDebug.hpp" -#include "../../Utility/Utility.hpp" -#include "../../Exceptions/InvalidOpcode.hpp" +#include "Utility/Utility.hpp" +#include "Exceptions/InvalidOpcode.hpp" +#include "SymbolLoaders/WlaDx.hpp" #include #include #include @@ -316,7 +317,7 @@ namespace ComSquare::Debugger std::ifstream sym(symbolPath); if (sym) { - std::vector