/[zanavi_public1]/navit/navit/maptool/CMakeLists.txt
ZANavi

Contents of /navit/navit/maptool/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (show annotations) (download)
Fri Oct 28 21:39:42 2011 UTC (12 years, 5 months ago) by zoff99
File MIME type: text/plain
File size: 911 byte(s)
import
1
2 if(BUILD_MAPTOOL)
3 add_definitions( -DMODULE=maptool ${NAVIT_COMPILE_FLAGS})
4 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
5 SET(MAPTOOL_SOURCE boundaries.c buffer.c ch.c coastline.c geom.c itembin.c itembin_buffer.c misc.c osm.c sourcesink.c tempfile.c tile.c zip.c osm_xml.c)
6 if(NOT MSVC)
7 SET(MAPTOOL_SOURCE ${MAPTOOL_SOURCE} osm_protobuf.c osm_protobufdb.c generated-code/fileformat.pb-c.c generated-code/osmformat.pb-c.c google/protobuf-c/protobuf-c.c)
8 endif(NOT MSVC)
9 add_library (maptool_core ${MAPTOOL_SOURCE})
10 add_executable (maptool maptool.c)
11 if(NOT MSVC)
12 SET(NAVIT_LIBS ${NAVIT_LIBS} m)
13 endif(NOT MSVC)
14 target_link_libraries(maptool maptool_core ${NAVIT_LIBNAME} ${NAVIT_LIBS})
15
16 install(TARGETS maptool
17 DESTINATION ${BIN_DIR}
18 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
19
20 endif()

   
Visit the ZANavi Wiki