Added Catch unit test framework. Added Vector2(i) unit test. Re-enabled CMake's RPATH feature.
This commit is contained in:
parent
9c8cc19f96
commit
3d46e39e6d
5 changed files with 9248 additions and 0 deletions
|
@ -84,6 +84,9 @@ if(SFML_BUILD_WINDOW)
|
|||
sfml_set_option(SFML_OPENGL_ES ${OPENGL_ES} BOOL "TRUE to use an OpenGL ES implementation, FALSE to use a desktop OpenGL implementation")
|
||||
endif()
|
||||
|
||||
# add an option for building the test suite
|
||||
sfml_set_option(SFML_BUILD_TEST TRUE BOOL "TRUE to build the SFML test suite, FALSE to ignore them")
|
||||
|
||||
# macOS specific options
|
||||
if(SFML_OS_MACOSX)
|
||||
# add an option to build frameworks instead of dylibs (release only)
|
||||
|
@ -281,6 +284,9 @@ endif()
|
|||
if(SFML_BUILD_DOC)
|
||||
add_subdirectory(doc)
|
||||
endif()
|
||||
if(SFML_BUILD_TEST)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
# on Linux and BSD-like OS, install pkg-config files by default
|
||||
set(SFML_INSTALL_PKGCONFIG_DEFAULT FALSE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue