[ripple/rippled] Modernize CMake Build (#2579)

mellery451 commented on this pull request.

> + $,$>:
+ -Wno-redeclared-class-member
+ >
+ $>:-fno-strict-aliasing>
+ # tweak gcc optimization for debug
+ $,$>:-O0>
+ # Add debug symbols to release config
+ $:-g>)
+ target_compile_definitions (common
+ INTERFACE
+ _FILE_OFFSET_BITS=64)
+ target_link_libraries (common INTERFACE -rdynamic)
+endif ()
+
+if (static)
+ target_link_libraries (common INTERFACE -static-libstdc++)

I agree about the toolchain (see comment line 188). we track issues internally right now, but this might change in the future

This post was last modified on June 14, 2018, 9:10 pm