diff --git a/backend/src/ExpressPacket.hpp b/backend/include/ExpressPacket.hpp similarity index 100% rename from backend/src/ExpressPacket.hpp rename to backend/include/ExpressPacket.hpp diff --git a/backend/src/RPLidar.cpp b/backend/include/RPLidar.cpp similarity index 100% rename from backend/src/RPLidar.cpp rename to backend/include/RPLidar.cpp diff --git a/backend/src/RPLidar.h b/backend/include/RPLidar.h similarity index 100% rename from backend/src/RPLidar.h rename to backend/include/RPLidar.h diff --git a/backend/xmake.lua b/backend/xmake.lua index 3550a25d..c56603ff 100644 --- a/backend/xmake.lua +++ b/backend/xmake.lua @@ -22,6 +22,7 @@ end if is_plat("linux", "macosx") then -- For the SunFounder Car add_requires("pca9685") + add_requires("wiringpi") end -- For Functional Programming? @@ -40,12 +41,14 @@ target("backend") end if is_plat("linux", "macosx") then add_packages("pca9685") + add_packages("wiringpi") end add_packages("tl_expected") add_files("src/*.cpp") add_headerfiles("src/*.h", "src/*.hpp") + add_includedirs("include") if is_plat("windows") then add_defines("_WIN32")