aboutsummaryrefslogtreecommitdiffstats
path: root/dev/texture-demo/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'dev/texture-demo/config.h.in')
-rw-r--r--dev/texture-demo/config.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/texture-demo/config.h.in b/dev/texture-demo/config.h.in
new file mode 100644
index 0000000..16d824b
--- /dev/null
+++ b/dev/texture-demo/config.h.in
@@ -0,0 +1,13 @@
+/** CSci-4611 In-Class Example
+*/
+
+
+// The file config.h.in is processed by cmake to produce config.h. This
+// replaces strings of the form "at"CMAKE_VARIABLE_NAME"at" with the value
+// of the corresponding cmake variable, allowing us to pass directory paths
+// and other information configured with cmake into our C++ code.
+
+
+#define DATA_DIR_BUILD "@DATA_DIR_BUILD@"
+#define DATA_DIR_INSTALL "@DATA_DIR_INSTALL@"
+