https://github.com/Kitware/CMake
Raw File
Tip revision: d203761520f5dd21a9cc4de5c4ca0d0e4e188e34 authored by Brad King on 18 February 2016, 15:41:26 UTC
CMake 3.5.0-rc3
Tip revision: d203761
check-part4.cmake
include(${CMAKE_CURRENT_LIST_DIR}/check-common.cmake)

string(REPLACE ${path_prefix} "" test_shell_path ${test_shell_path})

if(WIN32)
  if(CMAKE_GENERATOR STREQUAL "MSYS Makefiles")
    check(test_shell_path [[/c/shell/path]])
  elseif(CMAKE_GENERATOR STREQUAL "Unix Makefiles")
    check(test_shell_path [[c:/shell/path]])
  else()
    check(test_shell_path [[c:\shell\path]])
  endif()
else()
  check(test_shell_path [[/shell/path]])
endif()
back to top