Skip to content

Commit

Permalink
cotire 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sakra committed Apr 20, 2012
1 parent 127a097 commit 94dc7ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMake/cotire.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set(__COTIRE_INCLUDED TRUE)
cmake_minimum_required(VERSION 2.8.6)

set (COTIRE_CMAKE_MODULE_FILE "${CMAKE_CURRENT_LIST_FILE}")
set (COTIRE_CMAKE_MODULE_VERSION "1.1.0")
set (COTIRE_CMAKE_MODULE_VERSION "1.1.1")

include(CMakeParseArguments)

Expand Down Expand Up @@ -726,8 +726,8 @@ macro (cotire_parse_line _line _headerFileVar _headerDepthVar)
# cl.exe /showIncludes output looks different depending on the language pack used, e.g.:
# English: "Note: including file: C:\directory\file"
# German: "Hinweis: Einlesen der Datei: C:\directory\file"
# We use a very general regular expression, relying on the presence of the : character
if ("${_line}" MATCHES "( +)([^:]+:[^:]+)$")
# We use a very general regular expression, relying on the presence of the : characters
if ("${_line}" MATCHES ":( +)([^:]+:[^:]+)$")
# Visual Studio compiler output
string (LENGTH "${CMAKE_MATCH_1}" ${_headerDepthVar})
get_filename_component(${_headerFileVar} "${CMAKE_MATCH_2}" ABSOLUTE)
Expand Down Expand Up @@ -1974,7 +1974,7 @@ function (cotire_setup_unity_build_target _languages _configurations _target)
# determine unity target sub type
get_target_property(_targetType ${_target} TYPE)
if ("${_targetType}" STREQUAL "EXECUTABLE")
get_target_property(_isWin32 ${_target} WIN32)
get_target_property(_isWin32 ${_target} WIN32_EXECUTABLE)
get_target_property(_isMacOSX_Bundle ${_target} MACOSX_BUNDLE)
if (_isWin32)
set (_unityTargetSubType WIN32)
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.1.1 (2012-04-20)

* fixed bug with generation of unity targets for `WIN32_EXECUTABLE` targets.
* fixed bug with parsing of localized MSVC `/showIncludes` output.

## 1.1.0 (2012-04-19)

* tested with CMake 2.8.8.
Expand Down

0 comments on commit 94dc7ae

Please sign in to comment.