aboutsummaryrefslogtreecommitdiffstats
path: root/dev/a6-harold/config.h.in
diff options
context:
space:
mode:
authorKiet Tran <kietatr@gmail.com>2021-11-29 13:36:54 -0600
committerKiet Tran <kietatr@gmail.com>2021-11-29 13:36:54 -0600
commit3e757dbc71682972899a48651710c5d8280c3cee (patch)
treed0c5ebba6dbad61920e07b2eae5843c1a2a2766d /dev/a6-harold/config.h.in
parentUpdate artrender_app.cc (diff)
downloadcsci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar.gz
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar.bz2
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar.lz
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar.xz
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.tar.zst
csci4611-3e757dbc71682972899a48651710c5d8280c3cee.zip
Publish A6
Diffstat (limited to 'dev/a6-harold/config.h.in')
-rw-r--r--dev/a6-harold/config.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev/a6-harold/config.h.in b/dev/a6-harold/config.h.in
new file mode 100644
index 0000000..9798f4c
--- /dev/null
+++ b/dev/a6-harold/config.h.in
@@ -0,0 +1,15 @@
+/** CSci-4611 Assignment 6: Harold
+ */
+
+
+// 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@"