Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 7f59e71

Browse files
build shared libs in debug mode (#77)
useful for library consumers
1 parent d9dd0a1 commit 7f59e71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ endif
3232
build-debug: clean
3333
if [ ! -d "build" ]; then mkdir build; fi
3434
ifeq ($(OPERATING_SYSTEM),Windows)
35-
cmake -S . -B build -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug
35+
cmake -S . -B build -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON
3636
else
37-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
37+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON
3838
endif
3939
cmake --build build
4040

0 commit comments

Comments
 (0)