[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libclc / cmake / CMakeLLAsmInformation.cmake
blob218e20a52fe8236ceb30de70ac4b0301c98a2bb1
1 if(NOT CMAKE_LLAsm_COMPILE_OBJECT)
2   set(CMAKE_LLAsm_COMPILE_OBJECT
3           "${CMAKE_LLAsm_PREPROCESSOR} -E -P  <DEFINES> <INCLUDES> <FLAGS> -x cl <SOURCE> -o <OBJECT>.temp"
4           "<CMAKE_LLAsm_COMPILER> -o <OBJECT> <OBJECT>.temp")
5 endif()
7 if(NOT CMAKE_LLAsm_CREATE_STATIC_LIBRARY)
8   set(CMAKE_LLAsm_CREATE_STATIC_LIBRARY
9     "<CMAKE_LLAsm_ARCHIVE> -o <TARGET> <OBJECTS>")
10 endif()
12 set(CMAKE_INCLUDE_FLAG_LLAsm "-I")