1
0
Fork 0

add GPC includes only where needed. also add newmat includes

This commit is contained in:
Christian Schmitt 2012-09-02 16:22:12 +02:00
parent d6e7ac6b96
commit 37d07e6526
18 changed files with 31 additions and 11 deletions

View file

@ -123,7 +123,6 @@ include_directories(
${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}
${SIMGEAR_INCLUDE_DIR} ${SIMGEAR_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
) )
include_directories(${PROJECT_SOURCE_DIR}/src) include_directories(${PROJECT_SOURCE_DIR}/src)

View file

@ -1,4 +1,7 @@
include_directories(
${NEWMAT_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
)
add_executable(genapts add_executable(genapts
apt_surface.hxx apt_surface.cxx apt_surface.hxx apt_surface.cxx

View file

@ -1,3 +1,8 @@
include_directories(
${NEWMAT_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
)
add_executable(genapts850 add_executable(genapts850
airport.hxx airport.cxx airport.hxx airport.cxx
apt_math.hxx apt_math.cxx apt_math.hxx apt_math.cxx

View file

@ -1,3 +1,5 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(tg-construct add_executable(tg-construct
construct.cxx construct.cxx
construct.hxx construct.hxx

View file

@ -1,4 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_library(Match STATIC add_library(Match STATIC
match.cxx match.hxx match.cxx match.hxx

View file

@ -2,6 +2,7 @@ if (GDAL_FOUND)
include_directories(${GDAL_INCLUDE_DIR}) include_directories(${GDAL_INCLUDE_DIR})
endif (GDAL_FOUND) endif (GDAL_FOUND)
include_directories(${GPC_INCLUDE_DIR})
include( ${CGAL_USE_FILE} ) include( ${CGAL_USE_FILE} )
add_library(Geometry STATIC add_library(Geometry STATIC

View file

@ -1,4 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_library(Output STATIC add_library(Output STATIC
output.cxx output.hxx output.cxx output.hxx

View file

@ -1,4 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_library(Polygon STATIC add_library(Polygon STATIC
chop-bin.cxx chop-bin.cxx

View file

@ -1,4 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_library(vpf STATIC add_library(vpf STATIC
component.cxx component.cxx

View file

@ -1,5 +1,3 @@
include_directories(${PROJECT_SOURCE_DIR}/src/Lib) include_directories(${PROJECT_SOURCE_DIR}/src/Lib)
# seems unfortunate that lib depends on other dirs # seems unfortunate that lib depends on other dirs

View file

@ -1,3 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(e00lines add_executable(e00lines
main.cxx) main.cxx)

View file

@ -1,3 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(gshhs add_executable(gshhs
main.cxx main.cxx

View file

@ -1,7 +1,11 @@
if (GDAL_FOUND) if (GDAL_FOUND)
include_directories(${GDAL_INCLUDE_DIR}) include_directories(
${GDAL_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
)
add_executable(ogr-decode ogr-decode.cxx) add_executable(ogr-decode ogr-decode.cxx)
target_link_libraries(ogr-decode target_link_libraries(ogr-decode

View file

@ -1,3 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(photo add_executable(photo
photo.cxx) photo.cxx)

View file

@ -1,4 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(shape-decode shape-decode.cxx) add_executable(shape-decode shape-decode.cxx)

View file

@ -1,3 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(tgvpf tgvpf.cxx) add_executable(tgvpf tgvpf.cxx)

View file

@ -1,3 +1,4 @@
include_directories(${GPC_INCLUDE_DIR})
add_executable(tguserdef tguserdef.cxx) add_executable(tguserdef tguserdef.cxx)

View file

@ -1,7 +1,10 @@
if (GDAL_FOUND) if (GDAL_FOUND)
include_directories(${GDAL_INCLUDE_DIR}) include_directories(
${GDAL_INCLUDE_DIR}
${GPC_INCLUDE_DIR}
)
add_executable(poly2ogr poly2ogr.cxx) add_executable(poly2ogr poly2ogr.cxx)
if(MSVC) if(MSVC)