source: pacpussensors/trunk/NMEA0183/CMakeLists.txt@ 132

Last change on this file since 132 was 119, checked in by nguyenhu, 9 years ago

fixed bug hdtOut

File size: 3.2 KB
RevLine 
[59]1project(NMEA0183LIB)
2
[107]3include_directories(include/
4 ${QT_INCLUDE_DIR}
5 )
[99]6
[59]7#protocole de la centrale IXSEA
8set(PHINS_STANDARD_SRC
9src/HEHDT.cpp
10src/ATTITUD.cpp
11src/POSITI.cpp
12src/SPEED.cpp
13src/UTMWGS.cpp
14src/HEAVE.cpp
15src/STDHRP.cpp
16src/STDPOS.cpp
17src/STDSPD.cpp
18src/TIME__.cpp
19#src/LOGIN.cpp
20#src/LOGDVL.cpp
21#src/LOGWAT.cpp
22include/HEHDT.hpp
23include/ATTITUD.hpp
24include/POSITI.hpp
25include/SPEED.hpp
26include/UTMWGS.hpp
27include/HEAVE.hpp
28include/STDHRP.hpp
29include/STDPOS.hpp
30include/STDSPD.hpp
31include/TIME__.hpp
32#include/LOGIN.hpp
33#include/LOGDVL.hpp
34#include/LOGWAT.hpp
35)
36SOURCE_GROUP(PHINS_std FILES ${PHINS_STANDARD_SRC} )
37
38set(NMEA_SRC
39src/AAM.cpp
40src/ALM.cpp
41src/APB.cpp
42src/ASD.cpp
43src/BEC.cpp
44src/BOD.cpp
45src/BWC.cpp
46src/BWR.cpp
47src/BWW.cpp
48src/CHECKSUM.cpp
49src/DBT.cpp
50src/DCN.cpp
51src/DECCALOP.cpp
52src/DPT.cpp
53src/EXPID.cpp
54src/FIELD.cpp
55src/FREQMODE.cpp
56src/FSI.cpp
57src/GDA.cpp
58src/GDF.cpp
59src/GDP.cpp
60src/GGA.cpp
61src/GLA.cpp
62src/GLC.cpp
63src/GLF.cpp
64src/GLL.cpp
65src/GLP.cpp
66src/GOA.cpp
67src/GOF.cpp
68src/GOP.cpp
69src/GSA.cpp
70src/GST.cpp
71src/GSV.cpp
72src/GTD.cpp
73src/GXA.cpp
74src/GXF.cpp
75src/GXP.cpp
76src/HCC.cpp
77src/HDG.cpp
78src/HDM.cpp
79src/HDT.cpp
80src/HEX.cpp
81src/HEXVALUE.cpp
82src/HSATIT.cpp
83src/HSC.cpp
84src/HSPOS.cpp
85src/IMA.cpp
86src/LAT.cpp
87src/LATLONG.cpp
88src/LCD.cpp
89src/LONG.cpp
90src/LORANTD.cpp
91src/MANUFACT.cpp
92src/MHU.cpp
93src/MLIST.cpp
94src/MTA.cpp
95src/MTW.cpp
96src/MWV.cpp
97src/NMEA0183.cpp
98src/OLN.cpp
99src/OMEGAPAR.cpp
100src/OSD.cpp
101src/P.cpp
102src/RADARDAT.cpp
103src/RATIOPLS.cpp
104src/RESPONSE.cpp
105src/RMA.cpp
106src/RMB.cpp
107src/RMC.cpp
108src/ROT.cpp
109src/RPM.cpp
110src/RSA.cpp
111src/RSD.cpp
112src/RTE.cpp
113src/SATDAT.cpp
114src/SENTENCE.cpp
115src/SFI.cpp
116src/STN.cpp
117src/TALKERID.cpp
118src/TEP.cpp
119src/TRF.cpp
120src/TTM.cpp
121src/VBW.cpp
122src/VDR.cpp
123src/VHW.cpp
124src/VLW.cpp
125src/VPW.cpp
126src/VTG.cpp
127src/VWE.cpp
128src/WAYPTLOC.cpp
129src/WCV.cpp
130src/WDC.cpp
131src/WDR.cpp
132src/WNC.cpp
133src/WPL.cpp
134src/XDR.cpp
135src/XTE.cpp
136src/XTR.cpp
137src/ZDA.cpp
138src/ZFI.cpp
139src/ZFO.cpp
140src/ZLZ.cpp
141src/ZPI.cpp
142src/ZTA.cpp
143src/ZTE.cpp
144src/ZTG.cpp
145src/ZTI.cpp
146src/ZWP.cpp
147src/ZZU.cpp
148)
149SOURCE_GROUP(NMEA_std FILES ${NMEA_SRC} )
150
151add_library(${PROJECT_NAME} ${NMEA_SRC} ${PHINS_STANDARD_SRC} )
152
153set_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# )
[119]182
183# install headers
184install(
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.