mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-23 03:59:59 +08:00
16 lines
381 B
CMake
16 lines
381 B
CMake
|
cmake_minimum_required(VERSION 3.16)
|
||
|
|
||
|
if(EXISTS "${PRIVATE_CONTENT_FILE}")
|
||
|
file(READ "${PRIVATE_CONTENT_FILE}" PRIVATE_CONTENT)
|
||
|
endif()
|
||
|
|
||
|
if(NOT EXISTS "${IN_FILE}")
|
||
|
message(FATAL_ERROR "Input file ${IN_FILE} doesn't exists")
|
||
|
endif()
|
||
|
|
||
|
if(OUT_FILE STREQUAL "")
|
||
|
message(FATAL_ERROR "Output file is not specified")
|
||
|
endif()
|
||
|
|
||
|
configure_file("${IN_FILE}" "${OUT_FILE}" @ONLY)
|