diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:38:17 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:38:17 +0300 |
commit | 6cce85b3a34a4a27d678abf0b4c005a38afd1738 (patch) | |
tree | f0c699f6f92b59e7e6613a30c8dd0e3ce3585540 /server/parser | |
parent | update cmake-common (diff) | |
download | math-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.tar.gz math-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.zip |
cmake: no more target_include_directories hacks
Diffstat (limited to '')
-rw-r--r-- | server/parser/CMakeLists.txt | 2 | ||||
-rw-r--r-- | server/parser/error.hpp | 2 | ||||
-rw-r--r-- | server/parser/operator.hpp | 5 | ||||
-rw-r--r-- | server/parser/parser.hpp | 3 |
4 files changed, 7 insertions, 5 deletions
diff --git a/server/parser/CMakeLists.txt b/server/parser/CMakeLists.txt index 20d39a1..a426c6a 100644 --- a/server/parser/CMakeLists.txt +++ b/server/parser/CMakeLists.txt @@ -1,4 +1,4 @@ add_library(parser INTERFACE) -target_include_directories(parser INTERFACE .) +target_include_directories(parser INTERFACE ..) target_link_libraries(parser INTERFACE common lexer) diff --git a/server/parser/error.hpp b/server/parser/error.hpp index 6862a8f..6aea015 100644 --- a/server/parser/error.hpp +++ b/server/parser/error.hpp @@ -5,7 +5,7 @@ #pragma once -#include "../common/error.hpp" +#include <common/error.hpp> #include <string> diff --git a/server/parser/operator.hpp b/server/parser/operator.hpp index 9030c65..b29ae92 100644 --- a/server/parser/operator.hpp +++ b/server/parser/operator.hpp @@ -5,10 +5,11 @@ #pragma once -#include "../lexer/token.hpp" -#include "../lexer/token_type.hpp" #include "error.hpp" +#include <lexer/token.hpp> +#include <lexer/token_type.hpp> + #include <cmath> namespace math::server::parser { diff --git a/server/parser/parser.hpp b/server/parser/parser.hpp index 844b36e..d9ec80d 100644 --- a/server/parser/parser.hpp +++ b/server/parser/parser.hpp @@ -5,10 +5,11 @@ #pragma once -#include "../lexer/lexer.hpp" #include "error.hpp" #include "operator.hpp" +#include <lexer/lexer.hpp> + #include <optional> #include <string_view> |