aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
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