瀏覽代碼

cotire 1.1.7

master
Sascha Kratky 11 年之前
父節點
當前提交
ed34001862
共有 2 個文件被更改,包括 9 次插入1 次删除
  1. +5
    -1
      CMake/cotire.cmake
  2. +4
    -0
      HISTORY.md

+ 5
- 1
CMake/cotire.cmake 查看文件

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

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)

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


+ 4
- 0
HISTORY.md 查看文件

@@ -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)

* check result code upon scanning includes.


Loading…
取消
儲存