aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-02-16 05:02:18 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:58 +0200
commitb39bafd7417119c85026b6d4ba417497ed2b225f (patch)
tree03589437afc7aaaac2eaa5f2b3a29f6568ed418e
parent6d3c3132bbc0421c42e587b869984fd39f0b35a2 (diff)
Document $out directory
-rw-r--r--README.md8
-rw-r--r--src/Conf.cpp4
2 files changed, 5 insertions, 7 deletions
diff --git a/README.md b/README.md
index 3a78c10..700f16b 100644
--- a/README.md
+++ b/README.md
@@ -188,11 +188,13 @@ Works like \[define], but these definitions are only used when building static p
Works like \[define], but these definitions are only used when building dynamic project. If a definition with the same exists in \[define], then it's overwritten
## config
### include_dirs
-Optional. A list of directories which should be specified as global include directories when compiling. This means that instead of using relative paths to header files, you can include the directory with headers and then you only have to specify the header name when using #include
+Optional. A list of directories which should be specified as global include directories when compiling. This means that instead of using relative paths to header files, you can include the directory with headers and then you only have to specify the header name when using #include.\
+You can use the `$out` variable to specify the build directory.
### ignore_dirs
-Optional. A list of directories to ignore. This means that if the ignored directory contains source files, then they wont be included in the build
+Optional. A list of directories to ignore. This means that if the ignored directory contains source files, then they wont be included in the build.
### expose_include_dirs
-Optional. A list of directories which contains (header) files which should be exposed to dependencies as directories to include globally. This means that dependencies can include (header) files from the dependency without specifying path to the dependency
+Optional. A list of directories which contains (header) files which should be exposed to dependencies as directories to include globally. This means that dependencies can include (header) files from the dependency without specifying path to the dependency.\
+You can use the `$out` variable to specify the build directory.
### error_on_warning
Optional. This option should be either "true" or "false" and specifies if compiler warnings for the project (and not its dependencies) should work warnings as errors.
Default value is "false".
diff --git a/src/Conf.cpp b/src/Conf.cpp
index eb66b6d..27071a3 100644
--- a/src/Conf.cpp
+++ b/src/Conf.cpp
@@ -552,10 +552,6 @@ namespace sibs
replaceAll(exposeIncludeDir, "$out", outDir);
}
- for(std::string &ignoreDir : config.ignoreDirs) {
- replaceAll(ignoreDir, "$out", outDir);
- }
-
return parseResult;
}