Use sfml_add_test macro for unit tests and copy dlls to output directory if required
This commit is contained in:
parent
2c3a321afd
commit
53972ed5f2
3 changed files with 47 additions and 13 deletions
|
@ -285,8 +285,12 @@ if(SFML_BUILD_DOC)
|
|||
add_subdirectory(doc)
|
||||
endif()
|
||||
if(SFML_BUILD_TEST_SUITE)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
if (SFML_OS_IOS)
|
||||
message( WARNING "Unit testing not supported on iOS")
|
||||
else()
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# on Linux and BSD-like OS, install pkg-config files by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue