Files
swift-mirror/include/swift/CMakeLists.txt
Saleem Abdulrasool aca0509ac0 build: improve libedit handling for builds
Use the `FindLibEdit.cmake` module from LLDB to properly control where
the libedit libraries are searched for and linked from as well as where
the headers come from.  This uses the standard mechanisms which allows
users to control where libedit is pulled from (which is important for
cross-compilation).
2019-07-06 14:33:03 -07:00

18 lines
385 B
CMake

add_subdirectory(Runtime)
if(SWIFT_BUILD_REMOTE_MIRROR)
add_subdirectory(SwiftRemoteMirror)
endif()
if(SWIFT_INCLUDE_TOOLS)
if(libedit_FOUND)
set(HAVE_UNICODE_LIBEDIT TRUE)
endif()
configure_file(Config.h.in ${CMAKE_CURRENT_BINARY_DIR}/Config.h
ESCAPE_QUOTES @ONLY)
add_subdirectory(Option)
add_subdirectory(Parse)
add_subdirectory(Syntax)
endif()