Re: [CMake] Stray backslash appearing when CMAKE_CXX_FLAGS_RELEASE used in custom command

2019-11-04 Thread Stephen Morris
On 4 November at 08:43, Eric Doenges wrote: > Welcome to the wonderful world of lists and their interaction with quoting in > CMake ! Since space is used > as a list item separator outside of double quoted strings, CMake is escaping > the space within CXX_FLAGS > to keep it as a single element w

[CMake] Providing multiple different MAJOR API versions with write_basic_package_version_file

2019-11-04 Thread Philip Van Hoof
Hello, After Craig's very interesting presentation at CppCon 2019* I learned a bunch of new things which I of course immediately wanted to try out**. I read about the write_basic_package_version_file which is in CMakePackageConfigHelpers. Craig also mentioned in the presentation that you can have