Windows build fixes and Windows inclusion in core releases (#3581)
This commit is contained in:
16
.github/scripts/windows-ci_configure_wrapper.ps1
vendored
16
.github/scripts/windows-ci_configure_wrapper.ps1
vendored
@@ -1,16 +0,0 @@
|
||||
$compile_flags = @(
|
||||
'-DCMAKE_POLICY_DEFAULT_CMP0141=NEW',
|
||||
'-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded',
|
||||
'-DCMAKE_BUILD_TYPE=RelWithDebInfo'
|
||||
)
|
||||
|
||||
switch ($env:RENDERER)
|
||||
{
|
||||
'opengl' { $compile_flags += '-DMLN_WITH_OPENGL=ON'; break; }
|
||||
'egl' { $compile_flags += '-DMLN_WITH_EGL=ON' ; break; }
|
||||
'vulkan' { $compile_flags += @('-DMLN_WITH_VULKAN=ON', '-DMLN_WITH_OPENGL=OFF'); break; }
|
||||
}
|
||||
|
||||
Write-Host 'Compile flags: ' $compile_flags
|
||||
|
||||
& cmake -B build -G Ninja $($compile_flags)
|
||||
Reference in New Issue
Block a user