/[zanavi_public1]/navit/cmake/navit_xml_parser_glade.cmake
ZANavi

Contents of /navit/cmake/navit_xml_parser_glade.cmake

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (hide annotations) (download)
Sun Mar 19 08:44:36 2017 UTC (5 years, 4 months ago) by zoff99
File size: 504 byte(s)
updates
1 zoff99 56 file(READ "${SRC}" OUTPUT_LINES)
2     if (PREFIX)
3     set(OUTPUT_LINES "<html>" "${OUTPUT_LINES}")
4     endif()
5     string(REGEX REPLACE "vehicleprofile" "atkaction" OUTPUT_LINES "${OUTPUT_LINES}")
6     string(REGEX REPLACE "name=" "description=" OUTPUT_LINES "${OUTPUT_LINES}")
7     string(REGEX REPLACE "...CDATA" " " OUTPUT_LINES "${OUTPUT_LINES}")
8     string(REGEX REPLACE "\\]\\]" "" OUTPUT_LINES "${OUTPUT_LINES}")
9     if (SUFFIX)
10     set(OUTPUT_LINES "${OUTPUT_LINES}" "</html>")
11     endif()
12     file(WRITE ${DST} ${OUTPUT_LINES})

   
Visit the ZANavi Wiki