summaryrefslogtreecommitdiffstats
path: root/dev/a5-artrender/config.h.in
diff options
context:
space:
mode:
authorJessie Speert <speer034@umn.edu>2021-03-22 16:20:26 -0700
committerJessie Speert <speer034@umn.edu>2021-03-22 16:20:26 -0700
commit0ee4d84638c3f21efeecc4075229af101f2ea3d6 (patch)
treee8e2c33500e5755e6414bb7cc558ae6872ba20c5 /dev/a5-artrender/config.h.in
parentUpdate vector3.cc (diff)
downloadcsci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar.gz
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar.bz2
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar.lz
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar.xz
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.tar.zst
csci4611-0ee4d84638c3f21efeecc4075229af101f2ea3d6.zip
Uploading Assignment 5 (and worksheet)
Diffstat (limited to 'dev/a5-artrender/config.h.in')
-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@"