pgRouting

Changeset 37

Show
Ignore:
Timestamp:
10/02/07 16:55:51 (1 year ago)
Author:
anton
Message:

Cmake files fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/1.0RC1/CMakeLists.txt

    r36 r37  
    1818 
    1919EXEC_PROGRAM(pg_config 
    20  ARGS --libdir 
     20 ARGS --pkglibdir 
    2121 OUTPUT_VARIABLE LIB_DIR) 
    2222 
  • tags/1.0RC1/core/CMakeLists.txt

    r30 r37  
    1 # Recurse into the "Hello" and "Demo" subdirectories.  This does not actually 
    2 # cause another cmake executable to run.  The same process will walk through 
    3 # the project's entire directory structure. 
    41SUBDIRS(src) 
  • tags/1.0RC1/core/sql/routing_core.sql

    r30 r37  
    2929        target_id integer, directed boolean, has_reverse_cost boolean) 
    3030        RETURNS SETOF path_result 
    31         AS '$libdir/routing' 
     31        AS '$libdir/librouting' 
    3232        LANGUAGE 'C' IMMUTABLE STRICT; 
    3333 
     
    4040        target_id integer,directed boolean, has_reverse_cost boolean) 
    4141         RETURNS SETOF path_result 
    42          AS '$libdir/routing' 
     42         AS '$libdir/librouting' 
    4343         LANGUAGE 'C' IMMUTABLE STRICT;  
    4444 
     
    5050        target_id integer,directed boolean, has_reverse_cost boolean) 
    5151         RETURNS SETOF path_result 
    52          AS '$libdir/routing' 
     52         AS '$libdir/librouting' 
    5353         LANGUAGE 'C' IMMUTABLE STRICT;  
    5454 
  • tags/1.0RC1/core/src/CMakeLists.txt

    r30 r37  
    1 #Then for each subdirectory listed in the SUBDIRS command, 
    2 # CMakeLists.txt files are created. In the ./Hello directory, the 
    3 # following CMakeLists.txt file is created: 
    4  
    5 # Create a library called "Hello" which includes the source file "hello.cxx". 
    6 # Any number of sources could be listed here. 
    7 ADD_LIBRARY(routing SHARED boost_wrapper.cpp astar_boost_wrapper.cpp shooting_star_boost_wrapper.cpp) 
     1ADD_LIBRARY(routing SHARED dijkstra.c astar.c shooting_star.c boost_wrapper.cpp astar_boost_wrapper.cpp shooting_star_boost_wrapper.cpp) 
    82 
    93 
  • tags/1.0RC1/extra/driving_distance/src/alpha.c

    r30 r37  
    3939*/ 
    4040#define MAX_NODES 1000000 
     41 
     42#ifdef PG_MODULE_MAGIC 
     43PG_MODULE_MAGIC; 
     44#endif 
    4145 
    4246struct timeval prof_alpha, prof_store, prof_extract, prof_total;