diff --git a/.gitignore b/.gitignore index 8151de2..e18dc75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,9 @@ -.idea/ -cmake-build-debug-visual-studio/ \ No newline at end of file +# 项目的构建文件夹 +build/ +cmake-build-*/ + +# VSCode的配置文件夹 +.vscode/ + +# CLion的配置文件夹 +.idea/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 877fd54..dbffa4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ include_directories( aux_source_directory(${PROJECT_SOURCE_DIR}/src SRCS) -add_executable(auto_bus_gui main.cpp ${SRCS} ${QRC_FILES}) +add_executable(auto_bus_gui WIN32 main.cpp ${SRCS} ${QRC_FILES}) target_link_libraries(auto_bus_gui Qt::Core