https://github.com/Kitware/CMake
Revision 5e15f398860712930387b78e36a7ae5ab8a9b775 authored by Stephen Kelly on 29 August 2013, 08:28:52 UTC, committed by Stephen Kelly on 29 August 2013, 08:28:52 UTC
The input dir being tested is normalized, so ensure that the entries
in the vector are normalized too (eg no trailing slash).
1 parent b6f6802
Raw File
Tip revision: 5e15f398860712930387b78e36a7ae5ab8a9b775 authored by Stephen Kelly on 29 August 2013, 08:28:52 UTC
Normalize system directories from the interface target property
Tip revision: 5e15f39
CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project(SimpleExclude C)

set(EXECUTABLE_OUTPUT_PATH "${SimpleExclude_BINARY_DIR}" CACHE INTERNAL "" FORCE)
set(LIBRARY_OUTPUT_PATH "${SimpleExclude_BINARY_DIR}" CACHE INTERNAL "" FORCE)

add_subdirectory(dirC EXCLUDE_FROM_ALL)
add_subdirectory(dirD)

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/run.cmake.in"
  "${CMAKE_CURRENT_BINARY_DIR}/run.cmake" @ONLY)
back to top