-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
CMakeLists.txt
41 lines (36 loc) · 1.08 KB
/
CMakeLists.txt
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
# Standard includes and utils to compile into all tests.
set (util_SRCS)
#####################################################
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/test
)
if(HAVE_OPENCL)
include_directories(SYSTEM ${OpenCL_INCLUDE_DIRS})
endif()
#############################################################
# Tests:
set(TESTS
testqgsgeometrysnapper.cpp
testqgsinterpolator.cpp
testqgsprocessingalgs.cpp
testqgszonalstatistics.cpp
testqgsrastercalculator.cpp
testqgsreclassifyutils.cpp
testqgsalignraster.cpp
testqgsnetworkanalysis.cpp
testqgsninecellfilters.cpp
testqgsmeshcalculator.cpp
testqgsmeshcontours.cpp
testqgstriangulation.cpp
)
if(HAVE_GSL)
set(TESTS ${TESTS} testqgsgcptransformer.cpp)
endif()
foreach(TESTSRC ${TESTS})
add_qgis_test(${TESTSRC} MODULE analysis LINKEDLIBRARIES qgis_analysis)
endforeach(TESTSRC)
add_qgis_test(testqgsprocessing.cpp MODULE analysis LINKEDLIBRARIES qgis_analysis LABELS "POSTGRES")