summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-06-02 23:50:33 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-06-08 21:03:58 +0200
commitc05d522a1d840b801c6bdaf635b61a9cd6a991b3 (patch)
tree312c94d8b9d941fe47b878596a444d70d97d3405 /config.h.in
parent2c250916392c36ec107d6b5d19d9485bf115bd9d (diff)
downloadsensei-raw-ctl-c05d522a1d840b801c6bdaf635b61a9cd6a991b3.tar.gz
sensei-raw-ctl-c05d522a1d840b801c6bdaf635b61a9cd6a991b3.tar.xz
sensei-raw-ctl-c05d522a1d840b801c6bdaf635b61a9cd6a991b3.zip
Add a GTK+ GUI
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index d00c838..36afa2c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -4,6 +4,11 @@
#define PROJECT_NAME "${CMAKE_PROJECT_NAME}"
#define PROJECT_VERSION "${project_VERSION}"
-#endif /* ! CONFIG_H */
-
-
+#cmakedefine DEVELOPER_MODE
+#ifdef DEVELOPER_MODE
+ #define PROJECT_INSTALL_BINDIR "${PROJECT_BINARY_DIR}"
+#else // ! DEVELOPER_MODE
+ #define PROJECT_INSTALL_BINDIR "${CMAKE_INSTALL_FULL_BINDIR}"
+#endif // ! DEVELOPER MODE
+
+#endif // ! CONFIG_H