Lines Matching refs:project
5 function(tablegen project ofn)
8 ${project}_TABLEGEN_EXE
28 COMMAND ${${project}_TABLEGEN_EXE} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR}
35 DEPENDS ${${project}_TABLEGEN_TARGET} ${local_tds} ${global_tds}
89 macro(add_tablegen target project)
101 set(${project}_TABLEGEN "${target}" CACHE
105 if(${project} STREQUAL LLVM)
114 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
115 set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)
118 if( ${${project}_TABLEGEN} STREQUAL "${target}" )
120 set(${project}_TABLEGEN_EXE "${LLVM_NATIVE_BUILD}/bin/${target}")
122 set(${project}_TABLEGEN_EXE "${LLVM_NATIVE_BUILD}/Release/bin/${target}")
124 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE)
126 add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE}
131 add_custom_target(${project}-tablegen-host DEPENDS ${${project}_TABLEGEN_EXE})
132 set(${project}_TABLEGEN_TARGET ${project}-tablegen-host PARENT_SCOPE)
141 if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY)