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

Contents of /navit/cmake/navit_xml_parser.cmake

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (8 years, 9 months ago) by zoff99
File size: 291 byte(s)
import files
1 file(STRINGS "${SRC}" TEXT_LINES REGEX "_\\(")
2 file(WRITE ${DST} "// Strings from navit_shipped.xml\n")
3
4 foreach (LINE ${TEXT_LINES})
5 message(STATUS ${LINE})
6 string(REGEX REPLACE ".*(_\\(\"[^\"]*\"\\)).*" "\\1\n" OUTPUT_LINE ${LINE})
7 file(APPEND ${DST} ${OUTPUT_LINE})
8 endforeach()

   
Visit the ZANavi Wiki