Re: [CMake] Question about a simple macro.

2019-06-09 Thread Steven Truppe
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} )     cmake_print_variables(flags_to_add)     message(STATUS "bsMergeFlags ${flags_to_add}")     list(APPEND flags

Re: [CMake] Question about a simple macro.

2019-06-09 Thread Steven Truppe
ARGV1 gives me the first list entry of my first arguments, but i don't know how i can access the hole list. best regards! On 09.06.19 07:20, Steven Truppe wrote: Do i need cmake_parse_arguments ?? On 09.06.19 07:01, Steven Truppe wrote: Hi everyone, i'm a c,c++,asm and a few other

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)

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}

[Cmake-commits] CMake branch, master, updated. v3.15.0-rc1-37-gf367191

2019-06-09 Thread Kitware Robot via Cmake-commits
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 8ab22fe..732f80a 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 15) -set(CMake_VERSION_PATCH 20190609) +set(CMake_VER