From ff53b00f288ee9b441036fb200c624bad9b77a57 Mon Sep 17 00:00:00 2001 From: MoAlyousef Date: Sat, 12 Sep 2020 17:08:05 +0300 Subject: [PATCH] add include --- CMakeLists.txt | 1 + README.md | 2 +- cmake.toml | 2 +- {src => include}/args.h | 0 {src => include}/build.h | 0 {src => include}/cmake.hpp | 0 {src => include}/error.h | 0 {src => include}/gen.h | 0 {src => include}/help.h | 0 {src => include}/literals.h | 0 10 files changed, 3 insertions(+), 2 deletions(-) rename {src => include}/args.h (100%) rename {src => include}/build.h (100%) rename {src => include}/cmake.hpp (100%) rename {src => include}/error.h (100%) rename {src => include}/gen.h (100%) rename {src => include}/help.h (100%) rename {src => include}/literals.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b9d0a3..d8b705a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ set(CMKRLIB_SOURCES add_library(cmkrlib STATIC ${CMKRLIB_SOURCES}) target_include_directories(cmkrlib PUBLIC + include vendor ) diff --git a/README.md b/README.md index 13193dd..0b4b477 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ version = "0.1.0" name = "cmkrlib" type = "static" sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"] -include-dirs = ["vendor"] +include-dirs = ["include", "vendor"] features = ["cxx_std_17"] [[bin]] diff --git a/cmake.toml b/cmake.toml index 0602dd5..16f0b85 100644 --- a/cmake.toml +++ b/cmake.toml @@ -9,7 +9,7 @@ version = "0.1.0" name = "cmkrlib" type = "static" sources = ["src/cmake.cpp", "src/gen.cpp", "src/help.cpp", "src/build.cpp", "src/error.cpp"] -include-dirs = ["vendor"] +include-dirs = ["include", "vendor"] features = ["cxx_std_17"] [[bin]] diff --git a/src/args.h b/include/args.h similarity index 100% rename from src/args.h rename to include/args.h diff --git a/src/build.h b/include/build.h similarity index 100% rename from src/build.h rename to include/build.h diff --git a/src/cmake.hpp b/include/cmake.hpp similarity index 100% rename from src/cmake.hpp rename to include/cmake.hpp diff --git a/src/error.h b/include/error.h similarity index 100% rename from src/error.h rename to include/error.h diff --git a/src/gen.h b/include/gen.h similarity index 100% rename from src/gen.h rename to include/gen.h diff --git a/src/help.h b/include/help.h similarity index 100% rename from src/help.h rename to include/help.h diff --git a/src/literals.h b/include/literals.h similarity index 100% rename from src/literals.h rename to include/literals.h