| 1 |
add_library(ais |
| 2 |
ais.cpp |
| 3 |
ais_bitset.cpp |
| 4 |
ais1_2_3.cpp |
| 5 |
ais4_11.cpp |
| 6 |
ais5.cpp |
| 7 |
ais6.cpp |
| 8 |
ais7_13.cpp |
| 9 |
ais8.cpp |
| 10 |
ais8_1_22.cpp |
| 11 |
ais8_1_26.cpp |
| 12 |
ais8_200.cpp |
| 13 |
ais8_366.cpp |
| 14 |
ais8_366_22.cpp |
| 15 |
ais8_367.cpp |
| 16 |
ais9.cpp |
| 17 |
ais10.cpp |
| 18 |
ais12.cpp |
| 19 |
ais14.cpp |
| 20 |
ais15.cpp |
| 21 |
ais16.cpp |
| 22 |
ais17.cpp |
| 23 |
ais18.cpp |
| 24 |
ais19.cpp |
| 25 |
ais20.cpp |
| 26 |
ais21.cpp |
| 27 |
ais22.cpp |
| 28 |
ais23.cpp |
| 29 |
ais24.cpp |
| 30 |
ais25.cpp |
| 31 |
ais26.cpp |
| 32 |
ais27.cpp |
| 33 |
decode_body.cpp |
| 34 |
vdm.cpp |
| 35 |
) |
| 36 |
target_include_directories(ais PUBLIC ${CMAKE_CURRENT_LIST_DIR}) |
| 37 |
set_target_properties(ais PROPERTIES PUBLIC_HEADER ais.h) |
| 38 |
|
| 39 |
include(GNUInstallDirs) |
| 40 |
|
| 41 |
install(TARGETS ais |
| 42 |
EXPORT LibaisConfig |
| 43 |
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 44 |
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
| 45 |
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 46 |
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} |
| 47 |
) |
| 48 |
|
| 49 |
# Not yet handled: |
| 50 |
# ais_py.cpp |
| 51 |
# ais_decode_normed.cpp |