Lines Matching refs:project
5 macro(tablegen project ofn)
17 COMMAND ${${project}_TABLEGEN_EXE} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR}
24 DEPENDS ${${project}_TABLEGEN_EXE} ${local_tds} ${global_tds}
76 macro(add_tablegen target project)
81 set(${project}_TABLEGEN "${target}" CACHE
85 if(${project} STREQUAL LLVM)
94 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN} PARENT_SCOPE)
97 if( ${${project}_TABLEGEN} STREQUAL "${target}" )
98 set(${project}_TABLEGEN_EXE "${CX_NATIVE_TG_DIR}/bin/${target}")
99 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE)
101 add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE}
106 add_custom_target(${project}NativeTableGen DEPENDS ${${project}_TABLEGEN_EXE})
107 add_dependencies(${project}NativeTableGen ConfigureNativeTableGen)
109 add_dependencies(${target} ${project}NativeTableGen)