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