summaryrefslogtreecommitdiff
path: root/unittests/debugserver/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/debugserver/CMakeLists.txt')
-rw-r--r--unittests/debugserver/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/unittests/debugserver/CMakeLists.txt b/unittests/debugserver/CMakeLists.txt
index cfb520a0dc761..adb8fb00ddaca 100644
--- a/unittests/debugserver/CMakeLists.txt
+++ b/unittests/debugserver/CMakeLists.txt
@@ -17,3 +17,22 @@ add_lldb_unittest(debugserverTests
LINK_COMPONENTS
Support
)
+
+if(IOS)
+ set_property(TARGET debugserverTests APPEND PROPERTY COMPILE_DEFINITIONS
+ WITH_LOCKDOWN
+ WITH_FBS
+ WITH_BKS
+ )
+
+ add_lldb_unittest(debugserverNonUITests
+ RNBSocketTest.cpp
+ debugserver_LogCallback.cpp
+
+ LINK_LIBS
+ lldbDebugserverCommon_NonUI
+ lldbHost
+ LINK_COMPONENTS
+ Support
+ )
+endif()