Skip to content

Commit 7441fb5

Browse files
robambaluCarreau
authored andcommitted
Add build-debug option to Makefile so we dont forget the proper incantations (#222)
* Add build-debug option to Makefile so we dont forget the proper incantations Signed-off-by: Rob Ambalu <[email protected]>
1 parent 7a25f45 commit 7441fb5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111
#########
1212
# BUILD #
1313
#########
14-
.PHONY: requirements develop build build-conda install
14+
.PHONY: requirements develop build build-debug build-conda install
1515

1616
requirements: ## install python dev and runtime dependencies
1717
python -m pip install toml
@@ -24,6 +24,9 @@ develop: requirements ## install dependencies and build library
2424
build: ## build the library
2525
python setup.py build build_ext --inplace -- -- -j$(NPROC)
2626

27+
build-debug: ## build the library ( DEBUG ) - May need a make clean when switching from regular build to build-debug and vice versa
28+
SKBUILD_CONFIGURE_OPTIONS="" DEBUG=1 python setup.py build build_ext --inplace -- -- -j$(NPROC)
29+
2730
build-conda: ## build the library in Conda
2831
CSP_USE_VCPKG=0 python setup.py build build_ext --inplace -- -- -j$(NPROC)
2932

0 commit comments

Comments
 (0)