-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
CMakeLists.txt
57 lines (49 loc) · 1.62 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright (c) 2014-present, The osquery authors
#
# This source code is licensed as defined by the LICENSE file found in the
# root directory of this source tree.
#
# SPDX-License-Identifier: (Apache-2.0 OR GPL-2.0-only)
function(osqueryTablesMain)
add_subdirectory("applications")
add_subdirectory("cloud")
add_subdirectory("events")
add_subdirectory("forensic")
add_subdirectory("networking")
add_subdirectory("sleuthkit")
add_subdirectory("system")
add_subdirectory("utility")
add_subdirectory("yara")
generateOsqueryTablesTableimplementations()
endfunction()
function(generateOsqueryTablesTableimplementations)
add_osquery_library(osquery_tables_tableimplementations INTERFACE)
if(DEFINED PLATFORM_POSIX)
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_yara_yaratable
)
elseif(DEFINED PLATFORM_WINDOWS)
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_yara_yaratable
)
endif()
if(OSQUERY_BUILD_AWS)
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_cloud_aws
)
endif()
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_cloud_azure
osquery_tables_cloud_ycloud
)
target_link_libraries(osquery_tables_tableimplementations INTERFACE
osquery_tables_applications
osquery_tables_events_eventstable
osquery_tables_forensic
osquery_tables_networking
osquery_tables_system_systemtable
osquery_tables_utility_utilitytable
osquery_tables_sleuthkit_sleuthkittable
)
endfunction()
osqueryTablesMain()