summaryrefslogtreecommitdiff
path: root/etc/mcpu-cpp.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/mcpu-cpp.conf.in')
-rw-r--r--etc/mcpu-cpp.conf.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/etc/mcpu-cpp.conf.in b/etc/mcpu-cpp.conf.in
new file mode 100644
index 0000000..1791a59
--- /dev/null
+++ b/etc/mcpu-cpp.conf.in
@@ -0,0 +1,41 @@
+/*
+ * mcpu-cpp configuration.
+ *
+ * External text is UTF-8. Path values may use $NAME or ${NAME}
+ * references. A missing path is harmless; it is simply skipped when
+ * include files are searched.
+ */
+
+/*
+ * Main user include directory. It is available in every language state.
+ * Switched languages add their own language-specific include directories.
+ * Thus, for example, <diff/a.h> may always be named explicitly through
+ * this common include root.
+ */
+MCPU_CPP_INCLUDE_PATH = $HOME/.mcpu/include;
+MCPU_CPP_DIFF_INCLUDE_PATH = $HOME/.mcpu/include/diff;
+MCPU_CPP_DIFT_INCLUDE_PATH = $HOME/.mcpu/include/dift;
+MCPU_CPP_ALG_INCLUDE_PATH = $HOME/.mcpu/include/alg;
+MCPU_CPP_AS_INCLUDE_PATH = $HOME/.mcpu/include/as;
+MCPU_CPP_AVM_INCLUDE_PATH = $HOME/.mcpu/include/avm;
+MCPU_CPP_ACS_INCLUDE_PATH = $HOME/.mcpu/include/acs;
+
+/*
+ * Effective root of the MCPU system include tree.
+ *
+ * The default is not stored as an absolute installation path in this file.
+ * At run time mcpu-cpp locates its real executable, takes the parent of its
+ * executable directory as the MCPU installation root, and uses
+ * <runtime-root>/include. A higher-priority system or per-user configuration
+ * may replace that root completely by defining MCPU_CPP_SYSTEM_INCLUDE_PATH.
+ * Set an empty value in an override configuration to disable the configured
+ * system tree.
+ *
+ * Example override:
+ * MCPU_CPP_SYSTEM_INCLUDE_PATH = $HOME/mcpu-next/include;
+ */
+/*
+ * General fallback path-list searched after explicit -idirafter directories.
+ * No automatic language subdirectories are added here.
+ */
+MCPU_CPP_AFTER_INCLUDE_PATH = ;