sammccall created this revision. sammccall added a reviewer: hokein. Herald added a subscriber: mgorny. Herald added a project: All. sammccall requested review of this revision. Herald added subscribers: cfe-commits, llvm-commits, alextsao1999. Herald added projects: LLVM, clang-tools-extra.
This name is not namespaced. Requested in D126717 <https://reviews.llvm.org/D126717> Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D126725 Files: clang-tools-extra/pseudo/gen/CMakeLists.txt clang-tools-extra/pseudo/include/CMakeLists.txt llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn Index: llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn +++ llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn @@ -1,4 +1,4 @@ -executable("pseudo-gen") { +executable("clang-pseudo-gen") { configs += [ "//llvm/utils/gn/build:clang_code" ] deps = [ "//clang-tools-extra/pseudo/lib/grammar", Index: clang-tools-extra/pseudo/include/CMakeLists.txt =================================================================== --- clang-tools-extra/pseudo/include/CMakeLists.txt +++ clang-tools-extra/pseudo/include/CMakeLists.txt @@ -2,11 +2,11 @@ set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx.bnf) if(LLVM_USE_HOST_TOOLS) - build_native_tool(pseudo-gen pseudo_gen) + build_native_tool(clang-pseudo-gen pseudo_gen) set(pseudo_gen_target "${pseudo_gen}") else() - set(pseudo_gen $<TARGET_FILE:pseudo-gen>) - set(pseudo_gen_target pseudo-gen) + set(pseudo_gen $<TARGET_FILE:clang-pseudo-gen>) + set(pseudo_gen_target clang-pseudo-gen) endif() # Generate inc files. Index: clang-tools-extra/pseudo/gen/CMakeLists.txt =================================================================== --- clang-tools-extra/pseudo/gen/CMakeLists.txt +++ clang-tools-extra/pseudo/gen/CMakeLists.txt @@ -1,10 +1,10 @@ set(LLVM_LINK_COMPONENTS Support) -add_clang_executable(pseudo-gen +add_clang_executable(clang-pseudo-gen Main.cpp ) -target_link_libraries(pseudo-gen +target_link_libraries(clang-pseudo-gen PRIVATE clangPseudoGrammar )
Index: llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn +++ llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn @@ -1,4 +1,4 @@ -executable("pseudo-gen") { +executable("clang-pseudo-gen") { configs += [ "//llvm/utils/gn/build:clang_code" ] deps = [ "//clang-tools-extra/pseudo/lib/grammar", Index: clang-tools-extra/pseudo/include/CMakeLists.txt =================================================================== --- clang-tools-extra/pseudo/include/CMakeLists.txt +++ clang-tools-extra/pseudo/include/CMakeLists.txt @@ -2,11 +2,11 @@ set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx.bnf) if(LLVM_USE_HOST_TOOLS) - build_native_tool(pseudo-gen pseudo_gen) + build_native_tool(clang-pseudo-gen pseudo_gen) set(pseudo_gen_target "${pseudo_gen}") else() - set(pseudo_gen $<TARGET_FILE:pseudo-gen>) - set(pseudo_gen_target pseudo-gen) + set(pseudo_gen $<TARGET_FILE:clang-pseudo-gen>) + set(pseudo_gen_target clang-pseudo-gen) endif() # Generate inc files. Index: clang-tools-extra/pseudo/gen/CMakeLists.txt =================================================================== --- clang-tools-extra/pseudo/gen/CMakeLists.txt +++ clang-tools-extra/pseudo/gen/CMakeLists.txt @@ -1,10 +1,10 @@ set(LLVM_LINK_COMPONENTS Support) -add_clang_executable(pseudo-gen +add_clang_executable(clang-pseudo-gen Main.cpp ) -target_link_libraries(pseudo-gen +target_link_libraries(clang-pseudo-gen PRIVATE clangPseudoGrammar )
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits