Procházet zdrojové kódy

omit COTIRE_*_INIT variables from generated target script

master
Sascha Kratky před 10 roky
rodič
revize
9f34ff37c9
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. +6
    -1
      CMake/cotire.cmake

+ 6
- 1
CMake/cotire.cmake Zobrazit soubor

@@ -2019,7 +2019,12 @@ function (cotire_generate_target_script _language _configurations _target _targe
# copy variable definitions to cotire target script
get_cmake_property(_vars VARIABLES)
string (REGEX MATCHALL "COTIRE_[A-Za-z0-9_]+" _matchVars "${_vars}")
# remove COTIRE_VERBOSE which is passed as a CMake define on command line
# omit COTIRE_*_INIT variables
string (REGEX MATCHALL "COTIRE_[A-Za-z0-9_]+_INIT" _initVars "${_matchVars}")
if (_initVars)
list (REMOVE_ITEM _matchVars ${_initVars})
endif()
# omit COTIRE_VERBOSE which is passed as a CMake define on command line
list (REMOVE_ITEM _matchVars COTIRE_VERBOSE)
set (_contents "")
set (_contentsHasGeneratorExpressions FALSE)


Načítá se…
Zrušit
Uložit