Closed Tobias-Fischer closed 3 years ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin, please rerender
So it seems like this builds fine. It is based on #7. It creates and installs a cunit.lib, but not a cunit.dll. I'm not a Windows person and have no idea whether there should be a dll, too. I commented out some stuff in the CMakeLists.txt as it was throwing an error.
Could you have a look and let me know what you think @traversaro @wolfv?
I think we just have to turn this option on BUILD_SHARED_LIBS
. I can push that change
thanks for picking this up, let's get it over the finish line this time :)
dll is built, but installed into lib
, instead of bin
. It should be installed into bin
. I am checking.
Do we have to comment the stuff in the CMakeLists back in?
ah, no I think pdb files are for debugging. I just changed RUNTIME DESTINATION
from lib
to bin
. Let's see if that does the trick.
The last problem is that the check for existence checks for libcunit.lib
, but the default CMake convention for names of add_library(cunit)
(or also find_library(cunit)
) is:
libcunit.<ext>
cunit.<ext>
ah, no I think pdb files are for debugging. I just changed
RUNTIME DESTINATION
fromlib
tobin
. Let's see if that does the trick.
FYI the DESTINATION
argument is not required anymore since CMake 3.14 (see https://cmake.org/cmake/help/v3.14/command/install.html#targets). However, the default value uses CMAKE_INSTALL_LIBDIR
(if GNUInstallDirs
was previously included) that default to lib64
on non-Debian distros, so for conda-forge use is important to set it to lib
explicitly.
Hi! This is the friendly conda-forge automerge bot!
I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day!
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)