Skip to content

Incomplete installation process #119

@frbitten

Description

@frbitten

When using EIPScanner in a project via ExternalProject_Add the installation process is incomplete. Only the library for static linking is copied to the installation folder. The library and DLL for dynamic linking remain in the build folder in EIPScanner\src\Debug

    GIT_REPOSITORY https://github.com/nimbuscontrols/EIPScanner.git
    GIT_TAG master #commit of master 
    GIT_SHALLOW TRUE
    CMAKE_ARGS 
        -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>/${CMAKE_BUILD_TYPE}
        -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} 
        -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
        -DENABLE_VENDOR_SRC=OFF 
    BUILD_COMMAND ${CMAKE_COMMAND} --build . --config ${CMAKE_BUILD_TYPE}
    INSTALL_COMMAND ${CMAKE_COMMAND} --build . --config ${CMAKE_BUILD_TYPE} --target install
    UPDATE_COMMAND ""
)```

It would need to be used via dynamic link, but without the .lib for this it is not possible. Because the only one generated is EIPScannerS.lib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions