mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It didn't create the appropriate dependencies on the .rst files. This is a more-principled approach that actually invokes CMake from within itself. Note: expect it to fail if you use the Makefile generator until I rename the .rst files Swift SVN r4545
7 lines
206 B
CMake
7 lines
206 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
set(rst_files)
|
|
foreach(i RANGE 5 ${CMAKE_ARGC})
|
|
list(APPEND rst_files ${CMAKE_ARGV${i}})
|
|
endforeach()
|
|
configure_file(${SOURCE_DIR}/LitReTemplate.cmake ${OUTPUT} @ONLY)
|