Lines Matching refs:project
6 function(tablegen project ofn)
9 if(NOT ${project}_TABLEGEN_EXE)
10 message(FATAL_ERROR "${project}_TABLEGEN_EXE not set")
69 if (MSVC AND project STREQUAL LLVM)
92 # ("${${project}_TABLEGEN_TARGET}" STREQUAL "${${project}_TABLEGEN_EXE}")
100 set(tablegen_exe ${${project}_TABLEGEN_EXE})
101 set(tablegen_depends ${${project}_TABLEGEN_TARGET} ${tablegen_exe})
142 macro(add_tablegen target project)
155 set(${project}_TABLEGEN "${target}" CACHE
159 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
160 set(${project}_TABLEGEN_TARGET ${${project}_TABLEGEN} PARENT_SCOPE)
163 if( ${${project}_TABLEGEN} STREQUAL "${target}" )
167 build_native_tool(${target} ${project}_TABLEGEN_EXE DEPENDS ${target})
168 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE)
170 add_custom_target(${project}-tablegen-host DEPENDS ${${project}_TABLEGEN_EXE})
171 set(${project}_TABLEGEN_TARGET ${project}-tablegen-host PARENT_SCOPE)
176 if (NOT ${project} STREQUAL LLVM AND TARGET ${project}-tablegen-host AND
178 add_dependencies(${project}-tablegen-host LLVM-tablegen-host)
189 …if ((${project} STREQUAL LLVM OR ${project} STREQUAL MLIR) AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND…
199 RUNTIME DESTINATION "${${project}_TOOLS_INSTALL_DIR}")