@@ -535,13 +535,43 @@ set_property(TARGET osrm-contract PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE)
535
535
set_property (TARGET osrm-datastore PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE )
536
536
set_property (TARGET osrm-routed PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE )
537
537
538
+ file (GLOB FlatbuffersGlob third_party/flatbuffers/include/flatbuffers/*.h )
539
+ file (GLOB LibraryGlob include /osrm/*.hpp )
540
+ file (GLOB ParametersGlob include /engine/api/*_parameters.hpp )
541
+ set (ApiHeader include /engine/api/base_result.hpp )
542
+ set (EngineHeader include /engine/status.hpp include /engine/engine_config.hpp include /engine/hint.hpp include /engine/bearing.hpp include /engine/approach.hpp include /engine/phantom_node.hpp )
543
+ set (UtilHeader include /util/coordinate.hpp include /util/json_container.hpp include /util/typedefs.hpp include /util/alias.hpp include /util/exception.hpp include /util/bearing.hpp )
544
+ set (ExtractorHeader include /extractor/extractor.hpp include /storage/io_config.hpp include /extractor/extractor_config.hpp include /extractor/travel_mode.hpp )
545
+ set (PartitionerHeader include /partitioner/partitioner.hpp include /partitioner/partitioner_config.hpp )
546
+ set (ContractorHeader include /contractor/contractor.hpp include /contractor/contractor_config.hpp )
547
+ set (StorageHeader include /storage/storage.hpp include /storage/io_config.hpp include /storage/storage_config.hpp )
548
+ install (FILES ${EngineHeader} DESTINATION include /osrm/engine )
549
+ install (FILES ${UtilHeader} DESTINATION include /osrm/util )
550
+ install (FILES ${StorageHeader} DESTINATION include /osrm/storage )
551
+ install (FILES ${ExtractorHeader} DESTINATION include /osrm/extractor )
552
+ install (FILES ${PartitionerHeader} DESTINATION include /osrm/partitioner )
553
+ install (FILES ${ContractorHeader} DESTINATION include /osrm/contractor )
554
+ install (FILES ${LibraryGlob} DESTINATION include /osrm )
555
+ install (FILES ${ParametersGlob} DESTINATION include /osrm/engine/api )
556
+ install (FILES ${ApiHeader} DESTINATION include /osrm/engine/api )
557
+ install (FILES ${FlatbuffersGlob} DESTINATION include /flatbuffers )
558
+
538
559
install (TARGETS osrm-extract DESTINATION bin )
539
560
install (TARGETS osrm-partition DESTINATION bin )
540
561
install (TARGETS osrm-customize DESTINATION bin )
541
562
install (TARGETS osrm-contract DESTINATION bin )
542
563
install (TARGETS osrm-datastore DESTINATION bin )
543
564
install (TARGETS osrm-routed DESTINATION bin )
544
565
566
+ install (TARGETS osrm DESTINATION lib )
567
+ install (TARGETS osrm_extract DESTINATION lib )
568
+ install (TARGETS osrm_partition DESTINATION lib )
569
+ install (TARGETS osrm_customize DESTINATION lib )
570
+ install (TARGETS osrm_update DESTINATION lib )
571
+ install (TARGETS osrm_contract DESTINATION lib )
572
+ install (TARGETS osrm_store DESTINATION lib )
573
+ install (TARGETS osrm_guidance DESTINATION lib )
574
+
545
575
# Install profiles and support library to /usr/local/share/osrm/profiles by default
546
576
set (DefaultProfilesDir profiles )
547
577
install (DIRECTORY ${DefaultProfilesDir} DESTINATION share/osrm )
0 commit comments