-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
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
Labels
No labels