File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -376,14 +376,6 @@ function Build-CMakeProject
376
376
TryAdd- KeyValue $Defines CMAKE_BUILD_TYPE $BuildType
377
377
TryAdd- KeyValue $Defines CMAKE_MT " mt"
378
378
379
- # Workaround for running into MAX_PATH with CMake-generated output directory paths.
380
- # CMake has logic to shorten output directory paths if they approach MAX_PATH,
381
- # but when appending the filename we can still exceed MAX_PATH.
382
- # The specific issue this solves is rc.exe writing windows_version_resource.rc.res
383
- $MAX_PATH = 260
384
- $LONG_FILENAME_LENGTH = 40
385
- TryAdd- KeyValue $Defines CMAKE_OBJECT_PATH_MAX ($MAX_PATH - $LONG_FILENAME_LENGTH )
386
-
387
379
$CFlags = " /GS- /Gw /Gy /Oi /Oy /Zi /Zc:inline"
388
380
$CXXFlags = " /GS- /Gw /Gy /Oi /Oy /Zi /Zc:inline /Zc:__cplusplus"
389
381
if ($UseMSVCCompilers.Contains (" C" ))
You can’t perform that action at this time.
0 commit comments