
This makes the scripts easier to work on, since the separate files don't require the extra level of escaping that the inlined code did. This also means the scripts can be rendered with appropriate syntax highlighting in IDEs, etc.
20 lines
466 B
CMake
20 lines
466 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
file(MAKE_DIRECTORY
|
|
"@source_dir@"
|
|
"@binary_dir@"
|
|
"@install_dir@"
|
|
"@tmp_dir@"
|
|
"@stamp_dir@"
|
|
"@download_dir@"
|
|
"@log_dir@"
|
|
)
|
|
|
|
set(configSubDirs @CMAKE_CONFIGURATION_TYPES@)
|
|
foreach(subDir IN LISTS configSubDirs)
|
|
file(MAKE_DIRECTORY "@stamp_dir@/${subDir}")
|
|
endforeach()
|