Ver código fonte

cotire 1.1.2

master
Sascha Kratky 14 anos atrás
pai
commit
1f92f153a6
2 arquivos alterados com 14 adições e 8 exclusões
  1. +10
    -8
      CMake/cotire.cmake
  2. +4
    -0
      HISTORY.md

+ 10
- 8
CMake/cotire.cmake Ver arquivo

@@ -37,7 +37,7 @@ set(__COTIRE_INCLUDED TRUE)
cmake_minimum_required(VERSION 2.8.6) cmake_minimum_required(VERSION 2.8.6)


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.1")
set (COTIRE_CMAKE_MODULE_VERSION "1.1.2")


include(CMakeParseArguments) include(CMakeParseArguments)


@@ -93,13 +93,15 @@ endfunction()


macro (cotire_check_is_path_relative_to _path _isRelativeVar) macro (cotire_check_is_path_relative_to _path _isRelativeVar)
set (${_isRelativeVar} FALSE) set (${_isRelativeVar} FALSE)
foreach (_dir ${ARGN})
file (RELATIVE_PATH _relPath "${_dir}" "${_path}")
if (NOT _relPath OR (NOT IS_ABSOLUTE "${_relPath}" AND NOT "${_relPath}" MATCHES "^\\.\\."))
set (${_isRelativeVar} TRUE)
break()
endif()
endforeach()
if (IS_ABSOLUTE "${_path}")
foreach (_dir ${ARGN})
file (RELATIVE_PATH _relPath "${_dir}" "${_path}")
if (NOT _relPath OR (NOT IS_ABSOLUTE "${_relPath}" AND NOT "${_relPath}" MATCHES "^\\.\\."))
set (${_isRelativeVar} TRUE)
break()
endif()
endforeach()
endif()
endmacro() endmacro()


function (cotire_filter_language_source_files _language _sourceFilesVar _excludedSourceFilesVar _cotiredSourceFilesVar) function (cotire_filter_language_source_files _language _sourceFilesVar _excludedSourceFilesVar _cotiredSourceFilesVar)


+ 4
- 0
HISTORY.md Ver arquivo

@@ -1,3 +1,7 @@
## 1.1.2 (2012-05-06)

* make handling of include directories more robust agains invalid paths.

## 1.1.1 (2012-04-20) ## 1.1.1 (2012-04-20)


* fixed bug with generation of unity targets for `WIN32_EXECUTABLE` targets. * fixed bug with generation of unity targets for `WIN32_EXECUTABLE` targets.


Carregando…
Cancelar
Salvar