message: [CMake] Default CMAKE_BUILD_TYPE to RelWithDebInfo if not specified.
diff: @@ -14,6 +14,12 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
  set(CMAKE_CXX_EXTENSIONS OFF)
  set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
  +if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
  + set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE
  + STRING "Choose the build mode." FORCE)
  +endif()
  +set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release MinSizeRel RelWithDebInfo)
  +
  find_package(Threads)
  option(USE_BOOST_FILESYSTEM "Compiles and links against boost::filesystem instead of std::filesystem [default: OFF]." OFF)
  