diff --git a/.gitignore b/.gitignore index cc9a5c6..d9bdc8d 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ cmake-build-release-release/ build/ build-debug/ build-release/ +CMakeFiles/ +CMakeCache.txt # Precompiled Headers *.gch diff --git a/etc/script/build.sh b/etc/script/build.sh index 672191b..46882b9 100755 --- a/etc/script/build.sh +++ b/etc/script/build.sh @@ -44,6 +44,9 @@ function build() { PREFIX="${PREFIX}-debug" fi + mkdir -p ${PREFIX} + cp CMakeLists.txt ${PREFIX}/ + cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${CMAKE_FLAGS} -S . -B ${PREFIX} cmake --build ${PREFIX} -- ${MAKE_FLAGS} -j ${CPU_CORE} diff --git a/src/kiwi_logo.h b/src/kiwi_logo.h index 7aff629..b54ead6 100644 --- a/src/kiwi_logo.h +++ b/src/kiwi_logo.h @@ -12,12 +12,12 @@ #pragma once const char* kiwiLogo = - " _ __ _ _ \n" - " | |/ / (_) (_)\n" - " | ' / _ __ __ _ \n" - " | < | | \\ \\ /\\ / / | |\n" - " | . \\ | | \\ V V / | |\n" - " |_|\\_\\ |_| \\_/\\_/ |_|\n" + "\n _ _ __ _ \n" + " ( )( ) / )( ) _ _ \n" + " _ _ _ __ _ _ ___ _ _ ______ _| || |_ /' /' | |/') (_) _ _ _ (_) \n" + " /'_` )( '__)/'_` )/' _ `\ /'_` )(______)/'_` || '_`\ /' /' | , < | |( ) ( ) ( )| | \n" + " ( (_| || | ( (_| || ( ) |( (_| | ( (_| || |_) ) /' /' | |\`\ | || \_/ \_/ || | \n" + " `\__,_)(_) `\__,_)(_) (_)`\__,_) `\__,_)(_,__/'(_/' (_) (_)(_)`\___x___/'(_) \n" "Kiwi(%s) %d bits \n" "Port: %d\n" - "https://github.com/arana-db/kiwi\n"; \ No newline at end of file + "Github: https://github.com/arana-db/kiwi\n\n\n";