Skip to content

Commit

Permalink
[CMake] Make .def files show up in Xcode even if they're in lib/.
Browse files Browse the repository at this point in the history
...instead of include/. LLVM already takes care of .h files, but not .def.

Swift SVN r31632
  • Loading branch information
jrose-apple committed Sep 2, 2015
1 parent 1165aca commit 68b6a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/modules/AddSwift.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ function(_add_swift_library_single target name)
list(GET split_path -1 dir)
file(GLOB_RECURSE SWIFTLIB_SINGLE_HEADERS
${SWIFT_SOURCE_DIR}/include/swift${dir}/*.h
${SWIFT_SOURCE_DIR}/include/swift${dir}/*.def)
${SWIFT_SOURCE_DIR}/include/swift${dir}/*.def
${CMAKE_CURRENT_SOURCE_DIR}/*.def)

file(GLOB_RECURSE SWIFTLIB_SINGLE_TDS
${SWIFT_SOURCE_DIR}/include/swift${dir}/*.td)
Expand Down

0 comments on commit 68b6a44

Please sign in to comment.