From 1ae8c35ac68137b4ff24cab29a0140b730c58010 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 15 Jan 2021 15:45:24 +0100 Subject: [PATCH] Added compile_commands.json --- .gitignore | 1 - compile_commands.json | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 compile_commands.json diff --git a/.gitignore b/.gitignore index bd29a3a..5ca24b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .build/ .clangd .cache/ -compile_commands.json diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..02701e6 --- /dev/null +++ b/compile_commands.json @@ -0,0 +1,52 @@ +[ + { + "arguments": [ + "/usr/bin/g++", + "-c", + "-Wall", + "-Wextra", + "-std=c++20", + "-Og", + "-g", + "-DCPU_Z80_STATIC", + "-DCPU_Z80_USE_LOCAL_HEADER", + "-flto", + "-Iinclude", + "-I/usr/include/SDL2", + "-D_REENTRANT", + "-Ilibs/z80/API/emulation/CPU", + "-Ilibs/z/API", + "src/main.cpp", + "-o", + ".build/main.o" + ], + "directory": "/home/tim/Projects/z80/tools/emulator", + "file": "/home/tim/Projects/z80/tools/emulator/src/main.cpp", + "output": "/home/tim/Projects/z80/tools/emulator/.build/main.o" + }, + { + "arguments": [ + "/usr/bin/g++", + "-c", + "-Wall", + "-Wextra", + "-std=c++20", + "-Og", + "-g", + "-DCPU_Z80_STATIC", + "-DCPU_Z80_USE_LOCAL_HEADER", + "-flto", + "-Iinclude", + "-I/usr/include/SDL2", + "-D_REENTRANT", + "-Ilibs/z80/API/emulation/CPU", + "-Ilibs/z/API", + "libs/z80/sources/Z80.c", + "-o", + ".build/Z80.o" + ], + "directory": "/home/tim/Projects/z80/tools/emulator", + "file": "/home/tim/Projects/z80/tools/emulator/libs/z80/sources/Z80.c", + "output": "/home/tim/Projects/z80/tools/emulator/.build/Z80.o" + } +]