rewrote the generate scripts for cmake
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "Generating Makefiles..."
|
||||
./vendor/premake/linux/premake5 gmake2
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
echo "Generating compile_commands.json for clangd..."
|
||||
./vendor/premake/linux/premake5 ecc
|
||||
ln -sf build/compile_commands.json compile_commands.json
|
||||
echo "Done!"
|
||||
echo "Run `make help` to see how to build the project."
|
||||
|
||||
echo "To compile run:\n cmake --build build -j":
|
||||
|
||||
Reference in New Issue
Block a user