Add cmake build system
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 27 Nov 2018 16:07:19 +0000 (16:07 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 27 Nov 2018 16:07:19 +0000 (16:07 +0000)
commit2ce1d090c235c71939570d52c25c38f83614dc8b
tree39e495a02ce2093fa29b1916485d74ac945b22aa
parent43adbf8dd4c419cd1aac4a0b3c8a68a52e9e5746
Add cmake build system

Add cmake support for CLC and ll asm language,
the latter includes clang preprocessing stage.
Add ctests to check for external function calls.

v2: fix typos, style

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Aaron Watry <awatry@gmail.com>
Tested-by: Aaron Watry <awatry@gmail.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
llvm-svn: 347667
libclc/CMakeLists.txt [new file with mode: 0644]
libclc/cmake/CMakeCLCCompiler.cmake.in [new file with mode: 0644]
libclc/cmake/CMakeCLCInformation.cmake [new file with mode: 0644]
libclc/cmake/CMakeDetermineCLCCompiler.cmake [new file with mode: 0644]
libclc/cmake/CMakeDetermineLLAsmCompiler.cmake [new file with mode: 0644]
libclc/cmake/CMakeLLAsmCompiler.cmake.in [new file with mode: 0644]
libclc/cmake/CMakeLLAsmInformation.cmake [new file with mode: 0644]
libclc/cmake/CMakeTestCLCCompiler.cmake [new file with mode: 0644]
libclc/cmake/CMakeTestLLAsmCompiler.cmake [new file with mode: 0644]
libclc/libclc.pc.in [new file with mode: 0644]