summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-01 20:35:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-01 20:35:53 -0800
commitc8e246efe4777321434fbdbad8a617dd2b8f7340 (patch)
treec414e29c04f090149244518212f4593bbb5ff1dc
parent93ca61996ec714e95fa7c53f71719f1910e3bee3 (diff)
Use `--no-generation-date` with `re2c`.
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 779428d..e0fc66e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,12 +48,14 @@ if (MSVC)
add_custom_command( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/scanners.c
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/scanners.re
COMMAND ${RE2C} --case-insensitive -b -i
+ --no-generation-date
-o ${DOS_CURRENT_SOURCE_DIR}\\scanners.c
${DOS_CURRENT_SOURCE_DIR}\\scanners.re )
else(MSVC)
add_custom_command( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/scanners.c
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/scanners.re
COMMAND ${RE2C} --case-insensitive -b -i
+ --no-generation-date
-o ${CMAKE_CURRENT_SOURCE_DIR}/scanners.c
${CMAKE_CURRENT_SOURCE_DIR}/scanners.re )
endif(MSVC)