misc stuff
This commit is contained in:
1
compile_commands.json
Symbolic link
1
compile_commands.json
Symbolic link
@@ -0,0 +1 @@
|
||||
build/compile_commands.json
|
||||
11
generate.bat
Normal file
11
generate.bat
Normal file
@@ -0,0 +1,11 @@
|
||||
echo Generating vs2026 project files...
|
||||
|
||||
where cmake >target 2>nul
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo HIBA: A CMake nincs telepitve, vagy nincs hozzaadva a PATH-hoz.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
cmake -G "Visual Studio 18 2026" -A x64
|
||||
echo Done
|
||||
PAUSE
|
||||
8
generate.sh
Executable file
8
generate.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "Generating Makefiles..."
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
echo "Generating compile_commands.json for clangd..."
|
||||
ln -sf build/compile_commands.json compile_commands.json
|
||||
echo "Done!"
|
||||
|
||||
echo "To compile run:\n cmake --build build -j":
|
||||
Reference in New Issue
Block a user