/[zanavi_public1]/navit/navit/map/garmin/CMakeLists.txt
ZANavi

Contents of /navit/navit/map/garmin/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 28 21:19:04 2011 UTC (12 years, 5 months ago) by zoff99
File MIME type: text/plain
File size: 449 byte(s)
import files
1 add_executable(gentypes gentypes.c)
2
3 # add the command to generate the source code
4 add_custom_command (
5 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/g2nbuiltin.h
6 COMMAND gentypes ${CMAKE_CURRENT_SOURCE_DIR}/garmintypes.txt ${CMAKE_CURRENT_BINARY_DIR}/g2nbuiltin.h
7 DEPENDS gentypes
8 )
9
10 module_add_library(map_garmin garmin.c gar2navit.c g2nbuiltin.h)
11 set_property(
12 TARGET map_garmin
13 APPEND PROPERTY COMPILE_FLAGS "-I${CMAKE_CURRENT_BINARY_DIR}"
14 )

   
Visit the ZANavi Wiki