CMake: build llvm-config on Windows.
authorHans Wennborg <hans@hanshq.net>
Fri, 23 Aug 2013 17:59:13 +0000 (17:59 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 23 Aug 2013 17:59:13 +0000 (17:59 +0000)
commit3eb7322ca15e61f002be95341f74d1df8c1146bb
tree6cc67be7fc01b7b6efa37c151429eea2680ce5b6
parent12d3dc73dc44acd8b11cca783b826ccbd66f44da
CMake: build llvm-config on Windows.

It was previously not being built on Windows because the cmake file relied
on a sed script to generate a .in file that llvm-config needs.

By using cmake's configure_file function, we can get rid off the sed hack,
and also have this work on Windows.

Differential Revision: http://llvm-reviews.chandlerc.com/D1481

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189125 91177308-0d34-0410-b5e6-96231b3b80d8
tools/CMakeLists.txt
tools/llvm-config/CMakeLists.txt