Procházet zdrojové kódy

cotire 1.1.7

master
Sascha Kratky před 13 roky
rodič
revize
ed34001862
2 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. +5
    -1
      CMake/cotire.cmake
  2. +4
    -0
      HISTORY.md

+ 5
- 1
CMake/cotire.cmake Zobrazit soubor

@@ -44,7 +44,7 @@ if (NOT CMAKE_SCRIPT_MODE_FILE)
endif() endif()


set (COTIRE_CMAKE_MODULE_FILE "${CMAKE_CURRENT_LIST_FILE}") set (COTIRE_CMAKE_MODULE_FILE "${CMAKE_CURRENT_LIST_FILE}")
set (COTIRE_CMAKE_MODULE_VERSION "1.1.6")
set (COTIRE_CMAKE_MODULE_VERSION "1.1.7")


include(CMakeParseArguments) include(CMakeParseArguments)


@@ -810,7 +810,11 @@ function (cotire_parse_includes _language _scanOutput _ignoredIncudeDirs _honore
# prevent CMake macro invocation errors due to backslash characters in Windows paths # prevent CMake macro invocation errors due to backslash characters in Windows paths
string (REPLACE "\\" "/" _scanOutput "${_scanOutput}") string (REPLACE "\\" "/" _scanOutput "${_scanOutput}")
endif() endif()
# canonize slashes
string (REPLACE "//" "/" _scanOutput "${_scanOutput}")
# prevent semicolon from being interpreted as a line separator
string (REPLACE ";" "\\;" _scanOutput "${_scanOutput}") string (REPLACE ";" "\\;" _scanOutput "${_scanOutput}")
# then separate lines
string (REGEX REPLACE "\n" ";" _scanOutput "${_scanOutput}") string (REGEX REPLACE "\n" ";" _scanOutput "${_scanOutput}")
list (LENGTH _scanOutput _len) list (LENGTH _scanOutput _len)
# remove duplicate lines to speed up parsing # remove duplicate lines to speed up parsing


+ 4
- 0
HISTORY.md Zobrazit soubor

@@ -1,3 +1,7 @@
## 1.1.7 (2012-10-26)

* cope with double slash characters in scanned include paths.

## 1.1.6 (2012-09-22) ## 1.1.6 (2012-09-22)


* check result code upon scanning includes. * check result code upon scanning includes.


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