From 4598c45d2f0279a2003fdab361685f8cba4eb38a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 8 Nov 2021 02:13:57 +0100 Subject: 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. --- config.h.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config.h.in') 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 */ -- cgit v1.2.3