Kaynağa Gözat

remove effect of COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES on unity targets

master
Sascha Kratky 10 yıl önce
ebeveyn
işleme
dcf05bb6a8
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. +0
    -4
      CMake/cotire.cmake

+ 0
- 4
CMake/cotire.cmake Dosyayı Görüntüle

@@ -2587,10 +2587,6 @@ function (cotire_compute_unity_max_number_of_includes _target _maxIncludesVar)
endif()
list (LENGTH _sourceFiles _numberOfSources)
math (EXPR _maxIncludes "(${_numberOfSources} + ${_numberOfThreads} - 1) / ${_numberOfThreads}")
# a unity source segment must not contain less than COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES files
if (_maxIncludes LESS ${COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES})
set (_maxIncludes ${COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES})
endif()
elseif (NOT _maxIncludes MATCHES "[0-9]+")
set (_maxIncludes 0)
endif()


Yükleniyor…
İptal
Kaydet