From b2b09c60d8b0fe52701a11dae6ca499ebc32f71a Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 31 Dec 2023 16:05:04 +0100 Subject: [PATCH] restruct --- .gitmodules | 3 --- CMakeLists.txt | 2 +- {app => apps}/CMakeLists.txt | 0 {app => apps}/main.cpp | 0 {Geometry => include/Geometry}/dummy.h | 0 src/CMakeLists.txt | 4 ++-- 6 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 .gitmodules rename {app => apps}/CMakeLists.txt (100%) rename {app => apps}/main.cpp (100%) rename {Geometry => include/Geometry}/dummy.h (100%) diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 7cde834..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "lib/eigen"] - path = lib/eigen - url = https://gitlab.com/libeigen/eigen.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 807bdb7..5df1ca7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,4 +21,4 @@ include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/Geometry add_subdirectory(src) -add_subdirectory(app) \ No newline at end of file +add_subdirectory(apps) \ No newline at end of file diff --git a/app/CMakeLists.txt b/apps/CMakeLists.txt similarity index 100% rename from app/CMakeLists.txt rename to apps/CMakeLists.txt diff --git a/app/main.cpp b/apps/main.cpp similarity index 100% rename from app/main.cpp rename to apps/main.cpp diff --git a/Geometry/dummy.h b/include/Geometry/dummy.h similarity index 100% rename from Geometry/dummy.h rename to include/Geometry/dummy.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a18cecd..ce56245 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,11 +1,11 @@ -set(HEADER_LIST "${Geometry_SOURCE_DIR}/Geometry/dummy.h") +set(HEADER_LIST "${Geometry_SOURCE_DIR}/include/Geometry/dummy.h") add_library(Geometry Dummy.cpp ${HEADER_LIST}) target_include_directories(Geometry PUBLIC "${PROJECT_SOURCE_DIR}/include" "${PROJECT_SOURCE_DIR}/Geometry") source_group( - TREE "${PROJECT_SOURCE_DIR}/Geometry" + TREE "${PROJECT_SOURCE_DIR}/include" PREFIX "Header Files" FILES ${HEADER_LIST} )