mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-08 11:57:39 +08:00
Fix broken clang-tidy script
--target option was removed for configuration stage execution of CMake
This commit is contained in:
parent
4b90000b8c
commit
eac284d4d3
@ -19,7 +19,7 @@ cd tidy-build
|
||||
|
||||
# Disable precompiled headers since they aren't generated during linting which causes an error
|
||||
# Disable unity builds since clang-tidy needs the full list of compiled files to check each one
|
||||
cmake --target Cuberite -DCMAKE_EXPORT_COMPILE_COMMANDS=Yes -DPRECOMPILE_HEADERS=No -DUNITY_BUILDS=No ..
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=Yes -DPRECOMPILE_HEADERS=No -DUNITY_BUILDS=No ..
|
||||
|
||||
# Ensure LuaState_Typedefs.inc has been generated
|
||||
(cd ../src/Bindings && lua BindingsProcessor.lua)
|
||||
|
Loading…
Reference in New Issue
Block a user