Skip to content
Merged
Prev Previous commit
Next Next commit
Rename CMakeLists.txt var. SLYCOT_CI to SLYCOT_WINDOWS_CONDA_BUILD
  • Loading branch information
roryyorke committed Jun 15, 2026
commit f4bb9eb5d5195cf31940813985264239f4ecdfdb
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.17.2...3.29)

if(SLYCOT_CI)
if(SLYCOT_WINDOWS_CONDA_BUILD)
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "")
message(STATUS "Set CMAKE_MSVC_DEBUG_INFORMATION_FORMAT to empty string")
endif()
Expand Down
7 changes: 4 additions & 3 deletions conda-recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@echo on

set "SKBUILD_CMAKE_ARGS=-GNinja;-DVERBOSE=ON;-DSLYCOT_CI=ON"

echo SKBUILD_CMAKE_ARGS is - %SKBUILD_CMAKE_ARGS% -
@rem -GNinja selects Ninja build generator
@rem SLYCOT_WINDOWS_CONDA_BUILD clears a debug build setting that
@rem otherwise prevents the build
set "SKBUILD_CMAKE_ARGS=-GNinja;-DSLYCOT_WINDOWS_CONDA_BUILD=ON"

%PYTHON% -m pip install --no-deps --no-build-isolation -vv .
if %ERRORLEVEL% neq 0 exit 1