[Lldb-commits] [PATCH] D14389: Completely avoid building Apple simulator on non-Darwin platforms.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 5 12:26:56 PST 2015
zturner added a comment.
Ahh makes sense, I didn't know about that. I think a cleaner way to do this is to just add everything to `PLUGIN_PLATFORM_MACOSX_SOURCES` in the very first `list(APPEND)`. Then just do this:
if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
set(LLVM_OPTIONAL_SOURCES
PlatformAppleSimulator.cpp
PlatformiOSSimulator.cpp
)
list(REMOVE_ITEM PLUGIN_PLATFORM_MACOSX_SOURCES ${LLVM_OPTIONAL_SOURCES})
endif()
http://reviews.llvm.org/D14389
More information about the lldb-commits
mailing list