Line | |
---|
1 | project(NMEA0183LIB)
|
---|
2 |
|
---|
3 | include_directories(include/
|
---|
4 | ${QT_INCLUDE_DIR}
|
---|
5 | )
|
---|
6 |
|
---|
7 | #protocole de la centrale IXSEA
|
---|
8 | set(PHINS_STANDARD_SRC
|
---|
9 | src/HEHDT.cpp
|
---|
10 | src/ATTITUD.cpp
|
---|
11 | src/POSITI.cpp
|
---|
12 | src/SPEED.cpp
|
---|
13 | src/UTMWGS.cpp
|
---|
14 | src/HEAVE.cpp
|
---|
15 | src/STDHRP.cpp
|
---|
16 | src/STDPOS.cpp
|
---|
17 | src/STDSPD.cpp
|
---|
18 | src/TIME__.cpp
|
---|
19 | #src/LOGIN.cpp
|
---|
20 | #src/LOGDVL.cpp
|
---|
21 | #src/LOGWAT.cpp
|
---|
22 | include/HEHDT.hpp
|
---|
23 | include/ATTITUD.hpp
|
---|
24 | include/POSITI.hpp
|
---|
25 | include/SPEED.hpp
|
---|
26 | include/UTMWGS.hpp
|
---|
27 | include/HEAVE.hpp
|
---|
28 | include/STDHRP.hpp
|
---|
29 | include/STDPOS.hpp
|
---|
30 | include/STDSPD.hpp
|
---|
31 | include/TIME__.hpp
|
---|
32 | #include/LOGIN.hpp
|
---|
33 | #include/LOGDVL.hpp
|
---|
34 | #include/LOGWAT.hpp
|
---|
35 | )
|
---|
36 | SOURCE_GROUP(PHINS_std FILES ${PHINS_STANDARD_SRC} )
|
---|
37 |
|
---|
38 | set(NMEA_SRC
|
---|
39 | src/AAM.cpp
|
---|
40 | src/ALM.cpp
|
---|
41 | src/APB.cpp
|
---|
42 | src/ASD.cpp
|
---|
43 | src/BEC.cpp
|
---|
44 | src/BOD.cpp
|
---|
45 | src/BWC.cpp
|
---|
46 | src/BWR.cpp
|
---|
47 | src/BWW.cpp
|
---|
48 | src/CHECKSUM.cpp
|
---|
49 | src/DBT.cpp
|
---|
50 | src/DCN.cpp
|
---|
51 | src/DECCALOP.cpp
|
---|
52 | src/DPT.cpp
|
---|
53 | src/EXPID.cpp
|
---|
54 | src/FIELD.cpp
|
---|
55 | src/FREQMODE.cpp
|
---|
56 | src/FSI.cpp
|
---|
57 | src/GDA.cpp
|
---|
58 | src/GDF.cpp
|
---|
59 | src/GDP.cpp
|
---|
60 | src/GGA.cpp
|
---|
61 | src/GLA.cpp
|
---|
62 | src/GLC.cpp
|
---|
63 | src/GLF.cpp
|
---|
64 | src/GLL.cpp
|
---|
65 | src/GLP.cpp
|
---|
66 | src/GOA.cpp
|
---|
67 | src/GOF.cpp
|
---|
68 | src/GOP.cpp
|
---|
69 | src/GSA.cpp
|
---|
70 | src/GST.cpp
|
---|
71 | src/GSV.cpp
|
---|
72 | src/GTD.cpp
|
---|
73 | src/GXA.cpp
|
---|
74 | src/GXF.cpp
|
---|
75 | src/GXP.cpp
|
---|
76 | src/HCC.cpp
|
---|
77 | src/HDG.cpp
|
---|
78 | src/HDM.cpp
|
---|
79 | src/HDT.cpp
|
---|
80 | src/HEX.cpp
|
---|
81 | src/HEXVALUE.cpp
|
---|
82 | src/HSATIT.cpp
|
---|
83 | src/HSC.cpp
|
---|
84 | src/HSPOS.cpp
|
---|
85 | src/IMA.cpp
|
---|
86 | src/LAT.cpp
|
---|
87 | src/LATLONG.cpp
|
---|
88 | src/LCD.cpp
|
---|
89 | src/LONG.cpp
|
---|
90 | src/LORANTD.cpp
|
---|
91 | src/MANUFACT.cpp
|
---|
92 | src/MHU.cpp
|
---|
93 | src/MLIST.cpp
|
---|
94 | src/MTA.cpp
|
---|
95 | src/MTW.cpp
|
---|
96 | src/MWV.cpp
|
---|
97 | src/NMEA0183.cpp
|
---|
98 | src/OLN.cpp
|
---|
99 | src/OMEGAPAR.cpp
|
---|
100 | src/OSD.cpp
|
---|
101 | src/P.cpp
|
---|
102 | src/RADARDAT.cpp
|
---|
103 | src/RATIOPLS.cpp
|
---|
104 | src/RESPONSE.cpp
|
---|
105 | src/RMA.cpp
|
---|
106 | src/RMB.cpp
|
---|
107 | src/RMC.cpp
|
---|
108 | src/ROT.cpp
|
---|
109 | src/RPM.cpp
|
---|
110 | src/RSA.cpp
|
---|
111 | src/RSD.cpp
|
---|
112 | src/RTE.cpp
|
---|
113 | src/SATDAT.cpp
|
---|
114 | src/SENTENCE.cpp
|
---|
115 | src/SFI.cpp
|
---|
116 | src/STN.cpp
|
---|
117 | src/TALKERID.cpp
|
---|
118 | src/TEP.cpp
|
---|
119 | src/TRF.cpp
|
---|
120 | src/TTM.cpp
|
---|
121 | src/VBW.cpp
|
---|
122 | src/VDR.cpp
|
---|
123 | src/VHW.cpp
|
---|
124 | src/VLW.cpp
|
---|
125 | src/VPW.cpp
|
---|
126 | src/VTG.cpp
|
---|
127 | src/VWE.cpp
|
---|
128 | src/WAYPTLOC.cpp
|
---|
129 | src/WCV.cpp
|
---|
130 | src/WDC.cpp
|
---|
131 | src/WDR.cpp
|
---|
132 | src/WNC.cpp
|
---|
133 | src/WPL.cpp
|
---|
134 | src/XDR.cpp
|
---|
135 | src/XTE.cpp
|
---|
136 | src/XTR.cpp
|
---|
137 | src/ZDA.cpp
|
---|
138 | src/ZFI.cpp
|
---|
139 | src/ZFO.cpp
|
---|
140 | src/ZLZ.cpp
|
---|
141 | src/ZPI.cpp
|
---|
142 | src/ZTA.cpp
|
---|
143 | src/ZTE.cpp
|
---|
144 | src/ZTG.cpp
|
---|
145 | src/ZTI.cpp
|
---|
146 | src/ZWP.cpp
|
---|
147 | src/ZZU.cpp
|
---|
148 | )
|
---|
149 | SOURCE_GROUP(NMEA_std FILES ${NMEA_SRC} )
|
---|
150 |
|
---|
151 | add_library(${PROJECT_NAME} ${NMEA_SRC} ${PHINS_STANDARD_SRC} )
|
---|
152 |
|
---|
153 | set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d" )
|
---|
154 |
|
---|
155 | # install(TARGETS ${PROJECT_NAME}
|
---|
156 | # RUNTIME DESTINATION ${PACPUSBIN_DIRECTORY}
|
---|
157 | # LIBRARY DESTINATION ${PACPUSBIN_DIRECTORY}
|
---|
158 | # ARCHIVE DESTINATION ${PACPUSLIB_DIRECTORY}
|
---|
159 | # )
|
---|
160 |
|
---|
161 | # if(MSVC)
|
---|
162 | # set(TARGET_PATH "${CMAKE_CURRENT_BINARY_DIR}/Debug/${PROJECT_NAME}_d.pdb")
|
---|
163 | # if(EXISTS ${TARGET_PATH})
|
---|
164 | # install(FILES ${TARGET_PATH}
|
---|
165 | # DESTINATION ${PACPUSLIB_DIRECTORY}
|
---|
166 | # )
|
---|
167 | # endif()
|
---|
168 |
|
---|
169 | # set(TARGET_PATH "${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/${PROJECT_NAME}.pdb")
|
---|
170 | # if(EXISTS ${TARGET_PATH})
|
---|
171 | # install(FILES ${TARGET_PATH}
|
---|
172 | # DESTINATION ${PACPUSLIB_DIRECTORY}
|
---|
173 | # )
|
---|
174 | # endif()
|
---|
175 | # endif()
|
---|
176 |
|
---|
177 | # install(DIRECTORY include/
|
---|
178 | # DESTINATION ${PACPUSDEV_INCLUDE_DIR}/extlib/NMEA0183
|
---|
179 | # PATTERN ".svn" EXCLUDE
|
---|
180 | # PATTERN "*~" EXCLUDE
|
---|
181 | # )
|
---|
182 |
|
---|
183 | # install headers
|
---|
184 | install(
|
---|
185 | DIRECTORY
|
---|
186 | include/
|
---|
187 | DESTINATION
|
---|
188 | ${PACPUS_INSTALL_DIR}/include/NMEA0183/include
|
---|
189 | PATTERN ".svn" EXCLUDE
|
---|
190 | PATTERN "*~" EXCLUDE
|
---|
191 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.