mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
2ce1d090c2
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
11 lines
407 B
CMake
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")
|