Skip to content

Windows support #48

@baranaydogan

Description

@baranaydogan

Hi,

Thanks for the great work with trx-cpp!

Is it possible to check and confirm the Windows support?

trx-cpp didn't compile off-the-shelf and but adding the following line in CMakeLists.txt helped:

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) # < ---- ADDED FOR WINDOWS SUPPORT

if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
    set(CMAKE_BUILD_TYPE Debug)
endif()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions