aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-08 02:13:57 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-08 06:07:04 +0100
commit4598c45d2f0279a2003fdab361685f8cba4eb38a (patch)
tree8a138385eebf857f433ac9861af9f2cbee1feb97 /config.h.in
parent66c77c3f8d77019f53675ab392eb26c20b39f457 (diff)
downloadnncmpp-4598c45d2f0279a2003fdab361685f8cba4eb38a.tar.gz
nncmpp-4598c45d2f0279a2003fdab361685f8cba4eb38a.tar.xz
nncmpp-4598c45d2f0279a2003fdab361685f8cba4eb38a.zip
Generate actions from a text file
Mostly because I wanted to nest preprocessing. This makes the build more complex and slightly less portable, but the code itself is much cleaner.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index 14c3759..d0ab65d 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,12 +1,11 @@
#ifndef CONFIG_H
#define CONFIG_H
-#define PROGRAM_NAME "${CMAKE_PROJECT_NAME}"
+#define PROGRAM_NAME "${PROJECT_NAME}"
#define PROGRAM_VERSION "${PROJECT_VERSION}"
#cmakedefine HAVE_RESIZETERM
#cmakedefine WITH_FFTW
#cmakedefine WITH_PULSE
-#endif // ! CONFIG_H
-
+#endif /* ! CONFIG_H */