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

Incomplete installation process #119

Open
frbitten opened this issue Jan 16, 2025 · 0 comments
Open

Incomplete installation process #119

frbitten opened this issue Jan 16, 2025 · 0 comments

Comments

@frbitten
Copy link

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

No branches or pull requests

1 participant