Re: [CMake] Question about a simple macro.

2019-06-09 Thread Steven Truppe
Problem solved - thanks anyway... On 09.06.19 09:11, Steven Truppe wrote: How on earth can i create a variables out of the string flags_to_add ??? On 09.06.19 08:41, Steven Truppe wrote: OK, i don't realy understand why it does work but i got it working: include(CMakePrintHelpers) macro(b

Re: [CMake] Question about a simple macro.

2019-06-09 Thread Steven Truppe
How on earth can i create a variables out of the string flags_to_add ??? On 09.06.19 08:41, Steven Truppe wrote: OK, i don't realy understand why it does work but i got it working: include(CMakePrintHelpers) macro(bsMergeFlags flags_to_add flags)     set(flags_to_add ${flags_to_add} ${ARGN}