small mods, but trying to make lsp work properly

This commit is contained in:
talksik
2023-08-04 14:32:42 -07:00
parent 39d76ae474
commit d864f1276a
6 changed files with 50 additions and 2 deletions
Executable
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
echo "Building project | making build folder, and going into it..."
rm -rf build &&
mkdir build &&
cd build &&
echo "Running cmake with build type Debug."
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_PREFIX_PATH=$HOME/Qt/5.15.14/gcc_64/ -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. &&
echo "====================="
echo "Running make..."
echo "====================="
make &&
echo "====================="
echo "copy compile-commands.json to root folder..."
echo "====================="
cd .. &&
cp build/compile_commands.json . &&
echo "====================="
echo "running app"
echo "====================="
./build/src/MinimalQml