-
Notifications
You must be signed in to change notification settings - Fork 21
/
CMakeLists.txt
126 lines (123 loc) · 2.73 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
cmake_minimum_required (VERSION 3.9)
project(dggridR
LANGUAGES C CXX
)
add_executable(dggridR
src/adjlon.cpp
src/DgAddressBase.cpp
src/DgApSeq.cpp
src/DgBase.cpp
src/DgBoundedHexC2RF2D.cpp
src/DgBoundedHexC3C2RF2D.cpp
src/DgBoundedHexC3RF2D.cpp
src/DgBoundedIDGG.cpp
src/DgBoundedIDGGS.cpp
src/DgBoundedRF2D.cpp
src/DgBoundedRFBase0.cpp
src/DgBoundedRFS2D.cpp
src/DgCell.cpp
src/DgColor.cpp
src/DgConverterBase.cpp
src/DgDiscRFS2D.cpp
src/DgDistanceBase.cpp
src/DgDmdD4Grid2D.cpp
src/DgDmdD4Grid2DS.cpp
src/DgDmdD8Grid2D.cpp
src/DgDmdD8Grid2DS.cpp
src/DgDmdIDGG.cpp
src/DgDVec2D.cpp
src/DgDVec3D.cpp
src/DgEllipsoidRF.cpp
src/DgGeoSphRF.cpp
src/DgGridTopo.cpp
src/DgHexC1Grid2D.cpp
src/DgHexC2Grid2D.cpp
src/DgHexC3Grid2D.cpp
src/DgHexGrid2DS.cpp
src/DgHexIDGG.cpp
src/DgHexIDGGS.cpp
src/DgIcosaMap.cpp
src/DgIDGGBase.cpp
src/DgIDGG.cpp
src/DgIDGGS3H.cpp
src/DgIDGGS43H.cpp
src/DgIDGGS4D.cpp
src/DgIDGGS4H.cpp
src/DgIDGGS4T.cpp
src/DgIDGGSBase.cpp
src/DgIDGGS.cpp
src/DgIDGGutil.cpp
src/DgInAIGenFile.cpp
src/DgInGDALFile.cpp
src/DgInLocTextFile.cpp
src/DgInputStream.cpp
src/DgInShapefileAtt.cpp
src/DgInShapefile.cpp
src/DgIVec2D.cpp
src/DgIVec3D.cpp
src/dglib.cpp
src/DgLocation.cpp
src/DgLocBase.cpp
src/DgLocList.cpp
src/DgLocVector.cpp
src/DgOutAIGenFile.cpp
src/DgOutChildrenFile.cpp
src/DgOutGdalFile.cpp
src/DgOutGeoJSONFile.cpp
src/DgOutKMLfile.cpp
src/DgOutLocFile.cpp
src/DgOutLocTextFile.cpp
src/DgOutNeighborsFile.cpp
src/DgOutPRCellsFile.cpp
src/DgOutPRPtsFile.cpp
src/DgOutPtsText.cpp
src/DgOutputStream.cpp
src/DgOutRandPtsText.cpp
src/DgOutShapefile.cpp
src/DgParamList.cpp
src/DgPolygon.cpp
src/DgProjFuller.cpp
src/DgProjGnomonicRF.cpp
src/DgProjISEA.cpp
src/DgProjTriRF.cpp
src/DgRandom.cpp
src/DgRFBase.cpp
src/DgRFNetwork.cpp
src/DgSeriesConverter.cpp
src/DgSqrD4Grid2D.cpp
src/DgSqrD4Grid2DS.cpp
src/DgSqrD8Grid2D.cpp
src/DgSqrD8Grid2DS.cpp
src/DgSuperfund.cpp
src/DgTriGrid2D.cpp
src/DgTriGrid2DS.cpp
src/DgTriIDGG.cpp
src/DgUtil.cpp
src/pj_auth.cpp
src/pj_mlfn.cpp
src/pj_msfn.cpp
src/pj_phi2.cpp
src/pj_qsfn.cpp
src/pj_tsfn.cpp
src/dbfopen.c
src/safileio.c
src/sbnsearch.c
src/shpopen.c
src/shptree.c
src/util.cpp
src/test.cpp
)
# src/RcppExports.cpp
# src/Rwrapper.cpp
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
target_compile_options(dggridR PRIVATE -Werror -Wall -Wextra -pedantic -Wno-cast-function-type -Wno-unused-parameter $<$<COMPILE_LANGUAGE:CXX>:-Wno-deprecated-copy> -Wstringop-truncation) # -fsanitize=address)
target_include_directories(dggridR
PRIVATE
/usr/share/R/include/
/home/rick/miniconda3/envs/dggridR/lib/R/library/Rcpp/include/
)
target_link_directories(dggridR PRIVATE /home/rick/miniconda3/envs/dggridR/lib/R/library/Rcpp/libs/)
target_link_libraries(dggridR
PRIVATE
Rcpp
)