8000 Build improvements · Issue #1273 · XRPLF/clio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build improvements #1273
Open
Open
@kuznetsss

Description

@kuznetsss

We could make some improvements in build process:

  • Remove -Wno- and fix code (maybe will have to leave some of them)

    -Wno-narrowing
    -Wno-deprecated-declarations
    -Wno-dangling-else
    -Wno-unused-but-set-variable
    -Wnon-virtual-dtor

  • Remove -gdwarf-4 and check that build is still working (should be fine)

    target_compile_options(clio_options INTERFACE -gdwarf-4)

  • Set compilation flags for Release, Debug and RelWithDebInfo build types by adding something like

set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g1 -O3 -DNDEBUG)")
set(CMAKE_CXX_FLAGS_RELEASE "-g0 -O3 -DNDEBUG")

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuild or dependencies changesenhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0