llvm-capstone/libclc/cmake/CMakeLLAsmCompiler.cmake.in
Jan Vesely 2ce1d090c2 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
2018-11-27 16:07:19 +00:00

11 lines
407 B
CMake

set(CMAKE_LLAsm_PREPROCESSOR "@CMAKE_LLAsm_PREPROCESSOR@")
set(CMAKE_LLAsm_COMPILER "@CMAKE_LLAsm_COMPILER@")
set(CMAKE_LLAsm_ARCHIVE "@CMAKE_LLAsm_ARCHIVE@")
set(CMAKE_LLAsm_COMPILER_LOADED 1)
set(CMAKE_LLAsm_SOURCE_FILE_EXTENSIONS ll)
set(CMAKE_LLAsm_OUTPUT_EXTENSION .bc)
set(CMAKE_LLAsm_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_STATIC_LIBRARY_PREFIX_LLAsm "")
set(CMAKE_STATIC_LIBRARY_SUFFIX_LLAsm ".bc")