Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[r36939]: trunk / contrib / brl / bseg / boxm2 / volm / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    52 lines (39 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#depends on OPENCL being found...
INCLUDE( ${VXL_CMAKE_DIR}/NewCMake/FindOpenCL.cmake )
IF(OPENCL_FOUND)
ADD_DEFINITIONS(-DHAS_OPENCL=1)
INCLUDE_DIRECTORIES( ${OPENCL_INCLUDE_PATH} )
ENDIF(OPENCL_FOUND)
# contrib/brl/bseg/boxm2/volm/CMakeLists.txt
INCLUDE_DIRECTORIES( ${GEL_INCLUDE_DIR} )
INCLUDE_DIRECTORIES( ${GEL_INCLUDE_DIR}/mrc )
INCLUDE_DIRECTORIES( ${BRL_INCLUDE_DIR}/bbas )
INCLUDE_DIRECTORIES( ${BRL_INCLUDE_DIR}/bseg )
SET(boxm2_volm_sources
boxm2_volm_locations.h boxm2_volm_locations.cxx
boxm2_volm_locations_sptr.h
boxm2_volm_wr3db_index.h boxm2_volm_wr3db_index.cxx
boxm2_volm_wr3db_index_sptr.h
boxm2_volm_matcher_p0.h boxm2_volm_matcher_p0.cxx
)
IF(OPENCL_FOUND)
SET(boxm2_volm_sources ${boxm2_volm_sources}
boxm2_volm_matcher_p1.h boxm2_volm_matcher_p1.cxx
)
ENDIF(OPENCL_FOUND)
AUX_SOURCE_DIRECTORY(Templates boxm2_volm_sources)
ADD_LIBRARY(boxm2_volm ${boxm2_volm_sources})
TARGET_LINK_LIBRARIES(boxm2_volm boxm2 boxm2_io brip baio vpgl volm vnl vidl vil_algo vil vgl_algo vgl_xio vgl vbl vul vsl vcl depth_map)
IF(OPENCL_FOUND)
TARGET_LINK_LIBRARIES(boxm2_volm bocl)
ENDIF(OPENCL_FOUND)
#install the .h .txx and libs
INSTALL_TARGETS(/lib boxm2_volm)
INSTALL_NOBASE_HEADER_FILES(/include/vxl/contrib/brl/bseg/boxm2_volm/ ${boxm2_volm_sources})
SUBDIRS(io)
IF( BUILD_TESTING )
SUBDIRS(tests)
ENDIF( BUILD_TESTING )
SUBDIRS(exe)
#pro
SUBDIRS(pro)