Skip to content

Commit dbe5a72

Browse files
committed
handle libs/miniz warning and ignore changes when setting it up
1 parent a630212 commit dbe5a72

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ if(NOT EXISTS "${CMAKE_SOURCE_DIR}/libs/miniz/CMakeLists.txt")
2929
)
3030
endif()
3131

32+
# Update submodules if we forget
33+
# git submodule update --init --recursive
34+
# git submodule update --remote --merge
35+
# git submodule sync # (optional) if URL change
36+
3237
add_subdirectory(libs/miniz)
3338

3439
set(SOURCES_TESTS

libs/miniz

Submodule miniz updated from 16413c2 to 4a1a118

setup_nvim_lsp.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ cd build || exit 1
3131
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug "$@" ..
3232
cd ..
3333
ln -s build/compile_commands.json compile_commands.json
34+
35+
git config submodule.libs/miniz.ignore all

0 commit comments

Comments
 (0)