starting using compile commands instead
This commit is contained in:
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
CompileFlags:
|
||||
Add: [-I/usr/include/gstreamer-1.0, -I/usr/include/glib-2.0, -I/usr/lib/x86_64-linux-gnu/glib-2.0/include]
|
||||
@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(HelloWorld)
|
||||
|
||||
# compile_commands.json
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
set (source_dir "./src")
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"directory": "/home/talksik/code/cpp_read_file_example/build",
|
||||
"command": "/usr/bin/c++ -I/home/talksik/code/cpp_read_file_example/./src -g -std=gnu++14 -o CMakeFiles/HelloWorld.dir/src/Main.cpp.o -c /home/talksik/code/cpp_read_file_example/src/Main.cpp",
|
||||
"file": "/home/talksik/code/cpp_read_file_example/src/Main.cpp"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user