Browse Source

[1704] Add targets to create log_test_messages.{h,cc} from .mes

Mukund Sivaraman 13 years ago
parent
commit
e007ac3e1f

+ 3 - 0
src/lib/log/tests/Makefile.am

@@ -14,6 +14,9 @@ endif
 CLEANFILES = *.gcno *.gcda
 
 EXTRA_DIST = log_test_messages.mes
+BUILT_SOURCES = log_test_messages.h log_test_messages.cc
+log_test_messages.h log_test_messages.cc: log_test_messages.mes
+	$(AM_V_GEN) $(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/log/tests/log_test_messages.mes
 
 noinst_PROGRAMS = logger_example
 logger_example_SOURCES = logger_example.cc

+ 1 - 1
src/lib/log/tests/log_test_messages.cc

@@ -1,4 +1,4 @@
-// File created from log_test_messages.mes on Thu May 24 12:52:20 2012
+// File created from ../../../../src/lib/log/tests/log_test_messages.mes on Mon May 28 11:38:27 2012
 
 #include <cstddef>
 #include <log/message_types.h>

+ 1 - 1
src/lib/log/tests/log_test_messages.h

@@ -1,4 +1,4 @@
-// File created from log_test_messages.mes on Thu May 24 12:52:20 2012
+// File created from ../../../../src/lib/log/tests/log_test_messages.mes on Mon May 28 11:38:27 2012
 
 #ifndef __LOG_TEST_MESSAGES_H
 #define __LOG_TEST_MESSAGES_H