cmake: set build-type be relase

This commit is contained in:
yaozhicheng 2025-01-09 14:17:49 +08:00
parent 0f728eac56
commit c46bd5feeb
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
.DEFAULT_GOAL = rbuild
build:
cmake . -Bbuild
cmake . -Bbuild -DCMAKE_BUILD_TYPE=Release
cd build && make -j`nproc`
install: clean build

View File

@ -4,6 +4,7 @@ build-backend = "scikit_build_core.build"
[tool.scikit-build]
sdist.include = [".git"]
cmake.build-type = "Release"
[project]
name = "xspcomm"