llvm-project/llvm/cmake
Chris Bieneman 3eddcaec95 [CMake] Fix for PR 23328: LLVM_OPTIMIZED_TABLEGEN broken
In CMake dependencies can be filenames or targets, and targets can't be filenames. The Ninja generator handles filename dependencies because it generates targets for every output file from a command. For example:

add_custom_command(OUTPUT foo.txt COMMAND touch foo.txt)

With the Ninja generator this generates a target foo.txt, but with the Makefile generator it doesn't. This is probably because Ninja explicitly requires these hard dependency ties, and Make just behaves oddly in general.

To fix this we need to make the tablegen actions depend on a target rather than a filename.

llvm-svn: 235732
2015-04-24 17:09:20 +00:00
..
modules [CMake] Fix for PR 23328: LLVM_OPTIMIZED_TABLEGEN broken 2015-04-24 17:09:20 +00:00
platforms Doing some cleanup to the iOS toolchain. 2015-03-12 16:19:16 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
README
config-ix.cmake test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
nsis_icon.ico Win installer: provide a pretty icon 2014-03-27 20:48:37 +00:00
nsis_logo.bmp CMake: polish the Windows packaging rules 2013-08-15 23:44:31 +00:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.