Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cci supports dll compilation on windows. #293

Open
zwbuptgithub opened this issue Nov 17, 2022 · 0 comments
Open

cci supports dll compilation on windows. #293

zwbuptgithub opened this issue Nov 17, 2022 · 0 comments

Comments

@zwbuptgithub
Copy link

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
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants