[CMake] String CONCAT issue
Rolf Eike Beer
eike at sf-mail.de
Fri Jun 28 06:31:11 EDT 2019
Am 2019-06-28 08:52, schrieb vinay kumar Kotegowder:
> Hello,
>
> The snippet:
> set(SUITE_DIR /home/../abc)
>
> list(APPEND TEST_LSIT
> test_a001)
Since there is a type here I bet this is not the original code that you
have run.
> foreach(test ${TEST_LIST})
> message(${test})
Please prefix the calls to message() with something so it is obvious
which call is producing which output.
> string(CONCAT TEST_CMAKE "${SUITE_DIR}/" "${test}/test.cmake")
> message(${TEST_CMAKE})
> endforeach()
>
> Output:
> test_a001
>
> /home/.../abc/test_a001
> /test.cmake
Which CMake version is this about?
--
More information about the CMake
mailing list