Added files necessary for Windows compilation with Visual Studio 2008
This commit is contained in:
parent
e603a41fb6
commit
0ec648217a
189
getopt.h
Normal file
189
getopt.h
Normal file
@ -0,0 +1,189 @@
|
||||
#ifdef _WIN32
|
||||
/* getopt.h */
|
||||
/* Declarations for getopt.
|
||||
Copyright (C) 1989-1994, 1996-1999, 2001 Free Software
|
||||
Foundation, Inc. This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute
|
||||
it and/or modify it under the terms of the GNU Lesser
|
||||
General Public License as published by the Free Software
|
||||
Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will
|
||||
be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||
License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General
|
||||
Public License along with the GNU C Library; if not, write
|
||||
to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
Suite 330, Boston, MA 02111-1307 USA. */
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef _GETOPT_H
|
||||
|
||||
#ifndef __need_getopt
|
||||
# define _GETOPT_H 1
|
||||
#endif
|
||||
|
||||
/* If __GNU_LIBRARY__ is not already defined, either we are being used
|
||||
standalone, or this is the first header included in the source file.
|
||||
If we are being used with glibc, we need to include <features.h>, but
|
||||
that does not exist if we are standalone. So: if __GNU_LIBRARY__ is
|
||||
not defined, include <ctype.h>, which will pull in <features.h> for us
|
||||
if it's from glibc. (Why ctype.h? It's guaranteed to exist and it
|
||||
doesn't flood the namespace with stuff the way some other headers do.) */
|
||||
#if !defined __GNU_LIBRARY__
|
||||
# include <ctype.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* For communication from `getopt' to the caller.
|
||||
When `getopt' finds an option that takes an argument,
|
||||
the argument value is returned here.
|
||||
Also, when `ordering' is RETURN_IN_ORDER,
|
||||
each non-option ARGV-element is returned here. */
|
||||
|
||||
extern char *optarg;
|
||||
|
||||
/* Index in ARGV of the next element to be scanned.
|
||||
This is used for communication to and from the caller
|
||||
and for communication between successive calls to `getopt'.
|
||||
|
||||
On entry to `getopt', zero means this is the first call; initialize.
|
||||
|
||||
When `getopt' returns -1, this is the index of the first of the
|
||||
non-option elements that the caller should itself scan.
|
||||
|
||||
Otherwise, `optind' communicates from one call to the next
|
||||
how much of ARGV has been scanned so far. */
|
||||
|
||||
extern int optind;
|
||||
|
||||
/* Callers store zero here to inhibit the error message `getopt' prints
|
||||
for unrecognized options. */
|
||||
|
||||
extern int opterr;
|
||||
|
||||
/* Set to an option character which was unrecognized. */
|
||||
|
||||
extern int optopt;
|
||||
|
||||
#ifndef __need_getopt
|
||||
/* Describe the long-named options requested by the application.
|
||||
The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector
|
||||
of `struct option' terminated by an element containing a name which is
|
||||
zero.
|
||||
|
||||
The field `has_arg' is:
|
||||
no_argument (or 0) if the option does not take an argument,
|
||||
required_argument (or 1) if the option requires an argument,
|
||||
optional_argument (or 2) if the option takes an optional argument.
|
||||
|
||||
If the field `flag' is not NULL, it points to a variable that is set
|
||||
to the value given in the field `val' when the option is found, but
|
||||
left unchanged if the option is not found.
|
||||
|
||||
To have a long-named option do something other than set an `int' to
|
||||
a compiled-in constant, such as set a value from `optarg', set the
|
||||
option's `flag' field to zero and its `val' field to a nonzero
|
||||
value (the equivalent single-letter option character, if there is
|
||||
one). For long options that have a zero `flag' field, `getopt'
|
||||
returns the contents of the `val' field. */
|
||||
|
||||
struct option
|
||||
{
|
||||
# if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||
const char *name;
|
||||
# else
|
||||
char *name;
|
||||
# endif
|
||||
/* has_arg can't be an enum because some compilers complain about
|
||||
type mismatches in all the code that assumes it is an int. */
|
||||
int has_arg;
|
||||
int *flag;
|
||||
int val;
|
||||
};
|
||||
|
||||
/* Names for the values of the `has_arg' field of `struct option'. */
|
||||
|
||||
# define no_argument 0
|
||||
# define required_argument 1
|
||||
# define optional_argument 2
|
||||
#endif /* need getopt */
|
||||
|
||||
|
||||
/* Get definitions and prototypes for functions to process the
|
||||
arguments in ARGV (ARGC of them, minus the program name) for
|
||||
options given in OPTS.
|
||||
|
||||
Return the option character from OPTS just read. Return -1 when
|
||||
there are no more options. For unrecognized options, or options
|
||||
missing arguments, `optopt' is set to the option letter, and '?' is
|
||||
returned.
|
||||
|
||||
The OPTS string is a list of characters which are recognized option
|
||||
letters, optionally followed by colons, specifying that that letter
|
||||
takes an argument, to be placed in `optarg'.
|
||||
|
||||
If a letter in OPTS is followed by two colons, its argument is
|
||||
optional. This behavior is specific to the GNU `getopt'.
|
||||
|
||||
The argument `--' causes premature termination of argument
|
||||
scanning, explicitly telling `getopt' that there are no more
|
||||
options.
|
||||
|
||||
If OPTS begins with `--', then non-option arguments are treated as
|
||||
arguments to the option '\0'. This behavior is specific to the GNU
|
||||
`getopt'. */
|
||||
|
||||
#if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||
# ifdef __GNU_LIBRARY__
|
||||
/* Many other libraries have conflicting prototypes for getopt, with
|
||||
differences in the consts, in stdlib.h. To avoid compilation
|
||||
errors, only prototype getopt for the GNU C library. */
|
||||
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
|
||||
# else /* not __GNU_LIBRARY__ */
|
||||
extern int getopt ();
|
||||
# endif /* __GNU_LIBRARY__ */
|
||||
|
||||
# ifndef __need_getopt
|
||||
extern int getopt_long (int ___argc, char *const *___argv,
|
||||
const char *__shortopts,
|
||||
const struct option *__longopts, int *__longind);
|
||||
extern int getopt_long_only (int ___argc, char *const *___argv,
|
||||
const char *__shortopts,
|
||||
const struct option *__longopts, int *__longind);
|
||||
|
||||
/* Internal only. Users should not call this directly. */
|
||||
extern int _getopt_internal (int ___argc, char *const *___argv,
|
||||
const char *__shortopts,
|
||||
const struct option *__longopts, int *__longind,
|
||||
int __long_only);
|
||||
# endif
|
||||
#else /* not __STDC__ */
|
||||
extern int getopt ();
|
||||
# ifndef __need_getopt
|
||||
extern int getopt_long ();
|
||||
extern int getopt_long_only ();
|
||||
|
||||
extern int _getopt_internal ();
|
||||
# endif
|
||||
#endif /* __STDC__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Make sure we later can get all the definitions and declarations. */
|
||||
#undef __need_getopt
|
||||
|
||||
#endif /* getopt.h */
|
||||
#endif
|
30
unistd.h
Normal file
30
unistd.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef _WIN32
|
||||
#ifndef _UNISTD_H
|
||||
#define _UNISTD_H 1
|
||||
|
||||
/* This file intended to serve as a drop-in replacement for
|
||||
* unistd.h on Windows
|
||||
* Please add functionality as neeeded
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <io.h>
|
||||
#include <getopt.h> /* getopt from: http://www.pwilson.net/sample.html. */
|
||||
|
||||
#define srandom srand
|
||||
#define random rand
|
||||
|
||||
const int W_OK = 2;
|
||||
const int R_OK = 4;
|
||||
|
||||
#define access _access
|
||||
#define ftruncate _chsize
|
||||
|
||||
#define ssize_t int
|
||||
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
|
||||
#endif /* unistd.h */
|
||||
#endif
|
459
vcprojects/createHierarchy.vcproj
Normal file
459
vcprojects/createHierarchy.vcproj
Normal file
@ -0,0 +1,459 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="createHierarchy"
|
||||
ProjectGUID="{38C3EEAC-032B-4BEA-BECB-C694A47AA7E2}"
|
||||
RootNamespace="createHierarchy"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin-debug"
|
||||
IntermediateDirectory="$(SolutionDir)..\bin-debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlibd.lib libprotobuf-debug.lib libstxxl-debug.lib"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\contractor.ini" "$(OutDir)\" /f /y"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin"
|
||||
IntermediateDirectory="(SolutionDir)..\bin"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlib.lib libprotobuf.lib libstxxl.lib"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\contractor.ini" "$(OutDir)\" /f /y"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\createHierarchy.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\getopt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\typedefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\unistd.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="Contractor"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Contractor\ContractionCleanup.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Contractor\Contractor.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="DataStructures"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BaseParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BinaryHeap.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\DynamicGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorCallBacks.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorStructs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\GridEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\HashTable.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ImportEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\InputReaderFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LevelInformation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LRUCache.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NNGrid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeCoords.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeInformationHelpDesk.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PBFParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Percent.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PhantomNodes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PolylineCompressor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\SearchEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticKDTree.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Util.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\XMLParser.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Plugins"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Plugins\BaseDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\BasePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\GPXDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\HelloWorldPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\JSONDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\KMLDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\LocatePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\NearestPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ObjectForPluginStruct.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\PluginMapFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RawRouteData.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RouteParameters.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ViaRoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Server"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Server\BasicDatastructures.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Connection.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestHandler.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Server.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerFactory.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Util"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Util\BaseConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\GraphLoader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\InputFileUtil.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\LinuxStackTrace.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\MachineInfo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\StringUtil.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\fileformat.proto"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\osmformat.proto"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
528
vcprojects/extractor.vcproj
Normal file
528
vcprojects/extractor.vcproj
Normal file
@ -0,0 +1,528 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="extractor"
|
||||
ProjectGUID="{F630F025-637A-43DF-9258-2860AE9E6740}"
|
||||
RootNamespace="extractor"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin-debug"
|
||||
IntermediateDirectory="$(SolutionDir)..\bin-debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlibd.lib libprotobuf-debug.lib libstxxl-debug.lib"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\.stxxl" "$(OutDir)\" /f /y
xcopy "$(SolutionDir)..\extractor.ini" "$(OutDir)\" /f /y
xcopy "$(SolutionDir)..\speedprofile.ini" "$(OutDir)\" /f /y
xcopy "$(Bzip2Path)\bin\libbz2.dll" "$(OutDir)\" /f /y
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin"
|
||||
IntermediateDirectory="$(SolutionDir)..\bin"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlib.lib libprotobuf.lib libstxxl.lib"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\.stxxl" "$(OutDir)\" /f /y
xcopy "$(SolutionDir)..\extractor.ini" "$(OutDir)\" /f /y
xcopy "$(Bzip2Path)\bin\libbz2.dll" "$(OutDir)\" /f /y
"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\extractor.cpp"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="DataStructures"
|
||||
>
|
||||
<Filter
|
||||
Name="pbf-proto"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\fileformat.pb.cc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\osmformat.pb.cc"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\getopt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\typedefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\unistd.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="Contractor"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Contractor\ContractionCleanup.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Contractor\Contractor.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="DataStructures"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BaseParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BinaryHeap.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\DynamicGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorCallBacks.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorStructs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\GridEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\HashTable.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ImportEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\InputReaderFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LevelInformation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LRUCache.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NNGrid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeCoords.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeInformationHelpDesk.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PBFParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Percent.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PhantomNodes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PolylineCompressor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\SearchEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticKDTree.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Util.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\XMLParser.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="pbf-proto"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\fileformat.pb.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\osmformat.pb.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Plugins"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Plugins\BaseDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\BasePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\GPXDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\HelloWorldPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\JSONDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\KMLDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\LocatePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\NearestPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ObjectForPluginStruct.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\PluginMapFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RawRouteData.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RouteParameters.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ViaRoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Server"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Server\BasicDatastructures.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Connection.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestHandler.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Server.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerFactory.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Util"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Util\BaseConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\GraphLoader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\InputFileUtil.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\LinuxStackTrace.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\MachineInfo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\StringUtil.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\fileformat.proto"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
Description="Generating fileformat.pb.{h,cc}..."
|
||||
CommandLine=""$(ProtobufPath)/bin/protoc" -I"$(SolutionDir).." --cpp_out=.. "$(SolutionDir)../DataStructures/pbf-proto/fileformat.proto"
"
|
||||
Outputs=""$(SolutionDir)../DataStructures/pbf-proto/fileformat.pb.h";"$(SolutionDir)../DataStructures/pbf-proto/fileformat.pb.cc""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
Description="Generating fileformat.pb.{h,cc}..."
|
||||
CommandLine=""$(ProtobufPath)/bin/protoc" -I"$(SolutionDir).." --cpp_out=.. "$(SolutionDir)../DataStructures/pbf-proto/fileformat.proto"
"
|
||||
Outputs=""$(SolutionDir)../DataStructures/pbf-proto/fileformat.pb.h";"$(SolutionDir)../DataStructures/pbf-proto/fileformat.pb.cc""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\osmformat.proto"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
Description="Generating osmformat.pb.{h,cc}..."
|
||||
CommandLine=""$(ProtobufPath)/bin/protoc" -I"$(SolutionDir).." --cpp_out=.. "$(SolutionDir)../DataStructures/pbf-proto/osmformat.proto"
"
|
||||
Outputs=""$(SolutionDir)../DataStructures/pbf-proto/osmformat.pb.h";"$(SolutionDir)../DataStructures/pbf-proto/osmformat.pb.cc""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
Description="Generating osmformat.pb.{h,cc}..."
|
||||
CommandLine=""$(ProtobufPath)/bin/protoc" -I"$(SolutionDir).." --cpp_out=.. "$(SolutionDir)../DataStructures/pbf-proto/osmformat.proto"
"
|
||||
Outputs=""$(SolutionDir)../DataStructures/pbf-proto/osmformat.pb.h";"$(SolutionDir)../DataStructures/pbf-proto/osmformat.pb.cc""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
29
vcprojects/osrm.sln
Normal file
29
vcprojects/osrm.sln
Normal file
@ -0,0 +1,29 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "extractor", "extractor.vcproj", "{F630F025-637A-43DF-9258-2860AE9E6740}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "createHierarchy", "createHierarchy.vcproj", "{38C3EEAC-032B-4BEA-BECB-C694A47AA7E2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "routed", "routed.vcproj", "{675D419D-E442-4A21-9030-B54B4C09439A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F630F025-637A-43DF-9258-2860AE9E6740}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F630F025-637A-43DF-9258-2860AE9E6740}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F630F025-637A-43DF-9258-2860AE9E6740}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{F630F025-637A-43DF-9258-2860AE9E6740}.Release|Win32.Build.0 = Release|Win32
|
||||
{38C3EEAC-032B-4BEA-BECB-C694A47AA7E2}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{38C3EEAC-032B-4BEA-BECB-C694A47AA7E2}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{38C3EEAC-032B-4BEA-BECB-C694A47AA7E2}.Release|Win32.Build.0 = Release|Win32
|
||||
{675D419D-E442-4A21-9030-B54B4C09439A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{675D419D-E442-4A21-9030-B54B4C09439A}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{675D419D-E442-4A21-9030-B54B4C09439A}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
39
vcprojects/osrm.vsprops
Normal file
39
vcprojects/osrm.vsprops
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="osrm"
|
||||
>
|
||||
<UserMacro
|
||||
Name="BoostPath"
|
||||
Value="$(SolutionDir)..\lib\boost_1_47\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="Bzip2Path"
|
||||
Value="$(SolutionDir)..\lib\bzip2-1.0.6\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="IconvPath"
|
||||
Value="$(SolutionDir)..\lib\iconv-1.9.2.win32\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="LibXml2Path"
|
||||
Value="$(SolutionDir)..\lib\libxml2-2.7.8.win32\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="ProtobufPath"
|
||||
Value="$(SolutionDir)..\lib\protobuf-2.4.1\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="SparsehashPath"
|
||||
Value="$(SolutionDir)..\lib\sparsehash-1.11\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="StxxlPath"
|
||||
Value="$(SolutionDir)..\lib\stxxl-1.3.1\"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="ZlibPath"
|
||||
Value="$(SolutionDir)..\lib\zlib-1.2.5\"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
459
vcprojects/routed.vcproj
Normal file
459
vcprojects/routed.vcproj
Normal file
@ -0,0 +1,459 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="routed"
|
||||
ProjectGUID="{675D419D-E442-4A21-9030-B54B4C09439A}"
|
||||
RootNamespace="routed"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin-debug"
|
||||
IntermediateDirectory="$(SolutionDir)..\bin-debug"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="4"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlibd.lib libprotobuf-debug.lib libstxxl-debug.lib"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\server.ini" "$(OutDir)\" /f /y"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)..\bin"
|
||||
IntermediateDirectory="$(SolutionDir)..\bin"
|
||||
ConfigurationType="1"
|
||||
InheritedPropertySheets=".\osrm.vsprops"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalOptions="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_RTLDLL -DBOOST_LIB_DIAGNOSTIC -DSTXXL_BOOST_TIMESTAMP -DSTXXL_BOOST_CONFIG -DSTXXL_BOOST_FILESYSTEM -DSTXXL_BOOST_THREADS -DSTXXL_BOOST_RANDOM /EHsc /EHs /wd4820 /wd4217 /wd4668 /wd4619 /wd4625 /wd4626 /wd4355 /wd4996 -D_SCL_SECURE_NO_DEPRECATE /F 16777216 /nologo "
|
||||
Optimization="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
AdditionalIncludeDirectories=""$(BoostPath)";"$(StxxlPath)\include";"$(LibXml2Path)\include";"$(IconvPath)\include";"$(SparsehashPath)\src\";"$(SparsehashPath)\src\windows";"$(Bzip2Path)\include";"$(ZlibPath)\include";..\;"$(ProtobufPath)\include""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
OpenMP="true"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/STACK:16777216 /NOLOGO /OPT:REF"
|
||||
AdditionalDependencies="libbz2.lib libxml2.lib zlib.lib libprotobuf.lib libstxxl.lib"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(BoostPath)\lib";"$(StxxlPath)\lib";"$(LibXml2Path)\lib";"$(IconvPath)\lib";"$(Bzip2Path)\lib";"$(ZlibPath)\lib";"$(ProtobufPath)\lib""
|
||||
GenerateDebugInformation="false"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
RandomizedBaseAddress="1"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\server.ini" "$(OutDir)\" /f /y"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\routed.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\getopt.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\typedefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\unistd.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="Contractor"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Contractor\ContractionCleanup.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Contractor\Contractor.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="DataStructures"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BaseParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\BinaryHeap.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\DynamicGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorCallBacks.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ExtractorStructs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\GridEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\HashTable.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\ImportEdge.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\InputReaderFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LevelInformation.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\LRUCache.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NNGrid.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeCoords.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\NodeInformationHelpDesk.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PBFParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Percent.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PhantomNodes.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\PolylineCompressor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\SearchEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticGraph.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\StaticKDTree.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\Util.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\XMLParser.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Plugins"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Plugins\BaseDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\BasePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\GPXDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\HelloWorldPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\JSONDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\KMLDescriptor.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\LocatePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\NearestPlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ObjectForPluginStruct.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\PluginMapFactory.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RawRouteData.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RouteParameters.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\RoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Plugins\ViaRoutePlugin.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Server"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Server\BasicDatastructures.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Connection.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestHandler.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\RequestParser.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\Server.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Server\ServerFactory.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Util"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\Util\BaseConfiguration.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\GraphLoader.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\InputFileUtil.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\LinuxStackTrace.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\MachineInfo.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Util\StringUtil.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\fileformat.proto"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\DataStructures\pbf-proto\osmformat.proto"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
Loading…
Reference in New Issue
Block a user