file(READ @CMAKE_CURRENT_BINARY_DIR@/grammar.h file_contents)
string(REPLACE "yy" "aag" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/grammar.h "${file_contents}")
file(READ @CMAKE_CURRENT_BINARY_DIR@/grammar.c file_contents)
string(REPLACE "yy" "aag" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/grammar.c "${file_contents}")
file(READ @CMAKE_CURRENT_BINARY_DIR@/htmlparse.h file_contents)
string(REPLACE "yy" "html" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/htmlparse.h "${file_contents}")
file(READ @CMAKE_CURRENT_BINARY_DIR@/htmlparse.c file_contents)
string(REPLACE "yy" "html" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/htmlparse.c "${file_contents}")
file(READ @CMAKE_CURRENT_BINARY_DIR@/gmlparse.h file_contents)
string(REPLACE "yy" "gml" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/gmlparse.h "${file_contents}")
file(READ @CMAKE_CURRENT_BINARY_DIR@/gmlparse.c file_contents)
string(REPLACE "yy" "gml" file_contents "${file_contents}")
-string(REPLACE "unsigned long int" "uint_64_t" file_contents "${file_contents}")
-string(REPLACE "unsigned long" "uint_64_t" file_contents "${file_contents}")
file(WRITE @CMAKE_CURRENT_BINARY_DIR@/gmlparse.c "${file_contents}")
# Modify files generated by Bison and Flex, to match the Autotools build.
# - Replace "yy" with "gml" in all three files
-# - Replace "unsigned long int" with "uint64_t" in gmlparse.h and gmlparse.c
-# - Replace "unsigned long" with "uint64_t" in gmlparse.h and gmlparse.c
configure_file(
"${TOP_SOURCE_DIR}/cmake/modify_gml2gv_gmlparse.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/modify_gml2gv_gmlparse.cmake"
# Modify files generated by Bison and Flex, to match the Autotools build.
# - Replace "yy" with "aag" in all three files
-# - Replace "unsigned long int" with "uint64_t" in grammar.h and grammar.c
-# - Replace "unsigned long" with "uint64_t" in grammar.h and grammar.c
# - Remove declaration of the "isatty()" function from scan.c
configure_file(
"${TOP_SOURCE_DIR}/cmake/modify_cgraph_grammar.cmake.in"
# Modify files generated by Bison, to match the Autotools build.
# - Replace "yy" with "aag"
-# - Replace "unsigned long int" with "uint64_t"
-# - Replace "unsigned long" with "uint64_t"
configure_file(
"${TOP_SOURCE_DIR}/cmake/modify_common_htmlparse.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/modify_common_htmlparse.cmake"