dcerpc-netlogon: improve NetrLogonGetCapabilities dissection
[wireshark-sm.git] / epan / crypt / CMakeLists.txt
blob8b55e9b019579ff80b102be7c687f9907f7ecdcd
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 ADD_CUSTOM_CMAKE_INCLUDE()
12 set(CRYPT_HEADER_FILES
13         dot11decrypt_debug.h
14         dot11decrypt_int.h
15         dot11decrypt_system.h
16         dot11decrypt_user.h
17         dot11decrypt_util.h
18         dot11decrypt_ws.h
19         kasumi.h
20         wep-wpadefs.h
23 set(CRYPT_FILES
24         dot11decrypt.c
25         dot11decrypt_tkip.c
26         dot11decrypt_util.c
27         ${CUSTOM_CRYPT_SRC}
30 list(APPEND CRYPT_FILES
31         dot11decrypt_ccmp.c
32         dot11decrypt_gcmp.c
35 source_group(crypt FILES ${CRYPT_FILES})
37 set_source_files_properties(
38         ${CRYPT_FILES}
39         PROPERTIES
40         COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
43 add_library(crypt OBJECT
44         #Included so that Visual Studio can properly put header files in solution
45         ${CRYPT_HEADER_FILES}
47         ${CRYPT_FILES}
50 target_include_directories(crypt
51         SYSTEM PRIVATE
52                 ${GCRYPT_INCLUDE_DIRS}
53         PRIVATE
54                 ${CMAKE_CURRENT_BINARY_DIR}
55                 ${CMAKE_CURRENT_SOURCE_DIR}
58 set_target_properties(crypt PROPERTIES
59         FOLDER "Libs/epan/crypt"
60         COMPILE_DEFINITIONS "WS_BUILD_DLL"
63 CHECKAPI(
64         NAME
65           crypt
66         SWITCHES
67         SOURCES
68           ${CRYPT_FILES}
72 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
74 # Local variables:
75 # c-basic-offset: 8
76 # tab-width: 8
77 # indent-tabs-mode: t
78 # End:
80 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
81 # :indentSize=8:tabSize=8:noTabs=false: