Skip to content

cci supports dll compilation on windows.  #293

Description

@zwbuptgithub

CCI should support dll compilation on windows. For now even i set cmake parameter BUILD_SHARED_LIBS on command line, there are several issues.

  1. top CMakeLists.txt line 228, there is a syntax error in set (BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries." FORCE)
  2. if comment out the line 226-228, there are still unresolved symbol error during linking/build time, suggest to add following
    set_target_properties(cci PROPERTIES
    WINDOWS_EXPORT_ALL_SYMBOLS TRUE
    POSITION_INDEPENDENT_CODE ON
    )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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