diff options
author | Nao Pross <naopross@thearcway.org> | 2019-06-22 16:27:03 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-06-22 16:27:03 +0200 |
commit | 90fa45bb9f430decea00e22ddafdd351048e57ba (patch) | |
tree | d1033f9a12270fbd99ecfee6a4e8f80dc7ba7591 | |
parent | Make childs inherit all basic_vec constructors with lang syntax (diff) | |
download | libmm-90fa45bb9f430decea00e22ddafdd351048e57ba.tar.gz libmm-90fa45bb9f430decea00e22ddafdd351048e57ba.zip |
Update CMakeLists and structure under include
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | include/mm/mm.hpp (renamed from include/mm) | 0 | ||||
-rw-r--r-- | include/mm/mmvec.hpp (renamed from include/mmvec.hpp) | 0 | ||||
-rw-r--r-- | mmvec.cpp | 2 | ||||
-rw-r--r-- | test/vec_example.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 04faebb..ed126da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ target_include_directories(mm $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> PRIVATE ${CMAKE_CURRENT_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/include/mm + ${CMAKE_CURRENT_SOURCE_DIR}/include ) target_compile_options(mm @@ -67,8 +67,8 @@ set_target_properties(mm PROPERTIES EXPORT_NAME MM) # install public headers install( FILES - ${CMAKE_CURRENT_SOURCE_DIR}/include/mmvec.hpp - ${CMAKE_CURRENT_SOURCE_DIR}/include/mm + ${CMAKE_CURRENT_SOURCE_DIR}/include/mm/mmvec.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/include/mm/mm.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mm ) diff --git a/include/mm b/include/mm/mm.hpp index 7e9f02b..7e9f02b 100644 --- a/include/mm +++ b/include/mm/mm.hpp diff --git a/include/mmvec.hpp b/include/mm/mmvec.hpp index 1939388..1939388 100644 --- a/include/mmvec.hpp +++ b/include/mm/mmvec.hpp @@ -1 +1 @@ -#include "mmvec.hpp" +#include "mm/mmvec.hpp" diff --git a/test/vec_example.cpp b/test/vec_example.cpp index 3a00f58..14b9680 100644 --- a/test/vec_example.cpp +++ b/test/vec_example.cpp @@ -1,4 +1,4 @@ -#include "mmvec.hpp" +#include "mm/mmvec.hpp" #include <iostream> #include <complex> |