epan/dissectors/pidl/samr/samr.cnf cnf_dissect_lsa_BinaryString => lsarpc_dissect_str...
[wireshark-sm.git] / epan / ftypes / CMakeLists.txt
blobb63b55e97d225784954cc431fafa1e8dc8b09e83
1 # CMakeLists.txt
3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
10 set(FTYPE_PUBLIC_HEADERS
11         ftypes.h
14 set(FTYPE_HEADER_FILES
15         ${FTYPE_PUBLIC_HEADERS}
16         ftypes-int.h
19 set(FTYPE_FILES
20         ftypes.c
21         ftype-bytes.c
22         ftype-double.c
23         ftype-ieee-11073-float.c
24         ftype-integer.c
25         ftype-ipv4.c
26         ftype-ipv6.c
27         ftype-guid.c
28         ftype-none.c
29         ftype-protocol.c
30         ftype-string.c
31         ftype-time.c
33 source_group(ftype FILES ${FTYPE_FILES})
35 set_source_files_properties(
36         ${FTYPE_FILES}
37         PROPERTIES
38         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
41 add_library(ftypes OBJECT
42         #Included so that Visual Studio can properly put header files in solution
43         ${FTYPE_HEADER_FILES}
45         ${FTYPE_FILES}
48 target_include_directories(ftypes
49         PRIVATE
50                 ${CMAKE_CURRENT_BINARY_DIR}
51                 ${CMAKE_CURRENT_SOURCE_DIR}
52                 ${CMAKE_SOURCE_DIR}/epan
55 set_target_properties(ftypes PROPERTIES
56         FOLDER "Libs/epan/ftypes"
57         COMPILE_DEFINITIONS "WS_BUILD_DLL"
60 install(FILES ${FTYPE_PUBLIC_HEADERS}
61         DESTINATION "${PROJECT_INSTALL_INCLUDEDIR}/epan/ftypes"
62         COMPONENT "Development"
63         EXCLUDE_FROM_ALL
66 CHECKAPI(
67         NAME
68           ftypes
69         SWITCHES
70         SOURCES
71           ${FTYPE_FILES}
75 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
77 # Local variables:
78 # c-basic-offset: 8
79 # tab-width: 8
80 # indent-tabs-mode: t
81 # End:
83 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
84 # :indentSize=8:tabSize=8:noTabs=false: