From f3df30836659de99c90ad8df63343de608f23b16 Mon Sep 17 00:00:00 2001 From: tovjemam Date: Thu, 4 Dec 2025 10:05:31 +0100 Subject: [PATCH] Move to src --- CMakeLists.txt | 4 +++- main.cpp => src/main.cpp | 0 {mp => src/mp}/int.hpp | 0 {mp => src/mp}/lib.hpp | 0 {mp => src/mp}/math.hpp | 0 {mp => src/mp}/mp.hpp | 0 {mp => src/mp}/storage.hpp | 0 {mp => src/mp}/utils.hpp | 0 8 files changed, 3 insertions(+), 1 deletion(-) rename main.cpp => src/main.cpp (100%) rename {mp => src/mp}/int.hpp (100%) rename {mp => src/mp}/lib.hpp (100%) rename {mp => src/mp}/math.hpp (100%) rename {mp => src/mp}/mp.hpp (100%) rename {mp => src/mp}/storage.hpp (100%) rename {mp => src/mp}/utils.hpp (100%) 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