diff --git a/CMakeLists.txt b/CMakeLists.txt index 72905e1..53f67b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,4 +4,6 @@ project(CppMpInt) set(CMAKE_CXX_STANDARD 20) -add_executable(main main.cpp) +add_executable(main src/main.cpp) + +target_include_directories(main PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp diff --git a/mp/int.hpp b/src/mp/int.hpp similarity index 100% rename from mp/int.hpp rename to src/mp/int.hpp diff --git a/mp/lib.hpp b/src/mp/lib.hpp similarity index 100% rename from mp/lib.hpp rename to src/mp/lib.hpp diff --git a/mp/math.hpp b/src/mp/math.hpp similarity index 100% rename from mp/math.hpp rename to src/mp/math.hpp diff --git a/mp/mp.hpp b/src/mp/mp.hpp similarity index 100% rename from mp/mp.hpp rename to src/mp/mp.hpp diff --git a/mp/storage.hpp b/src/mp/storage.hpp similarity index 100% rename from mp/storage.hpp rename to src/mp/storage.hpp diff --git a/mp/utils.hpp b/src/mp/utils.hpp similarity index 100% rename from mp/utils.hpp rename to src/mp/utils.hpp