aboutsummaryrefslogtreecommitdiffstats
path: root/dev/a5-artrender/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev/a5-artrender/config.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev/a5-artrender/config.h.in b/dev/a5-artrender/config.h.in
new file mode 100644
index 0000000..2bdb8c2
--- /dev/null
+++ b/dev/a5-artrender/config.h.in
@@ -0,0 +1,15 @@
+/** CSci-4611 Assignment 5: Art Render
+*/
+
+
+// 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@"
+
+#define SHADERS_DIR_BUILD "@SHADERS_DIR_BUILD@"
+#define SHADERS_DIR_INSTALL "@SHADERS_DIR_INSTALL@"