From 2367765d1fbb148dab81863c92765e20eee8a3ce Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Fri, 5 May 2023 23:47:40 +0200 Subject: [PATCH] Fixed .gitignore --- .gitignore | 2 +- .../compile_commands.json | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/test_compilation_database_data/compile_commands.json diff --git a/.gitignore b/.gitignore index fdd98960..ae9199b0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ CMakeScripts Testing cmake_install.cmake install_manifest.txt -compile_commands.json +/compile_commands.json CTestTestfile.cmake Session.vim _deps diff --git a/tests/test_compilation_database_data/compile_commands.json b/tests/test_compilation_database_data/compile_commands.json new file mode 100644 index 00000000..bcdbb35c --- /dev/null +++ b/tests/test_compilation_database_data/compile_commands.json @@ -0,0 +1,17 @@ +[ + { + "directory": ".", + "command": "/usr/bin/c++ -I/usr/lib/llvm-15/include -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-private-field -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/clang-umllib.dir/class_diagram/generators/json/class_diagram_generator.cc.o -c ./src/class_diagram/generators/json/class_diagram_generator.cc", + "file": "./src/class_diagram/generators/json/class_diagram_generator.cc" + }, + { + "directory": ".", + "command": "/usr/bin/c++ -I/usr/lib/llvm-15/include -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-private-field -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/clang-umllib.dir/class_diagram/generators/plantuml/class_diagram_generator.cc.o -c ./src/class_diagram/generators/plantuml/class_diagram_generator.cc", + "file": "./src/class_diagram/generators/plantuml/class_diagram_generator.cc" + }, + { + "directory": ".", + "command": "/usr/bin/c++ -I/usr/lib/llvm-15/include -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-private-field -Wno-deprecated-declarations -std=c++17 -o CMakeFiles/clang-umllib.dir/class_diagram/model/class.cc.o -c ./src/class_diagram/model/class.cc", + "file": "./src/class_diagram/model/class.cc" + } +] \ No newline at end of file