Skip to content

Commit

Permalink
Update DFT prompt, add interactive flag and update rpath (#27485)
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 authored and pull[bot] committed Sep 5, 2023
1 parent 1d18785 commit 1254088
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <editline.h>

constexpr const char * kInteractiveModePrompt = ">>> ";
constexpr const char * kInteractiveModePrompt = "Stop and restart stack: [Ctrl+_] & [Ctrl+^] \nQuit Interactive: 'quit()'\n>>> ";
constexpr const char * kInteractiveModeHistoryFilePath = "/tmp/darwin_framework_tool_history";
constexpr const char * kInteractiveModeStopCommand = "quit()";

Expand Down
10 changes: 10 additions & 0 deletions src/darwin/Framework/Matter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1576,6 +1576,7 @@
CONFIG_BUILD_FOR_HOST_UNIT_TEST,
CONFIG_USE_LOCAL_STORAGE,
"CHIP_CONFIG_SKIP_APP_SPECIFIC_GENERATED_HEADER_INCLUDES=1",
"CONFIG_USE_INTERACTIVE_MODE=1",
);
"HEADER_SEARCH_PATHS[arch=*]" = (
"$(CHIP_ROOT)/examples/darwin-framework-tool",
Expand All @@ -1595,6 +1596,10 @@
"$(CHIP_ROOT)/examples/chip-tool/commands/clusters",
"$(CHIP_ROOT)/zzz_generated/chip-tool",
);
LD_RUNPATH_SEARCH_PATHS = (
"@executable_path",
"$(BUILT_PRODUCTS_DIR)",
);
"LIBRARY_SEARCH_PATHS[arch=*]" = (
"$(CONFIGURATION_TEMP_DIR)/Matter.build/out/lib",
"$(CONFIGURATION_TEMP_DIR)/Matter.build/out/obj/src/app/lib",
Expand Down Expand Up @@ -1625,6 +1630,7 @@
CONFIG_BUILD_FOR_HOST_UNIT_TEST,
CONFIG_USE_LOCAL_STORAGE,
"CHIP_CONFIG_SKIP_APP_SPECIFIC_GENERATED_HEADER_INCLUDES=1",
"CONFIG_USE_INTERACTIVE_MODE=1",
);
"HEADER_SEARCH_PATHS[arch=*]" = (
"$(CHIP_ROOT)/examples//darwin-framework-tool",
Expand All @@ -1645,6 +1651,10 @@
"$(CHIP_ROOT)/examples/chip-tool",
"$(CHIP_ROOT)/zzz_generated/chip-tool",
);
LD_RUNPATH_SEARCH_PATHS = (
"@executable_path",
"$(BUILT_PRODUCTS_DIR)",
);
"LIBRARY_SEARCH_PATHS[arch=*]" = (
"$(CONFIGURATION_TEMP_DIR)/Matter.build/out/lib",
"$(CONFIGURATION_TEMP_DIR)/Matter.build/out/obj/src/app/lib",
Expand Down

0 comments on commit 1254088

Please sign in to comment.