diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-10-30 10:21:12 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-11-03 11:14:40 (GMT) |
commit | b71a9598a408a134bd7d003b6586b345f2b961fe (patch) | |
tree | 48f8208f367d3b9cb9d6f88b3e64a6a55bf3bd44 /Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake | |
parent | f74c406501e5ffb5b6a3c8b76c831ca87e8f0168 (diff) | |
download | CMake-b71a9598a408a134bd7d003b6586b345f2b961fe.zip CMake-b71a9598a408a134bd7d003b6586b345f2b961fe.tar.gz CMake-b71a9598a408a134bd7d003b6586b345f2b961fe.tar.bz2 |
Autogen: Add test for AUTOGEN_ORIGIN_DEPENDS=OFF
Diffstat (limited to 'Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake')
-rw-r--r-- | Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake b/Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake new file mode 100644 index 0000000..0fc6e63 --- /dev/null +++ b/Tests/QtAutogen/AutogenOriginDependsOff/configure_content.cmake @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.10) + +# Read mocs_compilation.cpp file into variable +file(READ "${MCF}" MOCS_COMPILATION) +string(REPLACE "\\" "\\\\" MOCS_COMPILATION "${MOCS_COMPILATION}" ) +string(REPLACE "\"" "\\\"" MOCS_COMPILATION "${MOCS_COMPILATION}" ) +string(REPLACE "\n" "\"\n\"" MOCS_COMPILATION "${MOCS_COMPILATION}" ) + +# Configure file +configure_file ( "${CF_IN}" "${CF_OUT}" @ONLY ) |