- Commit
- c8e246efe4777321434fbdbad8a617dd2b8f7340
- Parent
- 93ca61996ec714e95fa7c53f71719f1910e3bee3
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Use `--no-generation-date` with `re2c`.
My personal build of CMark ✏️
Use `--no-generation-date` with `re2c`.
1 file changed, 2 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/CMakeLists.txt | 2 | 2 | 0 |
diff --git 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)