Omit tests from Xcode builds

This commit is contained in:
Joseph Henry
2018-08-01 17:20:16 -07:00
parent 6af272fad9
commit 039cf99ac5

View File

@@ -200,7 +200,8 @@ set_target_properties (http_pic PROPERTIES POSITION_INDEPENDENT_CODE ON)
# --- TEST APPLICATIONS AND EXAMPLES
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android")
if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Android") AND
(NOT ${CMAKE_GENERATOR} STREQUAL "Xcode"))
file (GLOB APP_SOURCES
${PROJ_DIR}/examples/cpp/ipv4simple/*.cpp
${PROJ_DIR}/examples/cpp/ipv6simple/*.cpp