aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-01-17 15:54:49 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-01-17 16:10:12 +0100
commit7cb6fcdaff2237cd24cf22fbc739192704838b6d (patch)
treecedd22bc2e220d69212b06683b12025dc3814e1e /config.h.in
parent77509ceb56d430d949a89f2fc25aaded414193a8 (diff)
downloadponymap-7cb6fcdaff2237cd24cf22fbc739192704838b6d.tar.gz
ponymap-7cb6fcdaff2237cd24cf22fbc739192704838b6d.tar.xz
ponymap-7cb6fcdaff2237cd24cf22fbc739192704838b6d.zip
Rewrite to use CMake
Now the project is at least installable. Added a LICENSE file. Likely about to implement Lua plugins.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
new file mode 100644
index 0000000..6c3bbfe
--- /dev/null
+++ b/config.h.in
@@ -0,0 +1,10 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#define PROGRAM_NAME "${CMAKE_PROJECT_NAME}"
+#define PROGRAM_VERSION "${project_VERSION}"
+
+#cmakedefine WITH_LUA
+#define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${plugin_dir}"
+
+#endif // ! CONFIG_H