Make codebase consistent with design.md
This commit is contained in:
@@ -78,8 +78,10 @@ find_package(weaseljson REQUIRED)
|
||||
find_program(GPERF_EXECUTABLE gperf REQUIRED)
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_BINARY_DIR}/json_tokens.cpp
|
||||
COMMAND ${GPERF_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/json_tokens.gperf >
|
||||
${CMAKE_BINARY_DIR}/json_tokens.cpp
|
||||
COMMAND
|
||||
${GPERF_EXECUTABLE} --class-name=PerfectHash
|
||||
${CMAKE_SOURCE_DIR}/src/json_tokens.gperf >
|
||||
${CMAKE_BINARY_DIR}/json_tokens.cpp
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/src/json_tokens.gperf
|
||||
COMMENT "Generating JSON token hash table with gperf")
|
||||
add_custom_target(generate_json_tokens
|
||||
|
||||
Reference in New Issue
Block a user