提交 f7169103 编写于 作者: sangshuduo's avatar sangshuduo

chore: rework cus name

上级 3b1b6e3a
......@@ -26,6 +26,10 @@ ELSE ()
SET(LINK_WEBSOCKET "")
ENDIF ()
IF (CUS_NAME OR CUS_PROMPT)
ADD_DEFINITIONS(-I${CMAKE_CURRENT_SOURCE_DIR}/../../../enterprise/packaging)
ENDIF (CUS_NAME)
if(TD_WINDOWS)
target_link_libraries(shell PUBLIC taos_static ${LINK_WEBSOCKET})
else()
......
......@@ -21,14 +21,14 @@
#ifndef CUS_NAME
char cusName[] = "TDengine";
#else
char cusName[] = CUS_NAME;
#endif
#ifndef CUS_PROMPT
char cusPrompt[] = "taos";
#else
char cusPrompt[] = CUS_PROMPT;
#endif
#if defined(CUS_NAME) || defined(CUS_PROMPT)
#include "cus_name.h"
#endif
#define TAOS_CONSOLE_PROMPT_CONTINUE " -> "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册