blob: 014d82c162fb892c6cb823d5a995e127ca7a7f40 (
plain) (
blame)
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
|
--- core/src/CMakeLists.txt 2023-03-24 08:05:20.000000000 -0500
+++ core/src/CMakeLists.txt 2023-04-07 16:15:16.297335000 -0500
@@ -18,7 +18,9 @@
# 02110-1301, USA.
message("Entering ${CMAKE_CURRENT_SOURCE_DIR}")
-add_subdirectory(filed)
+if(client-only)
+ add_subdirectory(filed)
+endif()
if(NOT client-only)
add_subdirectory(tools)
@@ -40,24 +42,28 @@
elseif(NOT GTest_FOUND)
message(STATUS "Skipping unit tests as gtest was not found")
else()
- add_subdirectory(tests)
+# add_subdirectory(tests)
endif()
if(BUILD_BENCHMARKS)
add_subdirectory(benchmarks)
endif()
-if(ENABLE_BCONSOLE)
- add_subdirectory(console)
-endif()
+if(client-only)
+ if(ENABLE_BCONSOLE)
+ add_subdirectory(console)
+ endif()
-if(${HAVE_LMDB})
- add_subdirectory(lmdb)
+ if(${HAVE_LMDB})
+ add_subdirectory(lmdb)
+ endif()
+ add_subdirectory(lib)
+ add_subdirectory(findlib)
+ add_subdirectory(fastlz)
endif()
-add_subdirectory(lib)
-add_subdirectory(findlib)
+
add_subdirectory(plugins)
-add_subdirectory(fastlz)
+
if(${traymonitor})
add_subdirectory(qt-tray-monitor)
endif()
|