mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
4c1f3c24db
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
14 lines
452 B
CMake
14 lines
452 B
CMake
add_subdirectory(IR)
|
|
|
|
if( MSVC_IDE OR XCODE )
|
|
# Creates a dummy target containing all headers for the benefit of
|
|
# Visual Studio users.
|
|
file(GLOB_RECURSE headers *.h)
|
|
add_td_sources(headers)
|
|
add_library(llvm_headers_do_not_build EXCLUDE_FROM_ALL
|
|
# We need at least one source file:
|
|
${LLVM_MAIN_SRC_DIR}/lib/Transforms/Hello/Hello.cpp
|
|
${headers})
|
|
set_target_properties(llvm_headers_do_not_build PROPERTIES FOLDER "Misc")
|
|
endif()
|