DCMAKE_C_FLAGS_RELEASE and -DCMAKE_CXX_FLAGS_RELEASE the build for 8.0.31 and 8.0.32 fails.How to repeat:This is on Ubuntu 22.04 that uses gcc 11.3.0 I start with this cmake command line based on the advice at:https://dev.mysql.com/doc/refman/8.0/en/source-configuration-options....
it for Debug builds where ${CMAKE_CXX_FLAGS_DEBUG} consisted of a single item, '-g'. I've since tried doing the same thing for a Release build, and this failed because ${CMAKE_CXX_FLAGS_RELEASE} has two items, '-O3 -DNDEBUG'. When the custom command is executed, this somehow be...
Re: [CMake] Stray backslash appearing when CMAKE_CXX_FLAGS_RELEASE used in custom command Stephen Morris Mon, 04 Nov 2019 15:08:32 -0800 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...