You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently entire project uses CMTest not as is has to. All around CMake files you could meet sth like:
if(BUILD_TESTS)
add_subdirectory(tests)
endif()
But if we read documentation for CMTest, it turns out BUILD_TESTS should be used to either include tests to all target or not.
At the same time, test dirs should be added as cm_add_test_subdirectory(test_subdir) and enabled with CMAKE_ENABLE_TESTS.
Ran into this issue while trying to install crypto3 with make install. Now it installs tests as well, which is not expected. Not sure if this change will affect install target though
The text was updated successfully, but these errors were encountered:
Currently entire project uses CMTest not as is has to. All around CMake files you could meet sth like:
But if we read documentation for CMTest, it turns out BUILD_TESTS should be used to either include tests to
all
target or not.At the same time, test dirs should be added as
cm_add_test_subdirectory(test_subdir)
and enabled withCMAKE_ENABLE_TESTS
.Ran into this issue while trying to install
crypto3
withmake install
. Now it installs tests as well, which is not expected. Not sure if this change will affectinstall
target thoughThe text was updated successfully, but these errors were encountered: