mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-18 09:35:49 +00:00
FIXES: #2527 * define custom docker image for travis-linux builds based on package build image * add macos builds * add windows builds (currently allowed to fail) * improve build and shell scripts as required for the CI envs * add asio timer latency workaround * omit several manual tests from TravisCI which cause memory exhaustion
18 lines
556 B
CMake
18 lines
556 B
CMake
#[=========================================================[
|
|
This is a CMake script file that is used to write
|
|
the contents of a file to stdout (using the cmake
|
|
echo command). The input file is passed via the
|
|
IN_FILE variable.
|
|
#]=========================================================]
|
|
|
|
if (EXISTS ${IN_FILE})
|
|
file (READ ${IN_FILE} contents)
|
|
## only print files that actually have some text in them
|
|
if (contents MATCHES "[a-z0-9A-Z]+")
|
|
execute_process(
|
|
COMMAND
|
|
${CMAKE_COMMAND} -E echo "${contents}")
|
|
endif ()
|
|
endif ()
|
|
|