Skip to content

Conversation

@traversaro
Copy link
Contributor

The fixes in #64 were not the only one actually required to build and use the library with -DBUILD_SHARED_LIBS:BOOL=ON on Windows, with the fixes on this PR I am actually able to run all the testsuite on Windows while building the library with -DBUILD_SHARED_LIBS:BOOL=ON.

The fixes are:

  • Annotate symbols to export with EIQUADPROG_DLLAPI
  • Export symbols of non-installed test testab shared library with with WINDOWS_EXPORT_ALL_SYMBOLS
  • Remove DESTINATION lib argument passed to install(TARGETS <...>) , to ensure that the default value of DESTINATION are used, that are the correct one also on Windows (i.e. lib for LIBRARY and ARCHIVE and bin for RUNTIME).

Sorry for the delay w.r.t. to #64, I initially overlooked this as I thought symbols were exported here with WINDOWS_EXPORT_ALL_SYMBOLS.

Copy link
Contributor

@nim65s nim65s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks !

@nim65s nim65s merged commit d797285 into stack-of-tasks:devel Nov 4, 2025
10 checks passed
@traversaro traversaro deleted the fixwintests branch November 4, 2025 15:21
@traversaro
Copy link
Contributor Author

Thanks a lot for merging @nim65s ! There is no hurry on my side, but when you have time it would be great to also have a new release with these fixes, thanks!

@nim65s
Copy link
Contributor

nim65s commented Nov 4, 2025

On it :)

@traversaro
Copy link
Contributor Author

On it :)

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants