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

Last change on this file since 85 was 59, checked in by DHERBOMEZ Gérald, 10 years ago

Integration of new modules:

  • GPS NMEA0183 decoder
  • Span CPT Decoder

Update of:

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